minetest 命令详解

| 选择喜欢的代码风格  

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

minetest 命令安装:


-bash/zsh: minetest command not found

#Debian
apt-get install minetest

#Ubuntu
apt-get install minetest

#Alpine
apk add minetest
 
#Arch Linux
pacman -S minetest

#Kali Linux
apt-get install minetest

#Fedora
dnf install minetest

#OS X
brew install minetest

#Raspbian
apt-get install minetest

#Docker
docker run cmd.cat/minetest minetest

minetest 命令补充说明:


minetest 是一个开源体素游戏引擎。根据自己的喜好修改游戏,制作自己的游戏,或在多人服务器上玩。

服务器端为 minetestserver。


minetest Screenshot -1


minetest Screenshot -2


minetest Screenshot -3

minetest 命令语法:


minetest [--server Server Options | Client Options] [Common Options] [WORLD PATH]

minetestserver [Server Options] [Common Options] [WORLD PATH]

minetest 命令选项:



--help
Print allowed options and exit

--version
Print version information and exit

--config <value>
Load configuration from specified file

--logfile <value>
Set logfile path ('' for no logging)

--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

--color <value>
Colorize the logs ('always', 'never' or 'auto'), defaults to 'auto'

--gameid <value> | list
Set gameid or list available ones

--worldname <value>
Set world path by name

--world <value>
Set world path

--worldlist path | name | both
Get list of worlds ('path' lists paths, 'name' lists names, 'both' lists both)

--map-dir <value>
Same as --world (deprecated)

--port <value>
Set network port (UDP) to use

--run-unittests
Run unit tests and exit

Client Options
--address <value>
Address to connect to

--go
Disable main menu

--name <value>
Set player name

--password <value>
Set password

--password-file <value>
Set password from contents of file

--random-input
Enable random user input, for testing (client only)

--videomodes
List available video modes (client only)

--speedtests
Run speed tests

Server Options
--migrate <value>
Migrate from current map backend to another. Possible values are sqlite3, leveldb, redis, postgresql, and dummy.

--migrate-auth <value>
Migrate from current auth backend to another. Possible values are sqlite3, leveldb, and files.

--migrate-players <value>
Migrate from current players backend to another. Possible values are sqlite3, leveldb, postgresql, dummy, and files.

--terminal
Display an interactive terminal over ncurses during execution.

minetest 命令实例:


在客户端模式下启动 minetest:

minetest

在服务器模式下启动 minetest:

minetest --server

minetest 将日志写入特定文件:

minetest --logfile path/to/file

minetest 只将错误写入控制台:

minetest --quiet

minetest 命令扩展阅读:




minetest 命令评论