Give Permissions when entering a WorldGuard region

Discussion in 'Archived: Plugin Requests' started by EvilDevil59NL, Oct 24, 2013.

  1. Offline

    EvilDevil59NL

    Plugin category: WorldGuard Additions

    Suggested name: RegionPerms

    What I want: Dear Forum members, i would like to post this request because i was thinking of implementing a similar system like skyrim has, A system where you can only Fast travel (aka warp) to a certain city only if you visited it once before. Ofcourse, you could just tell admins to check each time, but i would rather have a automated system.

    Ideas for commands: Some sort of admin command involved to add permissions to a certain region?

    Ideas for permissions: regionperms.admin, regionperms.(If you're going really advanced, perhaps the name of the region, so that you could allow only certain groups to get the permission? Yet again, Worldguard can also block groups from entering a region, so this is kinda iffy)

    When I'd like it by: Just whenever some developer has some free time left ;) Doesn't need to be quick or anything, just needs to work

    Thanks in advance for reading!
     
  2. Online

    timtower Administrator Administrator Moderator

    EvilDevil59NL So: They get a permission node when entering the region? Will that node stay or be removed when they leave again?
     
  3. Offline

    EvilDevil59NL

    That could be another great implementation, yes! But for my particular situation, i want them to be permanent, and not temporary.
     
  4. Offline

    BillyGalbreath

    I actually love this idea. Its so simple, yet so useful. I'll have it ready in a few hours. ^_^ Instead of making commands I have a better idea. I can inject a new flag into WorldGauld called "give-warp-access" that will give the perm node when first entering the region.
     
  5. Online

    timtower Administrator Administrator Moderator

    In my opinion is "add-permission" better, makes more sense if you want to use this for other things than warping
     
    BillyGalbreath likes this.
  6. Offline

    EvilDevil59NL


    Holy crap, thats awesome! Thanks for taking the time!
     
  7. Offline

    BillyGalbreath

    Hmm, yeah. Modular would definitely be better. How's this sound:

    /region flag (region-name) give-perm-node (perm-node)

    Like for essentials warps it would be

    /region flag cityspawn give-perm-node essentials.warps.cityspawn

    CitySpawn would be the name of the city, region name cityspawn, and warp name cityspawn.

    Done.

    Bukkit project waiting approval: http://dev.bukkit.org/bukkit-plugins/regionperms/

    Jenkins to download it without the wait: http://jenkins.pl3x.net/job/RegionPerms/

    Enjoy! ^_^

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
    timtower likes this.
  8. Offline

    EvilDevil59NL

    Many, many thanks BillyGalbreath, i cant believe it that this plugin is developed on the same day that i've posted the request for it. I can assure you that i wont forget this ;)
     
  9. Offline

    Nickbbeezy

    Just a heads up VariableTriggers can do this and a lot more: http://dev.bukkit.org/bukkit-plugins/variabletriggers/

    You can make regions that add perms, regions that take perms, regions that play sounds when a player enters them, whatever you can think of you can create pretty much (the plugin has it's limitations but there aren't that many)
     
  10. Offline

    EvilDevil59NL

    Thanks for notifying me about that Nickbbeezy. Even though this might be a solution, i still prefer BillyGalbreath method by FAR. I just like dropping plugins in my plugin folder, setting up config and permissions, and it just needs to work. I really dont like fiddling with plugins myself (thats why i created this topic first ;) ) unless i really need to
     
    Nickbbeezy likes this.
  11. Offline

    iiHeroo

  12. Offline

    BillyGalbreath

    It is permanent until an admin manually removes the permission node it adds to the player. I can add another flag that works the same way, but in reverse to remove a perm node on exiting the region, if you'd like.
     

Share This Page