← 返回命令列表

Linux command

luantiserver 命令

文本

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

常用示例

Start Luanti server

luantiserver

Start with specific world

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

Start on specific port

luantiserver --port [30000]

Start with interactive terminal

luantiserver --terminal --verbose

Start with custom config

luantiserver --config [/path/to/minetest.conf] --logfile [/path/to/server.log]

说明

luantiserver runs a dedicated Luanti game server. Luanti (formerly Minetest) is an open source voxel game-creation platform. The server hosts multiplayer worlds with full mod support, using UDP on port 30000 by default.

参数

--world _path_
World directory path.
--worldname _name_
Set world path by name.
--port _port_
Set network port (UDP). Default is 30000.
--gameid _id_ | list
Set game ID to use, or list available games.
--config _file_
Load configuration from specified file.
--logfile _file_
Set logfile path ('' for no logging).
--terminal
Display an interactive terminal over ncurses during execution.
--info
Print more information to console.
--verbose
Print even more information to console.
--trace
Print enormous amounts of information to console.
--quiet
Print only errors to console.
--migrate _backend_
Migrate from current map backend to another (sqlite3, leveldb, postgresql, redis).
--migrate-players _backend_
Migrate from current players backend to another (sqlite3, leveldb, postgresql, files).
--migrate-auth _backend_
Migrate from current auth backend to another (sqlite3, leveldb, files).
--go
Run server without a client directly.
--help
Print allowed options and exit.
--version
Print version information and exit.

FAQ

What is the luantiserver command used for?

luantiserver runs a dedicated Luanti game server. Luanti (formerly Minetest) is an open source voxel game-creation platform. The server hosts multiplayer worlds with full mod support, using UDP on port 30000 by default.

How do I run a basic luantiserver example?

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

What does --world _path_ do in luantiserver?

World directory path.