Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.43k stars 382 forks source link

如何更改Tshock读取地图的路径,我想直接吧地图放入Tshock(我使用的是Windows系统) #2648

Open Promising-star opened 2 years ago

Promising-star commented 2 years ago

如何更改Tshock读取地图的路径,我想直接吧地图放入Tshock(我使用的是Windows系统)

hakusaro commented 2 years ago

Use -world to specify the absolute path to the world file. If you just want to specify the path to look for worlds, use -worldselectpath on the command line.

e.g., TerrariaServer.exe -world c:\myworld.wld -port 7777 -maxplayers 250

The path needs to be an absolute path, not a relative path.