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 :)
Now if only it could deal with out of memory errors on huge edits, ie moving areas about . well solved the memory collapse by resorting to mcedit ( works quite nicely, to shift a large area by some chunks) and got back to editing but kept getting messed up by sundo and undo, is there a way to seperate the commands ie have a prefix for all the safedit ones. ?
This is an amazing concept, but is to buggy for use on my server. It does not support Prism logging for one, second when using sundo or /sundo it does not undo anything, but causes major lag until server restart, you can not multitask with WE, not have other users using it when you do or it messes up.
I'll check back in the future, hopefully it gets fixed!
We probably did something terribly wrong but I would not suggest using this plugin for massive schematics on a deployment server.
@monstercat101
Nope, Its very annoying, we all think it is.
does /undo work if you have craftbukkit, because I use spigot.
Also an issue tracker would be smart and helpful if you could :)
would it be possible to make a select /haltactivity thing that runs with this so that it pauses the phyiscs? this should solve the problem no? I will be posting this to wysjany to see if he can give us the ability to have a selective /haltactivity so it doesn't have to kill npc's
Im having the same /undo problem. I really wish you could completely fix this.
Still can't manage to undo or sundo even the most basic WorldEdits...like setting a small area to stone, then undo or sundo, does nothing.
Hey! We've been running your plugin for a while, however recently we notcied a little lag coming from the PlayerJoinEvent
Is there any reason it would do this?
Timings from spigot: http://aikar.co/timings.php?url=5697669
Spigot Version: Spigot 866
SafeEdit version: 1.1.5
@zxccxz12
SafeEdit shouldn't have anything to do with it, but if you send me the error message I could take a look and see what went wrong.
I was making a flat underground area, a cylinder of 2000X45 set to air, and it started working. after about five minutes, my server crashed just before it finished. Do you know why?
So this plugin breaks the prism logging for worldedit. Could that be fixed?
@Frodenkvist
somehow its started working again, thanks for your help,
also keep up the good work!
@deancohen1994
If you copy something, it will still paste in slowly if that is what you are looking for.
hey could you add copy please, its getting sorta annoying having to cut and paste stuff instead of just copy :s thanks
is it possible to turn sundo off, it does not seem to undo for everything, getting a bit mixed up while building and undoing, sundo seem to undo different things undo some others Edit just noticed another post here , and i thought ive noticed some replace hickups as well, nothing seemed to happen, will pay more attention though ive removed the plugin for now us sundo or undo was mixing me up
undo doesnt seem to work, same with sundo. I have typed replace leaves,logs 0, it sets the whole area to air and undoing it doesnt work :/
@XeonG8
Because SafeEdit doesn't handle ALL WorldEdit functions, we have to have separate undo's. Originally we had SafeEdit undo with a number and WorldEdit without a number, but we were getting complaints that it was confusing. We took a poll and the consensus was a separate command for SafeEdit undo. It seems to be the best we can do for now.
kinda wish this would just be implemented in WE itself, as the undo command even separated is just not ideal when it doesn't take care of everything, and leads to mess up with players who do have WE access.