MapOptimizer
MapOptimizer
Tested Minecraft Versions:
  • 1.7
  • 1.8
  • 1.9
  • 1.10
  • 1.11
Contributors:
CJP10 for helping about threads
xofBufQ.png


MapOptimizer is a plugin that will optimize your maps.
Have you ever been annoyed by some maps, beautiful but taking some time to be loaded by the players? Well, me too, and I have a solution!

This plugin will remove every unseen blocks on your map (mainly underground blocks) to provide your players a fast'n'fancy map loading, without lags. It will keep caverns and other underground features, but will scrap unused blocks.

BEWARE: This will NOT reduce the map weight. Only reduce the time players take to load it, and reduce their lags on it.





lYqD4Os.png

All the commands require to be op, or to have the permission "optimizer.use" to be used.
Commands:
  1. /optimize : Start to optimize the world where you stand in.
  2. /optimize <World name> : Start to optimize the given world. Can be used from the console.
  3. /optimizechunk : Start to optimize a 3x3 square of chunks around you.


Good points:
  • Highly configurable:
    This plugin provide you a config file to change optimization settings. This way, you can reduce the process time depending of how your server can support it, and how built is your map!


  • Parallel tasks: You can still play on your server and do things while the plugin optimize a map. The server may however get somewhat laggy, so it is recommended to optimize a map while nobody is on the server.
  • Transparent block detection: The plugin will detect if a block is transparent, or have partial holes, like stairs, slabs, leaves or anvils. They will be counted as air: this way, buildings will not be wiped.
    Gravity-affected blocks, like sand and gravel, are also counted as air.
  • Backup: The plugin will create a backup of your world before optimizing it, in case of structure wipe, or other.. unwanted things.

Bad points:
  • Very long process: It has not been tested on a true server, but on my computer (that is somewhat a really good computer), the plugin will take at least 2 hours, and up to 9 hours, per .mca files, depending of how high the map chunk is.

    Tested on a pretty good VPS recently, taking a little bit more than 1 hour per .mca files, on a part of Wynncraft map.


The final result begin at 2:32




080P8Rd.png

It is recommended to:
  • Run the optimization with nothing else running on the server
  • NOT let players go on the optimized map, while the plugin is running
  • NOT optimize a survival map, or any other map where players can build / destroy blocks.
  • NOT remove the world backup until the end of the process. You may end up with unwanted things due to bugs in the plugin.




IZ1grMQ.png

You are allowed to:
  • Share this plugin with FRIENDS ONLY, in the case of a COMMON PROJECT
  • Decompile this plugin and look at the sources, for your own knowledge

You are NOT allowed to:
  • -Redacted- this plugin or its sources, in any way
  • Give yourself the credits of making this plugin

By purchasing this plugin, you agree with the fact that there will be NO REFUNDS. If you have bugs, report them, and they will be fixed.
BlackSpigot General Chat
Rules Help Users
    BlackSpigot.com @ BlackSpigot.com: my vip was not activated Hello, PM me the email you used to pay.
    Top