← 返回命令列表

Linux command

minetestserver 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start Minetest server

minetestserver

Start with specific world

minetestserver --world [/path/to/world]

Start on specific port

minetestserver --port [30000]

Start with game ID

minetestserver --gameid [minetest_game] --world [/path/to/world]

说明

minetestserver runs a dedicated Minetest game server. Hosts multiplayer worlds without a graphical client. Supports mods, custom games, and player management.

参数

--world _path_
World directory path.
--port _port_
Server port (default 30000).
--gameid _id_
Game ID to use.
--config _file_
Configuration file.
--logfile _file_
Log output file.
--terminal
Run in terminal mode.
--migrate _backend_
Migrate map data to backend.

FAQ

What is the minetestserver command used for?

minetestserver runs a dedicated Minetest game server. Hosts multiplayer worlds without a graphical client. Supports mods, custom games, and player management.

How do I run a basic minetestserver example?

Run `minetestserver` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --world _path_ do in minetestserver?

World directory path.