Linux command
terraria 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
[path/to]/TerrariaServer
Example
[path/to]/TerrariaServer -world [path/to/world.wld]
说明
TerrariaServer creates and runs a headless Terraria game server. It can be started interactively to configure settings or with command-line arguments for automated deployment. The server hosts multiplayer Terraria sessions, allowing players to connect and play together.
参数
- -world _PATH_
- World file to load
- -port _PORT_
- Server port (default: 7777)
- -maxplayers _N_
- Maximum players allowed
- -password _PASS_
- Server password
- -config _FILE_
- Configuration file path
- -autocreate _SIZE_
- Auto-create world (1=small, 2=medium, 3=large)
- -worldname _NAME_
- Name for auto-created world
FAQ
What is the terraria command used for?
TerrariaServer creates and runs a headless Terraria game server. It can be started interactively to configure settings or with command-line arguments for automated deployment. The server hosts multiplayer Terraria sessions, allowing players to connect and play together.
How do I run a basic terraria example?
Run `[path/to]/TerrariaServer` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -world _PATH_ do in terraria?
World file to load