Users will gain a certain permission node when entering a WorldGuard region for the first time. This is designed to recreate a "Skyrim type" fast travel system into Minecraft by giving users a warp's perm node only when they arrive there for the first time. But, this can be used for anything, really. Your imagination is the limit :p
This is dependent on WorldGuard, and any permissions plugin.
How will this work?
First, you will need a region with a name. Let's call it CitySpawn, for example. So with WorldGuard wand you would select your region and make the region like normal.
/region define CitySpawn
Now that the region is complete, its time to add the flag to the region.
/region flag CitySpawn give-perm-node essentials.warps.cityspawn
Now any user that enters this region will get the perm node to be able to use the warp command to get there anytime they want.
It's that simple.
Enjoy! ^_^
Variables now work in the player notification. More variables also added! Here's all the variables available:
Added a new WorldGuard flag "remove-perm-node" that will remove a permission node when a player exits the region! Just set it up and use it the same way as the original "give-perm-node" flag.
none
none
Version 1.2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # Enable debug info in console debug-mode: false # Enable colors in console output color-logs: true # Command to set a perm node to a user #(PermmissionsBukkit v2.x Example) give-perm-command: perms player setperm {user} {node} true # Command to remove a perm node from a user #(PermmissionsBukkit v2.x Example) remove-perm-command: perms player unsetperm {user} {node} # Should we notify the player? notify-player: true # What should we tell the player when a permission was set? notify-give-message: '&dYour permissions have been updated.' # What should we tell the player when a permission was removed? notify-remove-message: '&dYour permissions have been updated.' |
Have a suggestion? Leave a comment!
This plugin uses metrics to collect stats! It only collect basic things such as version type, and players online. If you want to see everything, click on the graph. Go into /plugins/PluginMetrics/config.yml to disable stat collecting if you wish.