ChunkEnforcer is a plugin which keeps chunks from being loaded when a Minecart or certain blocks (such as Redstone) are in it and is coded to be efficient and cause the least lag possible.
Example uses:
- Redstone wiring stops working while the chunk unloads and you need to reset all clocks manually
- Minecarts can stop moving (this plugin includes a special mode for minecarts)
- Maybe have an IndustrialCraft server and wish to keep your industry running? That works aswell!
The plugin has two base modes which can be enabled and disabled using an easy config (auto-generated on first launch).
Mode A: Keep chunk loaded if a moving minecart is in (or close) to it.
Mode B: Keep chunk loaded if a specified block is in it (by ID, can be defined using config too, by default includes redstone).
Permissions:
chunkenforcer.control - Allows to use the /chunkenforcer command
Commands:
/chunkenforcer reload - Reloads the config from disk
/chunkenforcer info - Gives you current information about ChunkEnforcer
The whole system is optimized using the chunk snapshot system and delayed/threaded checks where possible to save on server power.

