← 返回命令列表

Linux command

luanti 命令

文本

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

常用示例

Start the game

luanti

Start with specific game

luanti --game [minetest_game]

Start server only

luanti --server

Connect to server

luanti --address [server.example.com] --port [30000]

Start with specific world

luanti --world [/path/to/world]

Set player name

luanti --name [playername]

Migrate map database

luanti --migrate [sqlite3] --world [/path/to/world]

Run in terminal

luanti --terminal --server

说明

Luanti (formerly Minetest) is a voxel game engine and sandbox game. Players explore, build, and modify procedurally generated worlds made of cubic blocks. The engine supports modding through Lua scripts. Games are modpacks that define gameplay, blocks, crafting, and creatures. The default Minetest Game provides survival and creative modes. Multiplayer servers host persistent worlds where players collaborate or compete. Servers can run different games with custom rules and content. World data stores in SQLite by default, with options for LevelDB or PostgreSQL for larger servers. Map generation uses various algorithms for terrain, caves, and structures. Content is available through the built-in content browser, including games, mods, and texture packs from the community.

参数

--server
Run as dedicated server.
--address _ADDR_
Address to connect to or bind.
--port _PORT_
Network port (default 30000).
--world _PATH_
Path to world directory.
--worldname _NAME_
World name in worlds directory.
--game, --gameid _ID_
Game to use.
--name _NAME_
Player name.
--password _PASS_
Password for server.
--config _FILE_
Configuration file.
--info
Print more information.
--verbose
Print even more information.
--terminal
Run in terminal mode (server).
--migrate _BACKEND_
Migrate world to different backend.
--version
Print version.
--help
Show help.

FAQ

What is the luanti command used for?

Luanti (formerly Minetest) is a voxel game engine and sandbox game. Players explore, build, and modify procedurally generated worlds made of cubic blocks. The engine supports modding through Lua scripts. Games are modpacks that define gameplay, blocks, crafting, and creatures. The default Minetest Game provides survival and creative modes. Multiplayer servers host persistent worlds where players collaborate or compete. Servers can run different games with custom rules and content. World data stores in SQLite by default, with options for LevelDB or PostgreSQL for larger servers. Map generation uses various algorithms for terrain, caves, and structures. Content is available through the built-in content browser, including games, mods, and texture packs from the community.

How do I run a basic luanti example?

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

What does --server do in luanti?

Run as dedicated server.