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.
@Empire92
Really? Dosn't seem to be working. I've given my groups the permissions node wrg.worldguard.member. Also currently using the latest build.
@McChickenPuncher Edit: It already should work in the latest version.
Hey! Your plugin is exactly what I needed for an update i'm doing on my server except for one small(but plan breaking) flaw for me; Your plugin doesn't accept/recognize the Group function of WorldGuard(http://wiki.sk89q.com/wiki/WorldGuard/Regions/Flags#Setting_Groups). Is there anyway this could be added? I can make do for the time being, but if this change were made, it be perfect for what I need.
@ryanthemagi The plugin restricts the actual edits, not the selections. So players can select areas outside their region, but only blocks inside it will be allowed to change.
I gave one of my players the permission node 'worldedit.selection.pos' but he can use the select position anywhere, regardless of region or town (I am using towny - the node wrg.towny seems to do nothing).
@Gametista
what plugin are you using for the regions? worldguard?
edit: should be fixed in the next version
@Empire92
Unfortunately when we tested it out, it wasn't allowing it. When I made them the owner of the region though, they were able to do so.
@Empire92
Does this work with plotme? cause i tried it and its not letting me, it says no region selected and i have proper permissions.
@Gametista
It should allow you to edit if you are a member of the region (not just the owner). I should probably change the documentation to say that...
Hello,
Lovely plugin you have here! I was wondering if it comes with the ability to allow members to do the same as owners (aka use WE)? If not, is that something that could be added perhaps?
Thanks for your time!
@Jakekool91
Read the description.
So does this plugin make you able to make custom faction safezone and warzone regions with world edit?
@geNAZt I sent you a PM.
Hi,
i have Issues where players can use WorldEdit on Plots they don't own (its not PlotMe i only use a little generator). We handle Plots with WorldGuard regions. I can't WorldEdit in other Plots but some players can TP to the Owner of the Plot and WorldEdit in them. I only gave the WorldEdit permissions they need and added the wrg.worldedit Permission. Also they get notified even if they don't have the wrg.notify permissions.
@Mysticforce12345
Try out AsyncWorldedit - it might be what you are looking for.
@Empire92
ok but somebody really needs to make a plugin that slows worldedit down or have a delay to lessen the lag
@Postremus1
Okay, I will try to restrict that in the next build. Done: http://dev.bukkit.org/bukkit-plugins/wrg/files/21-v0-2-7/
@Mysticforce12345 BTW the permission node to worldedit anywhere is wrg.bypass
To address your second issue: Don't use SafeEdit, or talk to the creator about coding the plugin properly.
SafeEdit disregards the WorldEdit API and in doing so, worldedit masks are ignored, which are a CRUCIAL part of this plugin.
You can take a look at other plugins which work well with the WorldEdit API such as PlotMe and see that SafeEdit will completely break them as well.
thanks you but my players cant seem to use safeedit when using this plugin to restrict some areas they cant use safeedit commands like /safeedit
@Empire92 In our case, users could copy tnt-cannons from other regions. This is mainly bad, because often the users are not allowed to use this cannons.