对于Java版(生存模式)
步骤1 – 启用作弊(如果需要)
- 打开服务器文件夹中的
server.properties。 - 如果使用命令方块,设置
enable-command-block=true。 - 保存并重启服务器。
步骤2 – 使用/gamerule命令
运行:
/gamerule reducedDebugInfo false
这确保完整的调试屏幕(F3)显示坐标。
步骤3 – 按F3
打开调试屏幕以查看坐标。
对于基岩版(生存/多人服务器)
步骤1 – 在游戏设置中启用坐标
- 打开
server.properties。 - 查找
allow-cheats=true(可选)。
步骤2 – 使用/gamerule showcoordinates true命令
在游戏中输入:
/gamerule showcoordinates true
这将为所有玩家显示坐标。
对于Java版(自定义插件或模组)
- 如果使用EssentialsX或类似插件,配置
/coords命令。 - 像Xaero’s Minimap或JourneyMap这样的模组提供坐标显示。
