基本配置
代表 configuration.toml
服务端地址
设置服务端绑定的地址。 (绑定后只允许来自该 IP 的玩家进入服务端)
toml
server_address = "0.0.0.0:25565"种子
设置世界生成的种子。
toml
seed = ""最大玩家数
设置服务端允许的最大玩家数量。
toml
max_players = 100000视野距离
设置玩家的最大视野距离。
toml
view_distance = 10模拟距离
设置玩家的最大模拟距离。
toml
simulation_distance = 10默认难度
设置游戏的默认难度。
toml
default_difficulty = "Normal"toml
Peaceful
Easy
Normal
Hard操作权限等级
设置所有玩家的默认权限等级。
toml
op_permission_level = 4允许下界
是否启用下界维度。
toml
allow_nether = true极限模式
是否启用服务端的极限模式。
toml
hardcore = false在线模式
是否启用在线模式。需要有效的 Minecraft 账户。
toml
online_mode = true加密
是否启用数据包加密。
IMPORTANT
启用在线模式时需要。
toml
encryption = true服务器描述
设置在服务器列表上显示的服务端描述。
toml
motd = "一款超快速的南瓜服务端!"TPS
设置服务端的目标 Tick 速率。
toml
tps = 20.0默认游戏模式
设置玩家的默认游戏模式。
toml
default_gamemode = "Survival"toml
Undefined
Survival
Creative
Adventure
SpectatorIP隐藏
是否从日志中隐藏玩家 IP。
toml
scrub_ips = true使用图标
是否使用服务端图标。
toml
use_favicon = true图标路径
设置服务端图标的路径。
toml
favicon_path = "icon.png"