You can likely use a startup script with your init system. When using manage-tModLoaderServer.sh, refer to your distro's documentation. To run without any interactivity, use docker-compose up -d, and include serverconfig.txt in the Terraria directory. The server will be available on port 7777. Edit docker-compose.yml with your GID and UID.Next to those docker files, create a folder named Terraria, and place enabled.json, install.txt, serverconfig.txt, your worlds, and any.Download docker-compose.yml and the Dockerfile.They can be installed from your package manager or Docker's Documentation Ensure docker and docker-compose are installed.When using the Docker container, simply rebuild the container using docker-compose build to update tModLoader. Use -folder if your install is in a non-standard location. When using a GitHub install, use -github. When using manage-tModLoaderServer.sh, tModLoader updates can be performed with. An outdated script may contain bugs or lack features, so it is usually a good idea to update. manage-tModLoaderServer.sh -update-script. ![]() If an update for manage-tModLoaderServer.sh is available, a message will be printed letting you know one is available. Additional options can be found on the Terraria wiki Updating If you want to run tModLoader without needing any input on startup (such as from an init system), then all you need to do is copy the example serverconfig.txt and change the settings how you like. ![]() There is also a -start argument that will launch the game. To run tModLoader, you just need to navigate to your install directory ( ~/tModLoader for GitHub, ~/Steam/steamapps/common/tModLoader for SteamCMD, by default), and run. manage-tModLoaderServer.sh -mods-only to install mods immediately). You can copy enabled.json and install.txt to your script directory and they will be used next time the script is run (run. Enter the folder with the name of your modpack.To get an install.txt file and its accompanying enabled.json: Obtaining install.txtīecause the steam workshop does not use mod names to identify mods, you must create a modpack to install mods from the workshop. Additionally, you can avoid updating or installing mods with the -no-mods argument. tmod files, install.txt for workshop mods, and enabled.json into the same directory as the script. Mods will be automatically installed during the tModLoader installation step, but can also be installed separately using the -mods-only argument. This will install the latest GitHub release, which is the same version as released on Steam.To specify an installation directory, use -folder /path/to/install. By default, tModLoader will be installed to ~/tModLoader.manage-tModLoaderServer.sh -install -github. To specify an installation directory, use -folder /full/path/from/root By default, tModLoader will be installed to ~/Steam/steamapps/common/tModLoader.You will be prompted for your password (and your 2fa code if applicable).manage-tModLoaderServer.sh -install -username your_steam_username. You can install SteamCMD from your package manager or Valve's Wiki. Ensure SteamCMD is installed and on your PATH.Installing tModLoader Via SteamCMD (recommended) The script is made to run fully standalone, so just download it to your server and run it. The manage-tModLoaderServer.sh script can be used to install tModLoader either directly from the GitHub release or from SteamCMD. ![]() If you are a public server operator or just prefer Docker, then go with the Docker Container, otherwise make use of the management script. The management script allows for direct access to your server and increased control as a result. Docker isolates tModLoader from your host system and increases security. ![]() While both the Docker container and the management script can install and update tModLoader and any mods, there are a few key differences. If you have an extra old computer sitting around or leave your computer on all the time, you can use that computer to host a dedicated server. We will cover just one of these options for simplicity, but do not be discouraged to experiment!Īll of this information is included in the DedicatedServerUtils folder in any tmodloader install. There are a few options for establishing a Dedicated Server on 1.4 tModLoader.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |