![]() ![]() LATEST : determines the latest (non-preview) version and can be used to auto-upgrade on container start. ![]() VERSION ( LATEST) : can be set to a specific server version or the following special values can be used:.EULA (no default) : must be set to TRUE toĪccept the Minecraft End User License Agreement.Itzg/minecraft-server Environment Variables Container Specific Looking for a Java Edition Serverįor Minecraft Java Edition you'll need to use this image instead: The latest preview version can be requested by setting VERSION to "PREVIEW". At every startup, the container checks for the latest version and upgrades, if needed. With the VERSION variable set to "LATEST", which is the default, then the Bedrock server can be upgraded by restarting the container. Upgrading to the latest Bedrock server version NOTE: if you plan on running a server for a longer amount of time it is highly recommended using a management layer such as Docker Compose or Kubernetes to allow for incremental reconfiguration and image upgrades. */30 * * * * /home/mcbserver/mcbserver update > /dev/null 2>&1Ġ 0 * * 0 /home/mcbserver/mcbserver update-lgsm > /dev/null 2>&1 Configure LinuxGSMįor detailed documentation visit the LinuxGSM docs.Docker run -d -it -e EULA=TRUE -p 19132:19132/udp -v mc-bedrock-data:/data itzg/minecraft-bedrock-server */5 * * * * /home/mcbserver/mcbserver monitor > /dev/null 2>&1 crontab -eīelow are the recommended cron tasks. You can edit the crontab using the following. ![]() To automate LinuxGSM you can set scheduled tasks using cronjobs, to run any command at any given time. Documentationįor detailed documentation visit the LinuxGSM docs. You can use cronjobs to setup monitoring./mcbserver monitor Configure LinuxGSMįor details on how to alter LinuxGSM settings visit LinuxGSM Config Files page. Should the server go offline LinuxGSM can restart the server and send you an alert. LinuxGSM can monitor the game server by checking that the proccess is running and querying it. home/mcbserver/logs Backupīackup will allow you to create a complete tar bzip2 archive of the whole server./mcbserver backup Monitor Script, console and game server (if available) logs are created for the server. Server logs are available to monitor and diagnose your server. Debug allows you to see the output of the server directly to your terminal allowing you to diagnose any problems the server might be having./mcbserver debug Logs Use debug mode to help you if you are having issues with the server. You can get all important and useful details about the server such as passwords, ports, config files etc./mcbserver details Debug The server will update and restart only if required. Update checks for any server updates and applies them. Pressing CTRL+c will terminate the server. mcbserver console To exit the console press CTRL+b d. mcbserver restart consoleĬonsole allows you to view the live console of a server as it is running and allow you to enter commands if supported. mcbserver install as root and LinuxGSM will automatically install missing dependencies.Ī complete list of commands can be found by typing.īelow are the most common commands available. It is possible for LinuxGSM to install dependencies either by having the mcbserver user account with sudo access or running the installer as root.ĭuring the installation if the game server user has sudo permissions LinuxGSM will attempt to install any missing dependencies itself. To install GameDig follow the steps in the LinuxGSM documentation. It also replaces the default LinuxGSM query module in monitor. GameDig is a recommended additional module that allows LinuxGSM to gather more info from the game server such as current map and connected players to be displayed in details and in logs. ![]() yum install epel-release CentOS 64-bit yum install curl wget tar bzip2 gzip unzip python3 binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686 Gamedig EPEL is required to install some dependencies needed for using LinuxGSM on CentOS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |