LoadControl

LoadControl

Controls world loading for Bukkit. It was originally made for MCPC+ around 2 months back, designed to be used for controlling Mystcraft ages.

However, based on popular demand, here it is on BukkitDev.

What it does

Prevents configurable worlds, whose names contain the strings defined in the blacklist. E.g. if "nether" is in the blacklist, worldnether would not be loaded during startup, and world2nether wouldn't either.

Each world still takes around ~10mb for weather and others, though, if you're running MCPC+. For Bukkit, there should be no residual memory usage.

Builds and Source

Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.

The source code is available on GitHub.

Testing on MCPC+

This was done on a Direwolf20 Server with 52 Mystcraft Ages. Obviously, it works for Bukkit as well.

  • Before plugin was installed: Out of Memory

  • After plugin is installed: no Out of Memory, server runs fine

Not very scientific, but it definitely works. Because it runs before worlds are loaded, it can repair an already broken server.

Why not use NoSpawnChunks?

  • You can control LoadControl's per-world settings

  • It unloads the world before world loading, therefore "rescuing" servers

  • It's recommended by MCPC+

Configuration

Just put blacklisted strings in the blacklist in config.yml, and restart the server. When a world loads, it searches to see if the world name contains one of the blacklisted strings, and if it does, it's prevented from loading. Players can still load the world after server initialization.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files