Jump to content

PvE -- Region build flag perms for region owners


mattman00000

Recommended Posts

A while back, I discussed the idea of letting region owners have the ability to change the build flag in their region -- which would allow you to open up a region to everyone, or close it from even yourself, rather simply. All of the admins I talked to were ok with it, and so I'm posting here to make it happen. Obviously, and questions or concerns are welcome.

 

Technical implementation suggestions follow:

 

add the perms worldguard.region.flag.regions.own.* and worldguard.region.flag.flags.build.* to group default, and educate playerbase about /region flag command

 

or

 

commandhelper alias, eg /rgbuild $region [$state=none] = if(array_contains(sk_region_info($region, pworld())[1],player()), if(array_contains_ic(array('none','allow','deny'),$state), sk_region_flag(pworld(), $region, build, if(equals($state,'none'),null,$state) ) msg(<some success message here>),msg(<message stating that state must be valid>) ), msg(<message informing user that they must be a owner to perform this>))

  • Upvote 1
Link to comment
Share on other sites

This would make it so region owners (mayors) could open up their region for anyone to build it. Ideally, this would be good for farms or spleef arenas. That way, people could only play spleef and break the field with permission, but wouldn't have to add everyone to the region, just set the flag to build allow. Also, digging for a project could be opened up to anyone willing to help, then shut it down once help is no longer needed.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...