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.
1.20 version?
http://pastebin.com/mj9xbWMD The owner of this region can not use the WE commands.
Dev, this plugin is very important for my server. I wait onli WRG that update to 1.9
Do not use the command to use WorldEdit with WERegions. Update for 1.9, please.
@TheRealB What doesn't work? Any errors in console?
Any chance to get an 1.9 Update in the next days?
How do I prevent set bedrock?
ok, so ive not been able to figure this out... it says its compatible with grief prevention ... but i get internal errors... am i doing something wrong? ive done everything the configuration says and yet it still says it cant find world guard... but if we can choose which protection plugin from the list how do i get grief prevention to work?
Hello ! Can you make your plugin compatible with PlotSquared please ? :) Thank in advance ! Best regards
Wait i put the permission wrg.worldguard and when somone tries to use world edit in there region it says it wont let them because its not a world edit region
With Towny, does this limit WorldEdit to a Town member's plot? Or does it give them the ability to World Edit anywhere in the town they're a member of?
wrg.bypass does not work on latest version running Spigot 1.8.3. Everything else works fine. The only workaround is to create a WorldGuard region the entire size of the world then allow all flags to players to build, open chests, etc. and have wrg.griefprevention for them and wrg.worldguard.member for the admins. You'll have to add them as a member to the worldguard region.
Seems like WorldEditRegions likes to spam the console when I attempt to use it with GriefPrevention (plugin appears to work otherwise): http://pastebin.com/QMrzHAKz (this error is repeated multiple times as players move...)
Using WorldEdit 6.0.2 (bukkit-official 3370), WorldEditRegions 1.0.4, GriefPrevention 11.3, AsyncWorldEdit 2.1.4
Now you can do everything! Exept of copying the buildings outside your territory, even when you have permission OP and wrg.bypass and wrg.copy.bypass
@Empire92
Yes, one of the more recent ones. The version is : 6.0.2-SNAPSHOT;3370-58aac973
@wesley272 I can't replicate the issue. Would you be using a development build of WorldEdit?
I have the latest version, and people with the bypass permission still can't world edit outside of their own region. It's extremely frustrating for my administrators and self. Also, even when we add ourselves as owners to the regions, we cannot world edit within the region. We can only world edit when we select the entire region.
@Zilacon That's already possible. Use the WorldEdit config to blacklist certain blocks.
@ModalInc http://dev.bukkit.org/bukkit-plugins/wrg/files/36-1-0-3/
Can you add a item blacklist or whitelist to this for mdoded servers? As it would be kind of bad if someone had the ability to world edit in diamond and gold blocks or modded machinery and stuff.
@Toshka17
I too have had a failure of wgr.bypass working. Even as OP i can't edit outside of specific regions with latest version.
wrg.bypass doesn't work