generated from sVoxelDev/spigot-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Permissions
George V edited this page Aug 5, 2021
·
1 revision
- Vote: voterewards.vote
- FakeVote: voterewards.fakevote
- Hologram: voterewards.hologram
- Rewards: voterewards.rewards
- VoteParty:
-
- VoteParty basic command: voterewards.voteparty
-
- VoteParty give crate: voterewards.voteparty.give
-
- VoteParty start: voterewards.voteparty.start
-
- VoteParty claim crate: voterewards.voteparty.claim
- VoteRewards: voterewards.basic
- Votes: voterewards.votes
- VoteTop: voterewards.votetop
- Updater: voterewards.updater
in your config you have this section:
Rewards:
# Permission based rewards (eg: voterewards.permission.starter , voterewards.permission.vip )
Permission:
starter:
commands:
- 'give %player% minecraft:nether_star 50'
- 'eco give %player% 5000'
vip:
commands:
- 'eco give %player% 10000'
- 'give %player% minecraft:nether_star 100'
If you want to give a player rewards from the starter section then you will give him the permission: voterewards.permission.starter
If a group inherits permissions from another group and you want, for example, the Member group to have the starter and the VIP to have the vip,
you must deny the starter permission to the VIP depending on the group plugin you have.
For example if you want to deny the starter permission in GroupManager you will add it like this on VIP group: -voterewards.permission.starter