WorldeditRegions: WorldEdit addon.
WorldEditRegions - Limit WorldEdit to regions.
Supports: [WorldGuard, Towny, Factions, GriefPrevention, Residence, PreciousStones, Regios]
Source code: GitHub
OVERVIEW
With this plugin installed, you are able to restrict or limit the use of WorldEdit to regions a user has permission for (e.g. WorldGuard region).
Works with cuboid and polygonal selections |
Almost every worldedit command can be restricted |
Supports block pasting, brushes, and block copying |
Selections extending outside the region will be cut off |
Adds optional user controlled WorldGuard region management |
If you would like this plugin to hook into your plugin or a regioning tool, PM me.
Coming soon:
- Factions multi chunk masks
- Factions wilderness support
- WGCustomFlags "worldedit-region" flag (optional)
- improved global mask support
REQUIRES
Worldedit |
---|
1 or more from the list below |
Restrict VoxelSniper: VoxelSniperRegions
SUPPORTS
Worldguard |
---|
Towny |
Grief Prevention |
Precious Stones |
Factions |
Residence |
Regios |
LIMITATIONS
- This plugin does not support overlapping regions
- Only cuboid regions will work.
PERMISSIONS
Permission | Description |
---|---|
wrg.notify | Will tell you if you have no WorldEdit Region |
wrg.notify.greeting | Will tell you if you enter a WorldEdit Region |
wrg.notify.farewell | Will tell you if you leave a WorldEdit Region |
wrg.factions | Allows worldedit in land their faction owns |
wrg.worldguard | Allows worldedit in worldguard regions they own |
wrg.worldguard.member | Allows worldedit in worldguard regions they are a member of |
wrg.preciousstones | Allows worldedit in preciousstones land they own |
wrg.preciousstones.member | Allows worldedit in preciousstones land they are a member of |
wrg.residence | Allows worldedit in residenceland they own |
wrg.residence.member | Allows worldedit in residenceland they are a member of |
wrg.towny | Allows worldedit in towny land they own |
wrg.towny.member | Allows worldedit in towny land they are a member of |
wrg.regios | Allows worldedit in regios land they own |
wrg.regios.member | Allows worldedit in regios land they are a member of |
wrg.griefprevention | Allows worldedit in griefprevention land they own |
wrg.griefprevention.member | Allows worldedit in griefprevention land they are a member of |
wrg.copy.bypass | Allows you to copy anything outside your region |
wrg.bypass | Allows worldedit anywhere |
EXTERNAL PERMISSIONS
In order to WorldEdit, you still need the WorldEdit permissions.
Here are some permissions from WorldEdit and WorldGuard
WORLDEDIT
- worldedit.wand
- worldedit.history.undo
- worldedit.history.redo
- worldedit.selection.pos
- worldedit.selection.hpos
- worldedit.region.set
- worldedit.region.replace
- worldedit.region.walls
- Click here for full list
WORLDGUARD
- worldguard.region.define - to create a region
- Click here for a full list
UNSAFE PERMISSIONS
The following WE permissions are not not safely restricted by this plugin
- worldedit.reload
- worldedit.scripting.execute
- worldedit.snapshots.restore
- worldedit.delchunks
- worldedit.clipboard.save
- worldedit.schematic.save
- worldedit.global-mask
COMMANDS
The following commands are optional, if you are not interested in them, simply ignore this part of the plugin.
They basically allow for self serve region creation, so players can protect their own land with WorldGuard, providing it does not overlap with any other region. You can also set a limit on how many regions a player can create.
Command | Description | Perm |
---|---|---|
/wrg create <player> | Creates a region for a player | worldguard.region.define |
/wrg create | Claim some unclaimed land | worldguard.region.define.own |
/wrg trust <player> | Add a player to your region | worldguard.region.addmember.own.* |
/wrg share <player> | Add a player as an owner | worldguard.region.addowner.own.* |
/wrg untrust <player> | remove a player from your region | worldguard.region.removemember.own.* |
/wrg <flag> <value> | Add a flag to your region | worldguard.region.flag.regions.own.<flag> |
/wrg remove | Delete your region | worldguard.region.remove.own.* |
CONFIGURATION
Have WorldEdit run on a separate thread
- AsyncWorldedit
- DO NOT USE SAFEEDIT (it breaks various plugins including this)
Help letting players claim land for themselves
- Use the command /wrg claim - PERM: worldguard.region.define.own
- Set in the config the max claim area (1024 = 32x32)
Help setting block edit limit
- Use the worldedit config "limits.max-blocks-changed"
Help using players inventory
- Use the worldedit config "use-inventory.enabled"
Help with configuring messages
- The next version will have strings in the english.yml file
Help with adding a cooldown to commands
- Maybe try out boosCooldowns
Help setting up multiple regions per player.
- In this plugin's config change "max-region-count-per-player"
Help adding EVERYONE to a region
- simply add the user "*" to the region
Help adding a cost for certain commands
- If you have essentials, you can add a command cost in the config.
USEFUL PLUGINS |
---|
- Want to reduce lag caused by WorldEdit: AsyncWorldedit
- Want custom flags, maybe try out WorldGuard Custom Flags
- Want command cooldowns: boosCooldowns
- Want to log and rollback worldedit: CoreProtect
Want to support the project? |
---|
WorldEdit 5
If you still use WorldEdit 5, please use the file attached here.
Could you please add a permission that it can ovveride the perms above or like the player can build anywhere without a claim or wg regions?
@Postremus1
What is wrong with copying stuff from outside a region?
Players can select outside their region and copy, then paste into their region. Can you please fix this, so that players can't select outside thier region?
@rasnyderiii
Hopefully fixed: http://dev.bukkit.org/bukkit-plugins/wrg/files/20-v0-2-6/
latest update broke towny plots being able to use WE on. "you have no current wordedit region" this worked fine last patch just had that annoying message everyone could see.
@neoteknic
I'll take a look. edit: fixed: http:dev.bukkit.org/bukkit-plugins/wrg/files/19-v0-2-5/
My players have a message in ALL worldguard region, it spam the screen on every chunk : "WorldEdit Region set to CHUNK...."
Can you fix this bug ?
Changelog for v0.2.3:
Removed login message
Worldedit Regions are now removed if the region itself is removed
Added greeting message (permission wrg.greeting)
Added farewell message (permission wrg.farewell)
New permission will notify you when you first enter a region.
- wrg.notify
Coming in version 0.3.0
- All commands will be removed
(Dont worry, the functionality will just be added to existing worldguard/worldedit commands)
- Language file will contain commenting
- Default flags for worldguard regions (such as entry message)
- No longer receive additional notifications if the region has a greeting/farewell flag.
First, I want to thank you for this plugin. It's a very necessary anti-griefing plugin, but it needs work. It does its basic job; however, it's new, filled with confusing and likely unneeded features, and buggy. It should be considered a Beta, not a Release-level plugin. I'm still using it, of course, as it's the only way to prevent WorldEdit-wielding members from griefing using WorldEdit.
Please update this plugin. It's a much-needed one and I thank you for making it, but it still needs work.
@billynye97
Install worldedit and a regioning plugin such as worldguard.
I install the plugin but it doesn't even show up on the server. I have essentials installed also so should I uninstall that or no?
@Marium0505
The "/wrg create" allows you to let normal players to create regions for themselves safely. It makes sure there are no overlapping regions, restricts the max size, and makes sure they can only have a certain number of worldedit regions.
You don't have to use it, I just thought it might be a handy addition.
I just have to ask, why is all those region create commands needed if you useWorld Guard for regions?
@Empire92
Version 0.2.1
- Now supports residence
Version 0.2.2
- Warnings are now given for more things rather than silent failure
- Tools are now safe to use
- /regen is now safe
- /up is now safe
Version 0.2.0+ should now work with:
- Towny
- Factions
- Grief Prevention
- Precious Stones
Not sure what extra commands I could add for these plugins...
- Towny support [25%]
We could help with this and donate as well for a custom version. PM me here with any better ways to contact you.
@DeVineMonster
Unless you know how to code...
I will however try and add that when I have some free time this weekend.
EDIT: I have re-coded some of the plugin so that it will be easier to interact with other plugins like Towny.
Wonder if i could somehow make this work with Towny plots....
@DraevynB
Version 0.1.0 should be out soon, with that you can let your players claim their own land from the wilderness using /wrg create
See above for more info.
Yeah that would work fine. Thanks!