Hi,
I want to add voucher to my GUI shop that will add +1 home to max homes for player who bought it.
I already have GUI shop ready, and I have voucher that will execute command on right clicking, now I need a command. I found post on SpigotMC that says:
"You can create a simple skript with a command
/boughthome
Get player sethome permission -> split at "." -> get number part -> increment -> set permission -> remove old permission"
But as I just learnt about Skript, I have no knowledge of how to do that. I did a research and I still have no clue. I really don't want to ask for doing it for me, but I feel like Skript has such a high skill floor of doing anything that isn't: say "Hello World!", that I have to get help to get anything done.
Server is running on 1.20.2
My sethome plugin is UltimateHomes with permission for max homes: ultimatehomes.sethome.max.3
I use LuckPerms as permissions plugin.
I really need someone to assemble a script with all the crappy info I provided. If it's possible, there should be limit to max 10 sethomes. I'm really sorry for asking. But THANK YOU to anyone who is willing to help.
If you need any more info, just tell me. Again sorry for asking. It's my first time creating post on this forum.
I want to add voucher to my GUI shop that will add +1 home to max homes for player who bought it.
I already have GUI shop ready, and I have voucher that will execute command on right clicking, now I need a command. I found post on SpigotMC that says:
"You can create a simple skript with a command
/boughthome
Get player sethome permission -> split at "." -> get number part -> increment -> set permission -> remove old permission"
But as I just learnt about Skript, I have no knowledge of how to do that. I did a research and I still have no clue. I really don't want to ask for doing it for me, but I feel like Skript has such a high skill floor of doing anything that isn't: say "Hello World!", that I have to get help to get anything done.
Server is running on 1.20.2
My sethome plugin is UltimateHomes with permission for max homes: ultimatehomes.sethome.max.3
I use LuckPerms as permissions plugin.
I really need someone to assemble a script with all the crappy info I provided. If it's possible, there should be limit to max 10 sethomes. I'm really sorry for asking. But THANK YOU to anyone who is willing to help.
If you need any more info, just tell me. Again sorry for asking. It's my first time creating post on this forum.