AsyncWorldEdit 3.6.11

Async WorldEdit - Edit millions of blocks without lag!

  1. SB_prime
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    Source Code:
    https://github.com/SBPrime/AsyncWorldEdit/
    Description

    This plugin has only one function: eliminate the lag caused by the WorldEdit! This is done by replacing the WorldEdits session with an special asynchronous one. All the block drawing is done in packages. The package size and how often the blocks are drawn are configurable in the config. AsyncWorldEdit is not a reimplementation of WorldEdit! It attaches the original WorldEdit API and WorldEdit classes and tries to fix the lags. There fore you have access to all the WorldEdit operations, and all those operations work exactly like in the original WorldEdit. So basically you get the same commands, same permissions and the same experience. In addition to that if WorldEdit team releases a new feature, fixes a bug all you need to do is update WorldEdit and AWE will do its job as usual.




    Plugin recommended by:
    mineacademy-banner.png
    The premium version
    Starting from the 1'st of January 2018 the AsyncWorldEdit Premium and the free versions are again one software. All the changes and features added to the premium are now available for everyone.

    So what do I get when I buy the premium version? First thin, and most important, you will get support (starting from simple trouble shooting to help in working with the source code). Secondly you won't need to build the jar file by yourself, you will get a pre-build jar file.

    Repository and project page

    GitHub

    I'm missing... (I need...)
    If AsyncWorldEdit lacks a feature that you would like to have, that would make your work much easier send me a PM describing your needs.

    Installation tutorial

    Installation for versions to 3.x:


    Installation for Spigot (Bukkit)
    1. download and install WorldEdit
    2. download the plugin
      • If you are using WorldEdit 5.x you need to get AsyncWorldEdit 1.x
      • If you are using WorldEdit 6.x you need to get AsyncWorldEdit 2.2.2 or earlier
      • If you are using WorldEdit 6.1.2+ you need to get AsyncWorldEdit 2.3.0 or later
    3. install the AsyncWorldEdit plugin
      • For AsyncWorldEdit 1.x put the AsyncWorldEdit.jar into plugins
      • For AsyncWorldEdit 2.x put the AsyncWorldEdit.jar and AsyncWorldEditInjector.jar into plugins.
    4. to enable blocks login and blocks access control download and install BlocksHub
    5. if you are using PlotMe and want to enable the PlotMeFix put AsyncWorldEdit-PlotMe* in your plugins folder. Use the jar that's for your PlotMe version!
    6. restart server
    7. edit the config file
    8. restart server or do /AWE reload
    Installation for cauldron (since AsyncWorldEdit 2.1.0)
    1. download WorldEdit and Forge WorldEdit
      1. install WorldEdit into plugins folder
      2. install WorldEdit forge into mods folder
    2. download AsyncWorldEdit
      1. install AsyncWorldEditInjector into mods folder (do not put it into the plugins folder!)
      2. install AsyncWorldEdit into plugins folder (do not put it into the mods folder!)
    3. to enable blocks login and blocks access control download BlocksHub
    4. if you are using PlotMe and want to enable the PlotMeFix put AsyncWorldEdit-PlotMe* in your plugins folder. Use the jar that's for your PlotMe version!
    5. restart server
    6. edit the config file
    7. restart server or do /AWE reload
    Installation for versions starting from 3.x:

    To install the plugin you need to download the source code from the github release and compile the source. After that you can simply put the jar in your plugins directory and restart. Or you can get the premium version and follow the instructions there.

    Error performing safe operation...
    AsyncWorldEdit queues changed blocks in a async thread and then places them in packages. Since many WorldEdit operations need to acquire blocks from the map AsyncWorldEdit needs to get the blocks during the preparation phase (in async thread). Since almost none of the API calls should be called from async thread (its risky at most) AsyncWorldEdit checks if it can do the block get in a async thread. If it detects that it is not possible/not allowed it dispatches this to the main thread. Sometimes AWE is not able to detect that the operation is not allowed, this causes the operation to fail. AWE logs this fact in the log (Error performing safe operation) and does the operation using the dispatcher. If all the operations ware processed using the dispatcher you would experience a drasticall speed decrease. On the other hand it is not possible to be 100% sure that the get operation will not fail from async thread. To be 100% sure AWE would need to inject its own classes into Bukkit inner workings.

    License
    For the full license please go to this link

    Issues
    To report issues please use the Github (or the premium one here) issue tracker.

    I'm still experiencing lag!
    Read

    Auto updates
    This plugin does not provide auto update feature it only nags the server owner's when there's an update. To disable this feature set checkVersion to false in the config. Alternatively you can remove the AWE.admin.version permission node if you don't want to receive update information.

    Direct Chunk API
    Since version 3.x the plugin contains a new super fast world editing feature. It is based on direct chunk data access. It allows you to copy large pieces of the map instantly. Currently the Direct Chunk API supports Spigot since 1.8r3 up to 1.12.2. To find out more simply try the "/chunk" (not "//chunk"!) command while in game.


    Block loggers & Block access control
    The enables logging of blocks placed by WorldEdit and can enforce block access. This is done using a special plugin called BlocksHub. To enable block logging (or block access control) you need to enable it in AWE config. This feature requires you to download, install and configure BlocksHub and then install any of the supported block loggers (access controllers).

    New loggers and new access control plugins are going to by added directly to BlocksHub plugin.

    WARNING: To enable Direct Chunk API and BlocksHub integration you need to enable it in the options.

    How fast you can go?
    Recently a thread has been started on spigotmc.org where you can show others how fast you can place blocks using AsyncWorldEdit. You can also use that thread for reference on how to configurate AsyncWorldEdit for you hardware specification.
    The thread can be found here.

    How many blocks can I queue?
    All tests ware done in a controlled environment. Using the official spigot, only AWE and WE ware installed and there was 1 player on the server. The AWE config was not changed.

    On a minimum server (512m) free memory ~200m I managed to queue up to 1 000 000 blocks. But after the queue reached 500 000 blocks TPS started to dropped drastically because of the garbage collector. Therefore I do not recommend to queue more then 500 000 blocks on a server that has 200m free ram.

    On a server that had 1g ram, approximately ~700m free, I managed to queue up to 2 500 000 blocks. After the queue reached 2 000 000 blocks the TPS started dropping because of the garbage collector.

    Adding additional ram resulted in increase of the maximum number of queued blocks approximately by 1 500 000 blocks for each 500m of additional free ram. When I disabled the blocks freeze function I managed to queue additional 20% blocks, (1 800 000 for each additional 500m of free ram).

    Plugin X stopped working after installing AWE
    If a plugin stopped working after installing AsyncWorldEdit please contact me. I'll try to help.

    AsyncWorldEdit 2.x has lower BPS then in 1.x. Whats wrong?
    In AsyncWorldEdit 2.x I added a maximum time limit for blocks placing. This was introduced to optimize the plugin for low end machines. You need to remember that AsyncWorldEdit aims to limit the TPS drop not to make perform the operations as fast as possible. Therefore the default config is optimized to limit the TPS usage not the BPS. If you have a beefy machine or you can live with a small TPS drop you should optimize the config for your specs. If you want to have a steady BPS, like in version 1.x you should disable the time limit in the config file.

    Third party videos:


    Plugins that use AsyncWorldEdit

    If you are a plugin author and your plugin uses AWE API contact me I'll add your plugin to the list.

    API
    For API and Maven please to go to Github. You might also want to check: Plugin API

    Roadmap
    Roadmap

    Commands
    Commands page

    Permissions
    Permissions page

    Configuration
    Configuration page

    Dependencies
    This plugin depends on:
    BlocksHub - block loggin and blocks access
    Other optional dependencies:
    Progress display plugins:

    MCStats
    This plugin uses MCStats to gather statistics. It gathers only the standard stats gathered for most of MCStat's enabled plugins (for example: OS, Java version, CPU, country, plugin and server version). For details what exactly is gathered click on the graph below. To disable the stats you need to disable stats gathering for MCStats (set opt-out to true in plugins/PluginMetrics/config.yml). This disables all the stats gathering for all plugins that use the default MCStats.

    Thank you for using this plugin.

    [​IMG]

    Project staff
    Project author/Developer: SBPrime

    Former developer: EDawg878
    Former tester: RulingKyle1496, Lukeer31, PsychoNavigat
    Former wiki author: Phudster, Magic

    Donate
    Programmer: "an organism that turns caffeine and pizza into software".

    If you like you can buy me a pizza ;)

    If you like my work you can buy the premium version of the plugin.
    xan61789, Lambsauce, LordDWT and 27 others like this.

