SafeEdit
SafeEdit - WorldEdit 10+ million blocks with NO lag!
Tired of your server crashing with large world edits? Is your server being bogged down by lag when making large cuts or pastes? Well worry no more! SafeEdit is a WorldEdit mod that allows you to set the speed in which your builds are WorldEdited.
Description
SafeEdit works by taking WorldEdit commands and executing them a certain number of blocks per tick. The speed in which blocks are WorldEdited can be set by either typing a number after the command, (ex: paste 1000) or by setting the number in the config and using WorldEdit as you normally would. If you don't type a number after your command, SafeEdit will default to the number set in the config.
Now supports all region types!
Commands
WorldEdit Supported
- cut
- cyl
- hcyl
- faces (outline)
- sphere
- hsphere
- walls
- paste
- replace
- set
- regen
- drain
- fixwater
- fixlava
SafeEdit
- sundo
- sstop - stops current operation in progress
- /safeedit reload - reloads plugin
Installation
- If you haven't already, make sure to download WorldEdit and extract the .jar into your server's plugins folder.
- Download SafeEdit and put the .jar in your server's plugin folder, and you're good to go!
Tutorial
Check out this tutorial made by our good friend over at FreeFormCinematics:
Another great tutorial from VariationVault:
Documentation
Stay up to date with SafeEdit releases/fixes with the Change Log and find the Admin/User perms below!
Please keep in mind this is a very powerful plugin. Just like with WorldEdit, a miss-click or typo can ruin your project. We urge you to please be careful when working with this plugin! We are not responsible for any lost/damaged builds, or any unforeseen bugs the plugin may have.
This plugin has been tested thoroughly and we think that you will enjoy the benefits of SafeEdit on your server as much as we do :)
@JPieMC
Are you referring to your log file?
@JPieMC
First thing in my head would be, why on EARTH, do you have to make a Couple Hundred million block WorldEdits? Can't you slow it down a bit? I recommend always being careful with sizes.
Hi... I was going massive worldedits (couple hundred million blocks, 100 blocks/tick for days)... and then my server stopped working... (Debian headless with SSD).... I started it up and found this:
any way to prevent this from happening?
Hi, why are there sundo, not undo when installed (undo doesn't work) and how to "redo" with this plugin?
//replace comands are still bugged. Tried "//replace 17 0" and it didnt work. Just removed trunks from trees and left most wood blocks. Same with a few other items. However replacing lava and water works flowless.
Also had a single incident where I tried to copy a floating island from below cloudlayer to above cloudlayer and a single chunk was copied at the lower default level. Havent seen that before yet.
Also copy/pasting clutters up the memory, but I assume its a WE issue?
Keep up the good work!
Do you think you can make an API or make it open source. Thanks :) Love the plugin!
When type in a wall of wool
replace wool,50%stone
Dont work... not replace any block.
But with only world edit if works.
Does this work if you use TheWalls? like making the arena etc
Could you please add the Following WorldEdit command to the SafeEdit Support list? schem load MCEdit {filename}
This would be AMAZING!
Can we have the option to disable certain parts of this plugin? This plugin works really really well in some areas, but really really poorly in other areas, where I would rather have all the events handled directly by WorldEdit instead.
For example, this plugin was able to paste a schematic of around a million blocks, with 250 per tick, without much problem. Then I go to drain an area of water with a radius of 50, and my server crashes. Would be nice to be able to disable parts such as 'drain' to allow WorldEdit to handle it directly, since I never drain anything more than a 100 block radius anyhow.
Also, why is it, when I paste areas from schematics, the areas are locked until the next server restart? It's like, this plugin puts everything down on a map in cache, makes everything untouchable, and it doesn't commit until a restart, or if the plugin crashes (which I seem to notice it doing frequently), then the area reverts back to before any saves were made from any of the pasting.
This plugin seems to have a lot of potential, but in its current state, I think I'll just have to stick to WorldEdit alone. I'll check back in on this one from time-to-time tho.
Good luck!
I really like this plugin concept, great work. However, like other users, I am having issues with the undo/sundo commands. My server is still running 1.5.2 for compatibility with my user's clientside mods and other bukkit plugins that have not yet been updated. I saw that you said you've submitted an updated version of the plugin that fixes the sundo command for 1.6.2, but I was wondering if you would consider a version with a fixed sundo command for 1.5.2.
Thanks so much,
prelate
@Frodenkvist
Okay but thats confirmed! It would be awesome if you can fix it, please take your time sir
@jordypwner
If you have a problem with something, please consider being specific about what you did and what happened instead of screaming "FIX THIS" and you'll see it'll get fixed much faster and smoother <3
when i installed this with worldedit the command: undo doesn't work anymore it just says nothing left to undo and sundo is not working good when i make something and do: sundo not evrything gets deleted! FIX THIS
@CapnDuckface
I just uploaded a new version of SafeEdit (waiting for it to be approved) that should make sundo more reliable.
i keep having issues with set also regions i edit some how become protected after using a command to edit them?
thanks
Hello and thank you.
For
i must be op, there isn't permission node for that, only op can make sundo.
It returns 'unknow command' for non op players.
undo does not work
@Frodenkvist
Thank you for putting this out man, but I'm afraid that /sundo still does not work so I will be deactivating your plug-in until it's fixed. If you get a dev version out that fixes it, let me know as we are not currently live to the public.
Also... what's the chance of integrating this to be LogBlock compatible as well? You would be GODLY if LB supported your product as well. You have no idea how many times I've had to fix the entire map cause an owner was too stupid to properly set up Auto-save in the past. I'd like to avoid crashing the server due to a mass fix at all costs. If you need development help, I may have a few interested candidates that might be willing to lend a hand, but I'm personally clueless in regards to programming so I could only act as an intermediary.
I'd be happy to be your test subject for now.
Idea: Add one that does edits per chunk, so it is faster, but still more CPU Friendly.