Hello, I've got a few issues with WorldGuard and Permissions. I want all my players to be able to create their own region and set flags for a specific region. I've already managed to give them permission to use selection tool (//wand, hpos1,hpos2, pos1 and pos2), and I've managed to let them create their own region. But I'm having serious issues with letting them flag their region. Here's the deal, it's an SMP-server, so I can't allow them to use every flag available to their region, e.g healing over time, teleport, and so on. I've chosen a few flags they can use, here they are: pvp - Allow or block PvP in a selected region mob-damage - Allow or block mob damage on players in a selected region creeper-explosion - Allow or block creeper damage to terrain and players. tnt - Allow or block TNT lighter - Allow or block flint and steel. fire-spread - Allow or block the spread of fire lava-fire - Allow or block whether lava can start fires chest-access - Allow or block chest access. water-flow - Allow or block flow of water. use - Allow or block the ability to use doors, buttons, pressure plates, or levers greeting - Set a message to be displayed when the user enters the region farewell - Set a message to be displayed when the user leaves the region notify-greet - Turn on or off region greeting messages. notify-farewell - Turn on or of region farewell messages. deny-spawn - Set mobs that can't spawn within the region lavaflow - Allow or block flow of lava. Which nodes should I use in my Permission file in order to restrict them to only a specific amount of flags for their region? I think you can find every permission node on this site, but I haven't managed to get it working yet - or I'm to stupid to understand which to include and which ones I am not suppose to include. Here's my Permission file Code: groups: Players: default: true info: prefix: '' suffix: '' build: true inheritance: permissions: - 'iConomy.access' - 'iConomy.rank' - 'iConomy.list' - 'iConomy.payment' - 'iConomyChestShop.shop.create' - 'iConomyChestShop.shop.buy' - 'iConomyChestShop.shop.sell' - 'iConomyChestShop.command.iteminfo' - 'lwc.protect' - 'commandbook.kit.starter' - 'commandbook.who' - 'commandbook.msg' - 'commandbook.say.me' - 'commandbook.say' - 'commandbook.whereami' - 'commandbook.motd' - 'commandbook.rules' - 'commandbook.kit.list' - 'commandbook.kit.kits.Starter' - 'worldguard.region.claim' - 'worldedit.selection.*' - 'worldguard.region.list.*' - 'worldguard.region.info.*' - 'worldedit.wand' - 'worldedit.wand.toggle' If you know how to do this, could you just type in which nodes I am suppose to use? Thank you! Bump :/ Not even one reply? Last bump. I thought Permission plugin + WorldGuard is something almost everyone have. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
-_- it's only been less than half a day and you've already bumped it twice. Wait at least a day before you bump it. And no, there are no permission nodes avaliable to specifically add what a player can do from worldguard. You'll have to use separate plugins for this.
Code: /region flag [specific flags] worldguard.region.flag.flags.* worldguard.region.flag.flags.FLAG_NAME These flags allow a player to use specific flags (e.g. worldguard.region.flag.flags.pvp would allow a player to set pvp flag on a region they have access to).
Oh. How come I never saw that :-/ http://wiki.sk89q.com/wiki/WorldGuard/Regions#Setting_a_region.27s_flags
Sorry, I'm not familiar with forum rules. I should probably read them ... Yes, I've noticed these. If I use Code: worldguard.region.flag.flags.* the users can use any flag they want. But I want to restrict them to only a few flags (mentioned above). If I use Code: worldguard.region.flag.flags.FLAG_NAME (e.g worldguard.region.flag.flags.fire-spread) then the users will get a "No permission" notice in their chat if they try to flag their region with fire-spread. Am I doing something wrong? I really appreciate the response!
most flags do not work yet or need additional config, see the link below. https://spreadsheets.google.com/ccc?hl=en&key=tmzLJerg2AJGcut1xRKLKjg#gid=0
I see, thank you Godspeed - but the issue is still at hand. If I try many of the listed flags that is reported to work, they still give me No Permission notice. How do I give my users permission on only a few flags? Because Code: worldguard.region.flag.flags.FLAG_NAME (e.g worldguard.region.flag.flags.fire-spread) does not work (gives no permission). Bump. Really need help on this one :/ EDIT by Moderator: merged posts, please use the edit button instead of double posting.
This one took a little while to figure out and some code crawling but here is a sample set of the permissions you will need to set: - 'worldguard.region.info.own.*' - 'worldguard.region.flag.own.*' - 'worldguard.region.flag.flags.pvp.*' The .* at the end of each of the permissions was the hardest part to figure out.
I will jump right to it and test it! Edit: Holy mother of god, you actually made it work! I've actually tried all those commands EXCEPT I did not do a '*' sign behind the flag.flags.pvp node. Horry shiit, THANK you SO much!