TShock
TShock copied to clipboard
Worldpath option is ignored
- TShock version:4.4.0_226_Pre1_Terraria1.4.0.2
Reproduction steps?
- Start server with the following options:
/tshock/TerrariaServer.exe -configpath /world -worldpath /world -logpath /world - Observe, that no worlds from /world are available to start
- Create a new world and find a newly created file under /root/.local/share/Terraria/Worlds/
Server log:
[05/18/20 14:40:35] [Server API] Verbose: TerrariaApi - Server v2.1.0.0 started.
[05/18/20 14:40:35] [Server API] Verbose: Command line: /tshock/TerrariaServer.exe -configpath /world -worldpath /world -logpath /world
[05/18/20 14:40:35] [Server API] Verbose: OS: Unix 5.4.13.1 (64bit: True)
[05/18/20 14:40:35] [Server API] Verbose: Mono: True
Server is launched in a docker container created from mono:6.8.0.96.
You have to copy the TShockAPI.dll file into the ServerPlugins folder.
From the release notes:
Important: You need to move TShockAPI.dll into the ServerPlugins folder. If you don't have one, run TerrariaServer.exe once, and then copy the file into the newly created folder. You know that you're running TShock as expected if you see the list of names in the startup sequence.
Indeed that was the problem. Thank you!