Worldguard region permission
WorldGuard allows you to add groups to regions. WG determines who's in a group buy checking if they have a group.xyz permission. With PP you can sell access to that permission thereby selling access to a region.
How to setup PP with WorldGuard regions.
Step 1
- Create your WorldGuard region.
- type in game /region addmember YourRegionName g:SomeRandomGroupName
Step 2
In PP's config.yml file, add a new permission selection.
SomeNewName: node: group.SomeRandomGroupName price: 100 duration: 60
That example will grant access to the group.SomeRandomGroupName node for 60 minutes.
Step 3
Have your users type /pp buy SomeNewName . They'll then have access to your region for 60 minutes.
Comments