mc-server-tui
v1.4.2
Published
A TUI for Minecraft Servers
Downloads
12
Maintainers
Readme
mc-server-tui
A Terminal User Interface (TUI) for Minecraft servers. It colorizes the log so it's easier to see warnings and errors, and it prevents new log entries from messing up the command input.
Usage
mc-server-tui [--stop-command COMMAND] [--table] [--category-width WIDTH] COMMAND
Press Ctrl+C to send the stop command to the server, then Ctrl+C again to force stop if the server is unresponsive.
Options
--stop-command Set the admin command to send to Minecraft to stop it.
stop
by default.
--table Assumes the default log format ([timestamp] [category]: info
) and aligns the columns. Off by default.
--category-width For table layout, sets how wide the category should be padded to. Set it to the widest category you observe in your log. 12 by default.
Examples
If you start your server by running a script called start.sh
:
mc-server-tui ./start.sh
If you run the jar with arguments directly:
mc-server-tui java -Xmx4096M -Xms4096M -jar server.jar nogui
If your server uses a custom function to stop the server:
mc-server-tui --stop-command 'function run scripts:stop' ./start.sh