JACOBSMILE / tmodloader1.4

An easy to configure Docker Image for tModLoader 1.4 servers.
Other
139 stars 33 forks source link

enabled.json moved location #25

Closed matthew-jones-uk closed 1 year ago

matthew-jones-uk commented 1 year ago

Just created a fresh server, following the instructions in the README. Everything downloads okay and the SYSTEM messages state that mods are being enabled, however doing /modlist yields no enabled mods. There's also a

Did not find enabled.json file

in the logfile.

I'm not completely sure how configuration works but I looked at ~/.local/share/Terraria/ and spotted a new ~/.local/share/Terraria/tModLoader1.4.3. Moving the enabled.json to this new location seems to work fine. This issue seems to confirm what I'm observing.

I think maybe enabledpath=$HOME/.local/share/Terraria/tModLoader/Mods/enabled.json needs changing to enabledpath=$HOME/.local/share/Terraria/tModLoader1.4.3/Mods/enabled.json in entrypoint.sh? This might just be a temporary change and may need to be reverted when 1.4.4 is released.

JACOBSMILE commented 1 year ago

I'll have to review this. This is a breaking change by tModLoader if they indeed moved the directory.

soveriegn3 commented 1 year ago

I can second this issue, I was trying to set up a server and was having issues all day on the 16th. I kept seeing the "enabled.json" error and ignored it, the fix in this thread got the server to correctly load mods. The tmodloader 1.4.3/1.4.4 branch changes seem to be causing a lot of issues.

JACOBSMILE commented 1 year ago

This should be fixed now, please reopen if it does not work after a fresh build of :latest.