MC基岩版开服教程
<p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><strong>Debian系统使用<a href="https://blog.zeruns.tech/tag/MCSManager/" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">MCSManager</a>面板和Docker容器搭建<a href="https://blog.zeruns.tech/tag/mc/" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">Minecraft</a>基岩版私服的教程</strong></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">视频教程:<a href="https://www.bilibili.com/video/BV1FZ4y1v7iK/" target="_self">https://www.bilibili.com/video/BV1FZ4y1v7iK/</a></p><ul style="padding-left: 2em; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;" class=" list-paddingleft-2"><li><p><strong>其他版本我的世界服务器搭建教程:https://blog.zeruns.tech/tag/mc/</strong></p></li><li><p><strong>各种Minecraft服务端介绍和下载:https://blog.zeruns.tech/archives/626.html</strong></p></li><li><p><strong>高性价比和便宜的VPS/云服务器推荐:</strong> https://blog.zeruns.tech/archives/383.html</p></li></ul><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">我的世界开服交流QQ群2:<a href="https://jq.qq.com/?_wv=1027&k=746buTUF" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">746189110</a></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">MC开服交流QQ频道:<a href="https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&inviteCode=1iwnzt&from=246610&biz=ka" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://url.zeruns.tech/mc_qq</a></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">我的世界开服交流TG群:<a href="https://t.me/Minecraft_zeruns" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://t.me/Minecraft_zeruns</a></p><h2 id="_6" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">基岩版介绍</h2><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><strong>Minecraft Bedrock Edition 也就是我的世界基岩版</strong>,基岩版(Bedrock Edition),是由Mojang Studios、Xbox Game Studios和SkyBox Labs开发的多平台版本Minecraft。由于游戏引擎来源于携带版,所以在此版本之前,这个作品系列在被提及时使用“携带版”、“MCPE”或“携带/Windows 10版”的名称。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><strong>Minecraft 基岩版可以运行在 Win10、Android、iOS、XBox、switch</strong>。基岩版不能使用 Java 版的服务器,Java 版也不能使用基岩版的服务器,不过 Win10、Android、iOS、XBox、switch 的基岩版都可以使用同一个服务器,也就是说基岩版的服务器可以让 Win10 和手机一起联机。</p><h2 id="_9" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">MCSM9介绍</h2><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><strong>分布式,稳定可靠,开箱即用,高扩展性,支持 <a href="https://blog.zeruns.tech/tag/mc/" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">Minecraft</a> 和其他少数游戏的控制面板。</strong></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><a href="https://blog.zeruns.tech/tag/MCSManager/" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">MCSManager</a> 面板(简称:<a href="https://blog.zeruns.tech/tag/mcsm/" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">MCSM</a> 面板)是一款全中文,轻量级,开箱即用,多实例和支持 Docker 的 Minecraft 服务端管理面板。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">此软件在 Minecraft 和其他游戏社区内中已有一定的流行程度,<strong>它可以帮助你集中管理多个物理服务器</strong>,动态在任何主机上创建游戏服务端,并且提供安全可靠的多用户权限系统,可以很轻松的帮助你管理多个服务器。</p><h2 id="_13" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">准备</h2><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><br/></p><p style="overflow-wrap: break-word; padding: 0px; margin-top: 0px; margin-bottom: 16px; -webkit-font-smoothing: subpixel-antialiased; font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255); color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;"><span style="overflow-wrap: break-word; padding: 0px; margin: 0px; -webkit-font-smoothing: subpixel-antialiased; font-family: nexzhu !important; font-weight: 700;">首先你得有台服务器(已经有的可以忽略),推荐<a href="https://www.zhidianyun.cn/?u=0A6E51" target="_self" style="overflow-wrap: break-word; padding: 0px; margin: 0px; -webkit-font-smoothing: subpixel-antialiased; color: rgb(1, 91, 254);">指点云</a>的5800X云服务器:</span></p><p style="overflow-wrap: break-word; padding: 0px; margin-top: 0px; margin-bottom: 16px; -webkit-font-smoothing: subpixel-antialiased; font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255); color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;"><span style="overflow-wrap: break-word; padding: 0px; margin: 0px; -webkit-font-smoothing: subpixel-antialiased; font-family: sans-serif; color: rgb(255, 0, 0); font-size: 16px;">注册购买地址(从此链接注册可享受8.5折优惠):</span><span style="overflow-wrap: break-word; padding: 0px; margin: 0px; -webkit-font-smoothing: subpixel-antialiased; font-family: nexzhu !important; color: rgb(1, 91, 254); font-size: 16px;"><a href="https://www.zhidianyun.cn/?u=0A6E51" target="_blank" style="overflow-wrap: break-word; padding: 0px; margin: 0px; -webkit-font-smoothing: subpixel-antialiased; font-family: sans-serif; color: rgb(1, 91, 254); font-size: 16px;">https://www.zhidianyun.cn/?u=0A6E51</a></span></p><p style="overflow-wrap: break-word; padding: 0px; margin-top: 0px; margin-bottom: 16px; -webkit-font-smoothing: subpixel-antialiased; font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255); color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;"><span style="color: rgb(255, 0, 0); font-size: 16px; font-family: nexzhu;">8.5折优惠券(下单时使用):50268C</span></p><p style="overflow-wrap: break-word; padding: 0px; margin-top: 0px; margin-bottom: 0px; -webkit-font-smoothing: subpixel-antialiased; font-family: nexzhu; color: rgb(68, 68, 68); font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);"><span style="overflow-wrap: break-word; padding: 0px; margin: 0px; -webkit-font-smoothing: subpixel-antialiased; color: rgb(0, 128, 0);">性能测试评测文章:<a href="https://www.awsl9527.cn/archives/967.html" target="_blank" style="overflow-wrap: break-word; padding: 0px; margin: 0px; -webkit-font-smoothing: subpixel-antialiased; color: rgb(1, 91, 254);">https://www.awsl9527.cn/archives/967.html</a></span></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><br/></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><strong>其他性价比高的服务器推荐:https://blog.zeruns.tech/archives/383.html</strong><br/></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">各大云服务厂商 轻量应用服务器 性能评测对比,阿里云、腾讯云、华为云、Ucloud:<a href="https://blog.zeruns.tech/archives/675.html" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://blog.zeruns.tech/archives/675.html</a></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><strong>如果你是新用户有优惠,建议能买多长时间就买多长时间,因为优惠价的服务器到期后续费很贵的,而且新用户优惠只能买一次,所以尽量买长时间点划算。</strong></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">2核4G内存 5兆带宽的服务器大约可以同时在线5到15人,4核8G 10兆的服务器大约可以同时在线15到30人。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><strong>不要买1兆带宽的!!! 1兆带宽最多一两个人玩,建议5兆起!!!</strong></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">购买服务器后选择安装 <strong>Debian10或11</strong> 系统,然后用ssh登陆服务器。ssh客户端软件推荐putty或mobaxterm。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">默认账号一般是:root 密码是你自己在购买时设置的,有些可能购买时没有设置密码的可以购买后在控制台重置密码。</p><h2 id="_23" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">连接服务器</h2><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">下载安装并打开ssh客户端软件,ssh客户端软件推荐<a href="https://url.zeruns.tech/F2FLO" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">putty</a>或mobaxterm。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">在SSH客户端中输入服务器IP地址,然后点击打开。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">如果弹出下图的警告就点<strong>是</strong></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">然后输入账号并按回车,账号一般默认为<strong>root</strong>,接着输入密码并按回车确定,输入密码时不会显示出来。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">温馨提示:在SSH终端中按住鼠标左键选择文字,然后松开鼠标,再在空白处单击一下,这样就把选中的文字复制了;在SSH终端单击右键即为粘贴。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><h2 id="_32" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">端口开放</h2><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><strong>基岩版服务器默认端口是19132,协议为UDP;MCSM9需要的端口,23333和24444,协议为TCP。</strong></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">如果你使用<a href="https://www.aliyun.com/minisite/goods?taskPkg=1212cpz&pkgSid=182220&userCode=jdjc69nf" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">阿里云</a>,<a href="https://curl.qcloud.com/lQSAXVLq" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">腾讯云</a>或者其他云服务商,<strong>请进入控制台到 防火墙/安全组 策略,放行以上端口</strong>。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">或者放行全部端口,入和出方向都要。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">下图分别是开放部分端口和开放全部端口的示例。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">关闭系统自带防火墙:</p><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;"># 关闭防火墙,依次执行systemctl stop firewalld
systemctl disable firewalld
service iptables stop</pre><h2 id="_41" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">安装面板</h2><h3 id="_42" style="margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.38em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">一行命令快速安装</h3><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;">wget -qO- https://gitee.com/mcsmanager/script/raw/master/setup.sh | bash</pre><ul style="padding-left: 2em; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;" class=" list-paddingleft-2"><li><p>脚本仅适用于 AMD64 架构 Ubuntu/Centos/Debian/Archlinux)</p></li><li><p>执行完成后,使用 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">systemctl start mcsm-{daemon,web}</code> 即可启动面板服务。</p></li><li><p>使用 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">systemctl enable mcsm-{daemon,web}.service</code> 来开启开机自启</p></li><li><p>面板代码与运行环境自动安装在 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">/opt/mcsmanager/</code> 目录下。</p></li></ul><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">配置文件目录: <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">data/SystemConfig/config.json</code></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">用户数据文件目录:<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">data/User/*.json</code></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">远程守护进程配置文件目录:<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">data/RemoteServiceConfig/*.json</code></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">安装完成后访问 <a href="https://blog.zeruns.tech/" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">http://你服务器的ip:23333/</a> 即可进入面板。</p><ul style="padding-left: 2em; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;" class=" list-paddingleft-2"><li><p>默认账号:root</p></li><li><p>默认密码: 123456</p></li></ul><h3 id="_50" style="margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.38em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">Linux 手动安装</h3><ul style="padding-left: 2em; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;" class=" list-paddingleft-2"><li><p>若一键安装不起作用,则可以尝试此步骤手动安装。</p></li></ul><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;"># 切换到安装目录,没有此目录请执行 mkdir /opt/
cd /opt/
# 下载运行环境(已有 Node 14+ 可忽略)
wget https://npm.taobao.org/mirrors/node/v14.17.6/node-v14.17.6-linux-x64.tar.gz
# 解压文件
tar -zxvf node-v14.17.6-linux-x64.tar.gz
# 链接程序到环境变量中
ln -s /opt/node-v14.17.6-linux-x64/bin/node /usr/bin/node
ln -s /opt/node-v14.17.6-linux-x64/bin/npm /usr/bin/npm
# 准备安装目录
mkdir /opt/mcsmanager/
cd /opt/mcsmanager/
# 下载面板端(Web)程序
git clone https://github.com/MCSManager/MCSManager-Web-Production.git
# 重命名文件夹并进入
mv MCSManager-Web-Production web
cd web
# 安装依赖库
npm install --registry=https://registry.npm.taobao.org
# 返回上级目录
cd ..
# 下载守护进程(Daemon)程序
git clone https://github.com/MCSManager/MCSManager-Daemon-Production.git
# 重命名文件夹并进入
mv MCSManager-Daemon-Production daemon
cd daemon
# 安装依赖库
npm install --registry=https://registry.npm.taobao.org
# 安装nano编辑器
apt install nano</pre><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><strong>接着是配置 Systemd 服务</strong></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">运行命令 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">nano /etc/systemd/system/mcsm-web.service</code> 来编辑web面板的服务,输入下面的内容,然后按 Ctrl + O 再按回车来保存,接着按 Ctrl + X 来退出。</p><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;"># /etc/systemd/system/mcsm-web.service
Description=MCSM 9 Web
WorkingDirectory=/opt/mcsmanager/web
ExecStart=/usr/bin/node app.js
WantedBy=multiuser.target</pre><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">运行命令 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">nano /etc/systemd/system/mcsm-daemon.service</code> 来编辑web面板的服务,输入下面的内容,然后按 Ctrl + O 再按回车来保存,接着按 Ctrl + X 来退出。</p><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;"># /etc/systemd/system/mcsm-daemon.service
Description=MCSM 9 Daemon
WorkingDirectory=/opt/mcsmanager/daemon
ExecStart=/usr/bin/node app.js
WantedBy=multiuser.target</pre><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><strong>接着是启动服务和设置开机自启</strong></p><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;"># 重新载入变更
systemctl daemon-reload
# 设置开机自启
systemctl enable mcsm-{daemon,web}.service
# 启动服务
systemctl start mcsm-{daemon,web}.service
# 停止服务,正常情况不要运行此命令
systemctl stop mcsm-{web,daemon}.service
# 显示运行状况和日志
systemctl status mcsm-web.service
systemctl status mcsm-daemon.service -l
# 默认情况下,面板端会自动扫描 daemon 文件夹并且自动连接到守护进程。</pre><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">如果登陆面板后没有看到守护进程,可以运行下面的命令来获取密钥,然后按下图所示手动添加到面板。</p><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;">cat /opt/mcsmanager/daemon/data/Config/global.json</pre><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">下图里的127.0.0.1应该改成 你服务器公网IP 或者 localhost</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><h2 id="_65" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">安装Docker</h2><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">用apt包管理器来安装:</p><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;"># 安装docker
apt install docker.io
# 设置docker开机自启和启动docker
systemctl enable docker && systemctl start docker
# 检查是否安装成功,若安装成功会显示 Docker version x.x.x
docker -v</pre><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">若没安装成功就试试下面的安装脚本:</p><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;"># 安装docker
curl -sSL https://get.daocloud.io/docker | sh
# 设置docker开机自启和启动docker
systemctl enable docker && systemctl start docker
# 检查是否安装成功,若安装成功会显示 Docker version x.x.x
docker -v</pre><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">如果还是不行就尝试下面链接的手动安装教程吧</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">docker手动安装教程:<a href="https://url.zeruns.tech/docker" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://url.zeruns.tech/docker</a></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><strong>Docker换国内源</strong></p><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;"># 创建或修改 /etc/docker/daemon.json 文件
apt install nano && nano /etc/docker/daemon.json
# 然后输入下面内容:(输入完后按Ctrl+O,然后回车保存,接着按Ctrl+X退出编辑器)
{
registry-mirrors:
}
# 重启docker服务
systemctl restart docker.service</pre><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><h2 id="_76" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">安装ubuntu镜像</h2><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">进入面板,找到环境镜像管理点击进去</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">点击 新建镜像,接着点击 创建ubuntu环境镜像</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><br/></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">在apt update后面加一句 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">RUN apt -y install wget</code> ,如下图所示,然后点确定。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">接着等待构建完成</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><h2 id="_85" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">运行服务端</h2><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">首先要去官网下载Linux版的BDS服务端,官网一般只提供最新版的服务端。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">BDS官网下载地址:<a href="https://url.zeruns.tech/MC_BDS" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://url.zeruns.tech/MC_BDS</a></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">1.19.2.02版 百度网盘下载地址:<a href="https://url.zeruns.tech/z00kY" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://url.zeruns.tech/z00kY</a></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">客户端版本尽量保持跟服务端版本一致,可以略高于服务端,但不能高太多。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">点击 应用实例→新建实例→基岩版Minecraft服务端→上传服务端压缩包</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"><br/><br/></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">接着实例名字自己填一个,启动命令填 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">./bedrock_server</code> ,然后点上传压缩包,选择刚刚下载的基岩版服务端压缩包。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">等待上传完成后点击 前往编辑实例具体参数</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">然后 进程启动方式选择虚拟化容器,环境镜像选择mcsm-ubuntu:latest,开放端口填19132:19132/udp,填好后点击右下角的保存。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">将上图中的工作目录里面的目录路径复制一下,然后回到SSH终端,输入命令 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">cd 目录路径</code> 来进入到服务端所在目录,命令中的目录路径换成你上面复制的。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">输入命令 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">ls</code> 可以查看当前目录下的文件,可以看看压缩包有没有解压成功,如果解压成功就有多个文件的。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">接着输入命令 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">chmod 755 目录路径 </code>,目录路径也是换成上面复制的,这个命令是给予你服务端目录权限。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">现在这个版本的MCSM解压缩有点问题,解压出来的文件不全,可以在SSH中进到服务端的目录,用命令 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">unzip bedrock-server-1.19.2.02.zip</code> 来解压,命令中的bedrock-server-1.19.2.02.zip换成你压缩包的名字,若提示有重复文件,就输入A,全部替换。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">接着到实例控制台点<strong>开启实例</strong>即可,看到如下图所示信息就是开启完成了</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><h2 id="_105" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">进入游戏</h2><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">在游戏里点击添加服务器,输入你服务器的公网IP即可</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;"></p><h2 id="_109" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">配置</h2><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">服务端解压后会包含一个名为 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">server.properties</code> 的配置文件,服务器相关的配置就在这个配置文件中。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">可以在面板的文件管理中打开配置文件编辑。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">配置文件中的 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">#</code> 开头的行是注释,可以不用管,主要就是修改 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">=</code> 后面的内容。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">下面是一些配置项说明:</p><ul style="padding-left: 2em; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;" class=" list-paddingleft-2"><li><p><code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">gamemode</code>:默认的游戏模式,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">survival</code> 生存,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">creative</code> 创造,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">adventure</code> 冒险。</p></li><li><p><code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">difficulty</code>:默认难度,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">peaceful</code> 和平,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">easy</code> 简单,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">normal</code> 普通,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">hard</code> 困难。</p></li><li><p><code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">max-players</code>:玩家数量限制,默认为 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">10</code>。</p></li><li><p><code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">server-port</code>:服务器端口,默认为 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">19132</code>。</p></li><li><p><code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">server-portv6</code>:IPv6 端口,默认为 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">19133</code>。</p></li><li><p><code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">online-mode</code>:正版验证,如果你的服务器可以正常连接到 Xbox Live 的话,可以设置为 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">true</code>,否则可以设置为 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">false</code>,即便不开启正版验证,客户端也需要登录 Xbox Live 才能联机。</p></li><li><p><code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">white-list</code>:白名单,只有在白名单中的玩家才能进入服务器,默认为 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">false</code>。</p></li><li><p><code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">allow-cheats</code>:允许作弊,默认为 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">false</code>。</p></li><li><p><code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">player-idle-timeout</code>:自动踢出挂机玩家,默认为 30 分钟。</p></li><li><p><code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">default-player-permission-level</code>:默认玩家等级,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">visitor</code> 游客,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">member</code> 普通玩家,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">operator</code> 管理员。</p></li></ul><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">更详细的配置说明可以查看帮助文档。</p><h2 id="_116" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">白名单配置</h2><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">服务端解压后会包含一个 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">whitelist.json</code> 文件,这就是储存白名单的文件,格式如下:</p><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;">[
{
name: name1,
ignoresPlayerLimit: true
},
{
name: name2
}
]</pre><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">其中的 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">name</code> 是玩家的 Xbox 用户名,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">ignoresPlayerLimit</code> 是忽略服务器人数限制,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">ignoresPlayerLimit</code> 是可省略的。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">只有 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">server.properties</code> 配置文件中的 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">white-list</code> 为 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">true</code>,<code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">whitelist.json</code> 中的白名单才会生效。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">如果在服务器正在运行的时候修改了白名单的话,需要在服务器命令行中输入:</p><pre style="font-family: Menlo, Monaco, Consolas, Courier New, monospace; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; color: rgb(36, 41, 46); font-variant-ligatures: no-common-ligatures;">whitelist.jsonwhitelist reload</pre><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">重新加载白名单才会生效。</p><p style="margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">设置了白名单后就只有 <code style="font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 13.6px; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; margin: 0px; border-radius: 3px; word-break: break-word; background-size: 20px 20px; white-space: pre-wrap; background-image: none;">whitelist.json</code> 中的玩家才能进入服务器。</p><h2 id="_125" style="padding-bottom: 0.3em; border-bottom: 1px solid rgb(234, 236, 239); margin-top: 24px; margin-bottom: 16px; line-height: 1.25; font-size: 1.55em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;">推荐阅读</h2><ul style="padding-left: 2em; color: rgb(36, 41, 46); font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-variant-ligatures: no-common-ligatures; white-space: normal;" class=" list-paddingleft-2"><li><p><strong>高性价比和便宜的VPS/云服务器推荐:</strong> <a href="https://blog.zeruns.tech/archives/383.html" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://blog.zeruns.tech/archives/383.html</a></p></li><li><p>使用NPS自建内网穿透服务器教程,带WEB管理:<a href="https://blog.zeruns.tech/archives/660.html" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://blog.zeruns.tech/archives/660.html</a></p></li><li><p>怎样搭建个人博客:<a href="https://blog.zeruns.tech/archives/218.html" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://blog.zeruns.tech/archives/218.html</a></p></li><li><p>如何搭建一个表白墙网站(LoveWall):<a href="https://blog.zeruns.tech/archives/634.html" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://blog.zeruns.tech/archives/634.html</a></p></li><li><p>各大厂商云服务器性能评测对比:<a href="https://blog.zeruns.tech/archives/670.html" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://blog.zeruns.tech/archives/670.html</a></p></li><li><p>我的世界服务器搭建教程:<a href="https://blog.zeruns.tech/tag/mc/" style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(70, 123, 150); text-decoration-line: none;">https://blog.zeruns.tech/tag/mc/</a></p></li></ul><p><br/></p><link rel="stylesheet" href="//www.zhidianyun.cn/source/plugin/wcn_editor/public/wcn_editor_fit.css?v134_zzs" id="wcn_editor_css"/>
页:
[1]