Skip to content

Script configuration

7thCore edited this page Feb 12, 2022 · 2 revisions

First time configuration

There's really not much to do with the first configuration of the script appart from a simple login and command execution

User login and script configuration

Login to the mcsrv user, run the script and follow the instructions:

mcsrv-script config_script

Manual configuration

These are the default values for the script configuration:

/srv/mcsrv/config/mcsrv-script.conf
script_bckp_delold=7
script_log_delold=7
script_log_game_delold=7
script_update_game=0
script_update_ignore_failed_startups=0
script_timeout_save=120
script_tmpfs_space=90

Server configuration

To generate a new server execute the following commands:

mkdir /srv/mcsrv/server/server01
systemctl --user enable mcsrv@server01.service

Copy your server.jar to the server01 folder and start the server.


Clone this wiki locally