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.
Hi!
I made an error in your github: https://github.com/boy0001/WorldeditRegions/issues/1
If you should have a look when you can, that would be much appreciated.
Cheers, Snow
I absolutely love this plugin. It makes group projects so much easier. Do you have any future plans to update to sponge?
Again, thank you for your absolutely awesome work.
@CloudeLecaw It appears that the plugin isn't getting an instance of WorldEdit...
Can you post your startup log, it might help me solve the problem.
WRG for WE5:
http://dev.bukkit.org/bukkit-plugins/wrg/tickets/7
I am unable to upgrade. Could you please recompile for 1.7.2 WE5 and WG5
@Everyone
A new version is out which adds a bunch of new features:
Added:
- Support for WE6, WG6
- Factions multi chunk masks (using traversal)
- Factions wilderness support
- WGCustomFlags "worldedit-region" flag (optional)
- improved global mask support
- fixed bug with commands
Please leave a comment if you are unable to upgrade your WG/WE and I can recompile the latest version for you.
Great plugin. Finally got it to work (had to use 0.2.10. For some reason 0.2.12 and 0.2.13 didn't work on my setup)
Suggestion: Could you please add an option, so that WorldEdit commands are only allowed in regions that also has a specific custom flag (that is, the player must be owner/member of the region AND the region must have the flag)?
Reason: I have a server, where all players have regions (plots) they can build on, but sometimes I would like to temporary give some players WE access in a specific region in order for them to build something for the server (e.g. new spawn or minigame). As it is now, giving them WE access allows them to use WE in their own plots also. I would like to restrict it to one specific region.
Thanks.
Does this support global region? If not can you please add it. I really need it for my players.
You could just add a command, /wrg <region-id> setuser <player> That would set the owner of the region and allow world edit for mombers and owners.
Could you do that for me. If not, ill just make it myself. Just ur plugin is basicly set up for what i want. Would be faster and easy to set up on here.
Thanks.
@empire92 yea sure thanks for the quick response - we are using Version 0.2.13 - im using Wrg as a standalone with no other plugins - running spigot - expand-vert is set to true in the config - also block limit doesnt seam to be working either
@R0nburgandy
Could you please give me more information:
- Version of WorldeditRegions
- The plugin you are trying to use it with
anything else you think will help with debugging
hey im trying to let users use this plugin but when they select a region its not extending to the sky and down to the bedrock. Is there a permission node i need to add or?
@Empire92
ok thank you so much
@robrobk Okay, I know what the problem is... Before MCore, factions didn't have a standard API, so different versions would change things up a bit.
The versions I gave you was for 1.8.2, whilst you have 1.6.9.5. I'll recompile it for 1.6.9.5
@Empire92
ok im sorry to still be bugging you but it has an error while hooking into factions console log: http://pastebin.com/PaSbXxUj
@robrobk I added factions originally as a request, so people definitely use WorldeditRegions and Factions, I was just curious how you were going to utilizing this plugin. Thanks for your response.
I guess Factions is also a decent enough plugin for self serve land protection.
thank you so much for old factions support!! in answer to your question "what sort of factions server gives its players worldedit", the answer is my brother is an admin and he likes worldedit
@Empire92
hi i was using the newer mcore versions but i didn't like it so i downgraded a few weeks ago. i know that quite a lot of servers use the older versions anyway(all the factions servers that i play on)
so if you can add support for the old factions in your spare time then that would be great :) even if you just add support when you are updating for 1.8 i'd be happy :) :)
@robrobk It currently only supports the MCore versions.
I would recommend you update to that, unless you have something against the newer versions.
I am unsure of the state of the Factions API beforehand, but if you really want me to, I can see if I can make a non-MCore version of the plugin.
hi what steps do i need to take to limit worldedit to owned claims from factions v 1.6.9.5
@McChickenPuncher It seems to be working fine for me. What I can do is exclusively check the flags as well if you have Vault installed.
Edit: In v0.1.11 it is forced to check each group in the region. (Although I still can't replicate the problem)
^ You will need Vault installed.