$ account MinecraftServerControl
Minecraft Server Control Script (MSCS) is a monolithic Bash/Perl CLI tool for managing multiple Minecraft server instances on Linux. It provides a comprehensive set of actions: starting/stopping/restarting worlds, creating/deleting/enabling/disabling worlds, backing up (via rdiff-backup), mapping (via Minecraft Overviewer), updating server software, sending commands, and querying server status. The architecture is a single large shell script (msctl) with a wrapper (mscs) for system integration. Configuration is done via INI-style defaults files and per-world properties. The script relies on external tools: Java, Perl, Python, wget, rdiff-backup, rsync, socat, and flock. It integrates with systemd via provided service files and supports LSB init scripts. The codebase is functional and well-documented internally, but tightly coupled and monolithic, making extraction of individual components non-trivial.