RegionPerms
Description
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! ^_^
New in v1.1!
Variables now work in the player notification. More variables also added! Here's all the variables available:
- {user}
- The username of the player.
- {dispname}
- The custom display name of the player. (defaults to regular name if none exists)
- {node}
- The permission node being set.
- {region}
- The region that triggered the action.
- {world}
- The world in which this happened.
New in v1.2!
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.
Commands
none
Permissions
none
Default config.yml
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.' |
Todo
Add new flag to remove perm node on exit region(Added in v1.2)
Have a suggestion? Leave a comment!
Metrics
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.


-
View User Profile
-
Send Message
Posted Oct 25, 2013@MohammadCreeper
@FontyCraft
@geekyservers
@EvilDevil59NL
I'm glad you all like it ^_^
Donate button is at top of page. ;)
-
View User Profile
-
Send Message
Posted Oct 25, 2013Once, again, thank you very much for making this plugin :) Any way i could donate something?
-
View User Profile
-
Send Message
Posted Oct 25, 2013Wow, this is cool! It'll open up a whole range of new possibilities. Awesome work! I may give it a try.
-
View User Profile
-
Send Message
Posted Oct 24, 2013great plugin!
-
View User Profile
-
Send Message
Posted Oct 24, 2013This plugin looks cool. I'm gonna try it tomorrow.