You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# not decided on how to implement it, using env vars to pass the information? or list /srv/minecraft?
minecraftctl list # list available instances with their status# socket interaction
minecraftctl send <instance><command># send command to the tmux session
minecraftctl tail <instance> [-f] # tail logs, with optional follow flag# systemd management
minecraftctl status <instance># show status of the instance
minecraftctl stop <instance># pause the instance
minecraftctl start <instance># start the paused instance
minecraftctl restart <instance># restart it
each server exposes a tmux socket, see here, those can simply be attached to with tmux, no cli needed. To start, stop, pause the entire service just use systemctl. Listing running servers can be done with systemctl too, since all servers run under a special user iirc, otherwise grep for minecraft. This whole cli thing seems overkill.
Activity
[-]CLI for interacting with the tmux session[/-][+]CLI for interacting with the server[/+]theNoof commentedon Nov 3, 2025
would be also cool if that would include a way to execute commands (like rcon maybe?)
and remote functionality (maybe using ssh?)
just ideas though.
wawwior commentedon Sep 9, 2026
each server exposes a tmux socket, see here, those can simply be attached to with tmux, no cli needed. To start, stop, pause the entire service just use systemctl. Listing running servers can be done with systemctl too, since all servers run under a special user iirc, otherwise grep for minecraft. This whole cli thing seems overkill.