T
inland-turquoise
Dedicated server won't load mods, resets enabled.json on every startup
I am trying to set up a dedicated server on my linux machine. I have set up the dedicated server files according to the github page, including copying the enabled.json and install.txt files from the created modpack on game, and I have run the ./mange-tmodloaderserver install-mods command, which downloads the mods. However, every time I start the server, no mods are loaded, and the enabled.json file is reset to being empty.
6 Replies
Welcome to #support-forum. Before someone helps you, please first consult the information in #TML Troubleshooting Guide and try all the suggestions that might fit your particular issue, especially in the linked FAQ page.
If the information in the pinned thread does not solve your issue, please post all log files by dragging and dropping them into this chat. In Steam right click on
tModLoader
in the library, then hover over Manage
and click on Browse local files
. In the folder that appears find tModLoader-Logs
and open that folder. Inside that folder are the logs files. Select them all except the Old
folder and drag them into this chat. If you need a visual guide to this process watch this: https://github.com/tModLoader/tModLoader/assets/4522492/3f4efa43-753f-4733-b630-ba85e711340cinland-turquoiseOP•4mo ago
here are the logs:
inland-turquoiseOP•4mo ago
in the logs, it says that no enabled.json was found
but I am unsure as to why it would both say that AND overwrite the enabled.json I currently have in the Mods/ folder with an empty json file
inland-turquoiseOP•4mo ago
here is the server config file
is your enabled.json in
/home/nathan/tmodloader-server/Mods
or /home/nathan/Mods
? You have a relative path in serverconfig.txt, modpath=../Mods/
, I'm not sure if that is supported. I would remove that and just use the default Mod path, that might not be working as expectedHi, I have a similar problem, although for me only one entry in the enabled.json is being removed. Did you find a solution for yours?
I just fixed it. In the directory where all the stuff is stored, there should be a folder called server next to steamapps and Mods. Inside of server is another folder also named steamapps, then workshop then content then some number followed by the actual mod folders (also a bunch of numbers). The mod that deleted itself from my enabled.json was not in there. I just coppied it from my computer to the dedicated server, after which I could enable it in the server software. After that it also showed up in the enabled.json.
I hope this helps.