Recent Updates

  1. Compatibility fixes
  2. AsyncWorldEdit 3.6.10
  3. AsyncWorldEdit 3.6.4

Recent Reviews

  1. Ruptic
    Ruptic
    5/5,
    Version: 3.6.11
    Very great plugin for eliminating the lag off of all of my servers when trying to do some big changes with World Edit. Keep it up!
  2. shyuewei1
    shyuewei1
    5/5,
    Version: 3.6.11
    Nice Plugin!
    Nice Plugin! Nice Plugin! Nice Plugin! Nice Plugin! Nice Plugin! Nice Plugin! Nice Plugin! Nice Plugin! Nice Plugin! Nice Plugin! Nice Plugin! Nice Plugin!
  3. __Vekster007__
    __Vekster007__
    5/5,
    Version: 3.6.11
    Just wonderful optimizes WorldEdit, and most importantly requires configuration!
  4. Zipperok
    Zipperok
    5/5,
    Version: 3.6.10
    Great plugin, works good. Now I can easily //set a lit of blocks w/o making server lag
  5. mc-luxe
    mc-luxe
    5/5,
    Version: 3.6.10
    Thanks to the author for the wonderful plugin. Do not listen to these fools who do not even know how to start a computer. People like you make the minecraft community better!
  6. peterolo
    peterolo
    1/5,
    Version: 3.6.4
    Can't load the plugin. I get an error at the condole. (Can't load the plugin at the folder plugins)
    1. SB_prime
      Author's Response
      Then you should have asked for help before giving a review.
  7. AuroraRainbow
    AuroraRainbow
    1/5,
    Version: 3.6.4
    This plugin sounds great, and used to work very well. However recently the developer started some, to put it nicely, "not nice" practices. If you don't want to buy the premium version, you have to build it yourself. This is fine and okay, no problem with that.

    However, you can't.

    The Dev added copy protection so it is extremly hard, even for advanced users, to compile this plugin themselves.

    And, to make matters even worse, he is using a custom license, which forbids
    - providing a script or even an manual on how to successfully build it
    - forking the project and fixing the build process
    - or providing the jar

    Of course the dev wants people to use the premium version, but this is just unfair practice. Without the possibility to compile the plugin myself and test it, I can't decide if I want the premium version.

    I'd highly suggest supporting another dev, that doesn't use unfair practices like that
    1. SB_prime
      Author's Response
      Since you are addressing the how I approached the syncing premium and nonpremium, I'll answer:

      1. The compilation: I would argue that an advanced software developer can't build it. I talked with couple beginners that ware able to compile it without any problems,
      2. No binary releases: this is not true, I release binary (jar) releases of the latest version. Although the free jar releases are couple of versions behind,
      3. Premium vs Free: To be honest if I ware want ppl to get the premium there would be no free version. Besides currently the free code is the same as in the premium. I had to add some stuff for ppl that bought the premium version before it became open source.
      4. Open source: it means that source code is available, not that instructions on how to compile is available.
  8. Redned
    Redned
    5/5,
    Version: 3.6.4
    Great plugin, very helpful when trying to eliminate lag when using WorldEdit. Does its job well. Very grateful for this resource.
  9. waqe
    waqe
    5/5,
    Version: 3.6.0-rc-05
    This plugin does a great job of making world edit usable with large schematics. I have been using it during the move to 1.13 and now to 1.14. SB has twice fixed issues I was having on what I would imagine is a not easy plugin to keep up to date with all the beta/changes worldedit keeps making. Love this plugin and my server would not be the same w/o it. (-:
  10. jonnycp9
    jonnycp9
    3/5,
    Version: 3.6.0-rc-05
    mmmmmmmmm, i have testes on paper spigot.. but paper spgito 1.13.2 can't load this plugin, so i can't use this plugin, maybe is good for spigot 1.13.2, but i don't use spigot, so thank for update
    1. SB_prime
      Author's Response
      If you filed an error report and included a startup log I could have helped, now its not possible.