Permissions config example
permissions: time: node: - essentials.time - essentials.time.set command: /time price: 100 uses: 1 weather: node: essentials.weather command: /weather price: 100 uses: 1 dtools: node: essentials.kit.dtools command: /kit dtools price: 200 uses: 1 diamondzone: node: group.diamondusers price: 10 duration: 1 payto: Cyprias heal: node: essentials.heal command: /heal price: 20 uses: 1 world: - world god: node: essentials.god command: /god price: 1000 duration: 1440 freegod: node: essentials.god duration: '1440' requirebuypermission: true
In this example there are 6 permissions available.
Options
node
Here you list the plugin permissions that uses will be receiving.
command
Here is the command we watch for if the permission has a uses limit. This is only useful if you set the uses option.
price
How much it costs to receive the permission(s).
duration
How long in minutes they have access to the permission. 0 (default) is unlimited. This is real world time, not in game time.
uses
How many uses the user can use the permission, this is only valid when there's a command set.
payto
User you pay when someone buys a permission. They receive 100% of the price amount.
world
Which worlds this permission is valid for. Default all worlds.
requirebuypermission
Force a permission check to see if the user has purchasepermissions.buy.permissionName before allowing them to buy the permission. false by default. This works even if the global useBuyPermission option is disabled.
Comments