minetestserver 命令详解

| 选择喜欢的代码风格  

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

minetestserver 命令安装:


-bash/zsh: minetestserver command not found

#Debian
apt-get install minetest-server

#Ubuntu
apt-get install minetest-server

#Alpine
apk add minetest-server

#Arch Linux
pacman -S minetest-server

#Kali Linux
apt-get install minetest-server

#Fedora
dnf install minetest-server

#Raspbian
apt-get install minetest-server

#Docker
docker run cmd.cat/minetestserver minetestserver

minetestserver 命令语法:


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

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

minetestserver 命令选项:



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

minetestserver 命令实例:


启动 minetestserver 服务器:

minetestserver

列出 minetestserver 可用的“世界” - world

minetestserver --world list

minetestserver 指定要加载的世界名称:

minetestserver --world world_name

minetestserver 列出可用的游戏 ID:

minetestserver --gameid list

minetestserver 指定要使用的游戏:

minetestserver --gameid game_id

minetestserver 监听特定端口:

minetestserver --port 34567

minetestserver 迁移到不同的数据后端:

minetestserver --migrate sqlite3|leveldb|redis

启动 minetestserver 服务器后启动交互式终端:

minetestserver --terminal

与 minetest-server 有关的软件包


dep: init-system-helpers (>= 1.54~)
所有初始化系统的帮助工具

dep: adduser
添加、删除用户和组

dep: libc6 (>= 2.29) [amd64, hppa, x32]
GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb

dep: libc6 (>= 2.32) [除 alpha, amd64, hppa, ia64, x32]

dep: libc6.1 (>= 2.32) [alpha, ia64]
GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6.1-udeb

dep: libcurl3-gnutls (>= 7.16.2)
easy-to-use client-side URL transfer library (GnuTLS flavour)

dep: libgcc-s1 (>= 3.0) [amd64, arm64, mips64el, ppc64, ppc64el, s390x, x32]
GCC 支持库

dep: libgcc-s1 (>= 3.4) [alpha, sparc64]
dep: libgcc-s1 (>= 3.5) [armel, armhf]
dep: libgcc-s1 (>= 4.2) [i386, ia64, mipsel, sh4]
dep: libgcc-s1 (>= 4.3) [riscv64]
dep: libgcc-s2 (>= 4.2.1) [m68k]
GCC 支持库

dep: libgcc-s4 (>= 4.1.1) [hppa]
GCC 支持库

dep: libgmp10 (>= 2:6.2.1+dfsg)
Multiprecision arithmetic library

dep: libjsoncpp24 (>= 1.9.4)
library for reading and writing JSON for C++

dep: libleveldb1d [alpha, m68k, sh4]
fast key-value storage library

dep: libleveldb1d (>= 1.23) [除 alpha, m68k, sh4]
dep: liblua5.1-0 [除 amd64, armel, armhf, i386]
Shared library for the Lua interpreter version 5.1

dep: libluajit-5.1-2 (>= 2.0.4+dfsg) [amd64, armel, armhf, i386]
Just in time compiler for Lua - library version

dep: libncursesw6 (>= 6)
终端处理的共享库 (宽字符支持)

dep: libpq5 (>= 9.1~)
PostgreSQL C client library

dep: libspatialindex6 (>= 1.8.5)
General framework for developing spatial indices

dep: libsqlite3-0 (>= 3.5.9)
SQLite 3 共享库

dep: libstdc++6 (>= 11)
GNU 标准 C++ 库,第3版

dep: libtinfo6 (>= 6)
用于终端处理的共享底层 terminfo 库

dep: libunwind8 [ia64]
library to determine the call-chain of a program - runtime

dep: lsb-base (>= 3.0-6)
Linux 标准规范初始化脚本功能

dep: minetest-data (= 5.4.1+repack-2)
Multiplayer infinite-world block sandbox (data files)

dep: zlib1g (>= 1:1.1.4)
压缩库 - 运行时

minetestserver 命令扩展阅读:




minetestserver 命令评论