Loading... 本文整理自:https://minecraft-zh.gamepedia.com/index.php?title=Server.properties&variant=zh <!--more--> ```shell #服务器显示在列表里 public=true #服务器名称 server-name=Hulk-MC #服务器最大玩家数 max-players=10 #允许树苗长成树木 grow-trees=true #禁用命令方块 enable-command-block=false #禁用白名单 white-list=false #玩家可视距离 view-distance=10 #启用针对Linux平台收发包优化 use-native-transport=true #出生点保护(n*2)+1 spawn-protection=16 #生成村民 spawn-npcs=true #生成攻击性怪物 spawn-monsters=true #生成动物 spawn-animals=true #禁用收集统计数据 snooper-enabled=false #服务器不绑定至特定IP,服务端口开为25565 server-ip= server-port=25565 #禁用访问控制台 enable-rcon=false rcon.password= rcon.port=25575 #关闭监听端口 enable-rcon=false query.port= #允许PVP pvp=true #资源包的SHA-1值校验,指向一个资源包的URL resource-pack-sha1= resource-pack= #Mojang验证服务器 prevent-proxy-connections=false #玩家空闲时间的时间限制 player-idle-timeout=0 #OP权限等级 op-permission-level=4 #不开启在线验证 online-mode=false #数据包自动压缩大于等于256的包 network-compression-threshold=256 #服务器信息 motd=Hulk-MC #世界边界的最大半径 max-world-size=29999984 #设置每个tick花费的最大毫秒数(WatchDog) max-tick-time=60000 #最大玩家数量 max-players=10 #玩家能建造的最大高度 max-build-height=256 #地图目录以及生成类型 level-name=world-old level-type=DEFAULT level-seed= #极限模式(死亡后被提出) hardcore=false #世界生成的特性:生成特色结构以及不生成超平坦 generator-settings= generate-structures=true #游戏模式(0生存1创造) gamemode=0 #服务器游戏难度 difficulty=1 #展示玩家获得的成就 announce-player-achievements=true #允许进入下界 allow-nether=true #禁止飞行 allow-flight=false #玩家将以推出前的游戏模式加入 force-gamemode=false ``` Last modification:March 26, 2019 © Allow specification reprint Like 0 If you think my article is useful to you, please feel free to appreciate