2023-06-17 00:15:25 -04:00
2023-06-17 00:15:23 -04:00
2023-06-17 00:15:25 -04:00
2023-06-17 00:15:23 -04:00
2023-06-17 00:15:25 -04:00

mcserver

dead simple wrapper script to manage multiple minecraft server instances in tmux, in a way that makes it extremely easy to use with systemd.

instructions

  1. install systemd unit in /etc/systemd/system, change User option to preferred user
  2. create minecraft server instances in ~/.local/share/mcserver/instances
    • you can also symlink server directories from elsewhere on the system
    • use instance/ as a starting point. you need, at minimum, a start.sh startup script that executes the server jar, the server jar itself and a vars file
  3. systemctl enable --now mcserver@instancename
Description
Script and systemd unit for managing multiple Minecraft servers using tmux
Readme 107 KiB
Languages
Python 71.5%
Shell 27.5%
Batchfile 1%