Minecraft我的世界服务端教程03

您所在的位置:网站首页 coreprotect教程 Minecraft我的世界服务端教程03

Minecraft我的世界服务端教程03

2024-07-11 07:01| 来源: 网络整理| 查看: 265

本文禁止转载或摘编

本教程以win10为示例,linux安装方法可以加群问

首先确定是准备做生电或者玩原版特性的服务器还是加插件改变游戏玩法的服务器

要求保留原版特性的话用spigot,不然推荐使用paper(优化很好)

壹:下载插件核心

spigot:官网目前已不提供核心下载,但是提供了构建工具

              https://hub.spigotmc.org/jenkins/job/BuildTools/

             以及使用教程(英文)

             https://www.spigotmc.org/wiki/buildtools/#running-buildtools

我们首先从第一个链接下载BuildTools.jar,然后在D盘新建一个文件夹,把BuildTools.jar放进去,然后再文件夹里新建一个文本文档,输入以下红字内容

@echo offset /p Input=Enter the version: || set Input=latestjava -jar BuildTools.jar --rev %Input%pause

然后另存为buildtool.bat

点击启动之后输入你要下载的版本

第一次运行会下载很多构建需要的文件,会比较慢,如果下载不了的话可以看我在置顶评论发的链接

当构建成功的时候会显示如图消息

构建成功

核心就会在buildtool文件夹里

核心

paper:官方提供了核心的最新构建下载地址

                https://papermc.io/downloads

                我们选择自己需要的版本,如果没有自己需要的版本,将页面拉到最下面

                有一个灰色的按钮LEGACY,点击会显示旧版本的核心下载

                旧版本链接:https://papermc.io/legacy

贰:搭建服务端

在D盘新建一个文件夹,重命名为server(名字随意)

将核心移动到server文件夹,并重命名为server.jar

在server文件夹新建一个文本文档,并命名为start.bat

在start.bat中写入java -Xms1G -Xmx1G -jar server.jar nogui

-Xms1G:设置初始内存为1G(可自行修改)

-Xmx1G:设置最大可用内存为1G(可自行修改)

-Xms设置与-Xmx相同,以避免每次垃圾回收后重新分配内存。

这是最简单的开服脚本,具体细节可以加群问

双击start.bat,会有一个窗口闪一下,然后server文件夹里面会多出一个eula.txt文件

打开eula.txt文件,把里面的false改成true

再双击start.bat,这一次可以看到服务端正常运行

叁:配置服务端

因为参数较多,所以只挑一些重要的参数讲,蓝字为参数解释

server.propertise:

online-mode=true  正版验证,设置为true仅限正版玩家进入,设置为false关闭正版验证

spawn-protection=16 2x该值+1的为出生点的保护半径。设置为0禁用出生点保护

server-port=25565 服务器(监听的)端口号,如服务器能正常运行则不需要更改

server-ip= 留空,或是填入你想让服务器绑定(监听)的IP。强烈建议留空!!!

enable-command-block=false 是否启用命令方块,设置为true启用命令方块

详细解释参考wiki https://minecraft-zh.gamepedia.com/Server.properties

bukkit.yml(仅插件核心和mohist核心会有)

参考wiki(英文) https://bukkit.gamepedia.com/Bukkit.yml

spigot.yml(仅spigot/paper核心和mohist核心会有)

参考wiki(英文) https://www.spigotmc.org/wiki/spigot-configuration/

paper.yml(仅paper核心和mohist核心会有)

参考wiki(英文) https://paper.readthedocs.io/en/latest/server/configuration.html

中文参考:https://www.mcbbs.net/thread-661695-1-1.html

优化参考:https://www.mcbbs.net/thread-478126-1-1.html

开服脚本优化参考(英文):https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/

肆:安装插件

插件可以在mcbbs的插件板块和spigot上面下载

链接:https://www.mcbbs.net/forum-servermod-1.html

           https://www.spigotmc.org/

下载插件时注意支持的游戏版本,核心类型,有无前置

下载完了的插件应该是.jar文件,将插件本体和前置(有前置的情况下)放进server/plugins文件夹然后重启服务端就可以启用插件了

插件的配置文件一般会生成在server/plugins文件夹下的插件同名文件夹中,一般插件的配置文件名字时config.yml,或者还有其他的配置文件

如果你加了一个新的插件,但是他没有汉化,这个时候可以去mcbbs的插件板块搜索插件的帖子,里面一般会有汉化教程和汉化的语言文件,但是也不排除一些插件没人搬运/没有语言文件(比如粘液科技的一些附属),这种时候你可以寻找别人构建的汉化的插件比如粘液科技就有官方版本和汉化过的版本(当然这个是有搬运的)

链接:官方:https://github.com/Slimefun/Slimefun4

           汉化:https://github.com/StarWishsama/Slimefun4

一般插件在config.yml里面会有language或者locate的选项,按照注释的内容改成zhcn或者zh-CN或者其他格式之后重载插件一般就能有显示了(一定要严格按照要求修改语言并且注意大小写)

插件的命令/权限/配置文件修改内容一般会在插件帖子或者插件wiki或者插件注释中有说明

伍:个人认为应该加的插件列表(都支持到1.16.5)

EssentialsX(包括本体和Protect,Chat,Spawn):提供大部分的基础指令和对玩家限制。使用时需要手动给default组添加权限。注意需要下载带X的版本

mcbbs:https://www.mcbbs.net/thread-619883-1-1.html

中文Wiki:https://mineplugin.org/Essentials

官网:https://essentialsx.net/

英文Wiki:https://essentialsx.net/wiki/Home.html

构建:https://ci.ender.zone/job/EssentialsX/

GitHub:https://github.com/EssentialsX/Essentials/

Luckperms:提供权限组管理,个人认为比GroupManager好用,安装完第一次启动可能比较慢,请耐心等待

mcbbs:https://www.mcbbs.net/thread-676818-1-1.html

官网:https://luckperms.net/

中文Wiki:https://pluginscdtribe.github.io/wiki/luckperms/

构建:https://ci.lucko.me/job/LuckPerms/

GitHub:https://github.com/lucko/LuckPerms/

AuthMeReloaded(开发版):提供登录功能,替代正版验证

mcbbs:https://www.mcbbs.net/thread-442729-1-1.html

官网:https://www.spigotmc.org/resources/authme-reloaded.6269

英文Wiki:https://github.com/AuthMe/AuthMeReloaded/tree/master/docs

构建:https://ci.codemc.io/job/AuthMe/job/AuthMeReloaded/

GitHub:https://github.com/AuthMe/AuthMeReloaded/

CoreProtect:记录玩家的几乎所有操作,提供按区域/玩家/时间回档的功能,防熊利器,但是要定期清理,不然会很占储存

mcbbs:https://www.mcbbs.net/thread-682499-1-1.html

官网:https://www.spigotmc.org/resources/coreprotect.8631/

中文Wiki:https://mineplugin.org/CoreProtect

Residence:领地插件,允许玩家圈地以保护自己的房屋农田等建筑。虽然是付费插件,但是提供了免费版下载,会限制在63格以上高度放置流体和中立方块,一定要手动关闭,方法见mcbbs帖子

mcbbs:https://www.mcbbs.net/thread-631343-1-1.html

官网:https://www.spigotmc.org/resources/residence-1-7-10-up-to-1-16.11480/

免费下载:https://zrips.net/Residence/

Github:https://github.com/Zrips/Residence

Vault:经济及部分插件的前置

官网:https://www.spigotmc.org/resources/vault.34315/

mcbbs(旧版本,仅供参考):https://www.mcbbs.net/thread-703488-1-1.html

中文Wiki:https://mineplugin.org/Vault

XConomy:经济插件,国产插件,作者修bug快,也可以用其他的经济插件代替

mcbbs:https://www.mcbbs.net/thread-962904-1-1.html (包含Wiki)

spigot:https://www.spigotmc.org/resources/xconomy.75669/

GitHub:https://github.com/YiC200333/XConomy

Skinsrestorer:皮肤插件,允许离线服务器显示正版皮肤(没办法,谁叫国内离线玩家多)

mcbbs:https://www.mcbbs.net/thread-805404-1-1.html

官网:https://www.spigotmc.org/resources/skinsrestorer.2124/

英文Wiki:https://github.com/SkinsRestorer/SkinsRestorerX/wiki

GitHub:https://github.com/SkinsRestorer/SkinsRestorerX

PlaceholderAPI:占位符变量,返回你需要的玩家数据,很多插件的软前置

mcbbs:https://www.mcbbs.net/thread-829732-1-1.html

官网:https://www.spigotmc.org/resources/placeholderapi.6245/

中文Wiki:https://mineplugin.org/PlaceholderAPI

LockettePro:木牌箱子锁(也可选LWCX作为锁箱子,但是使用和配置略复杂)

mcbbs(旧版本,仅供参考):https://www.mcbbs.net/thread-944015-1-1.html

官网:https://www.spigotmc.org/resources/lockettepro-for-1-14-1-15-1-16.74354/

GitHub:https://github.com/brunyman/LockettePro

英文Wiki:https://github.com/connection-lost/LockettePro/wiki

LWCX:箱子锁(也可选LockettePro作为锁箱子,但是牌子会占用一格空间,且给予的信任人数有上限,要给很多信任时建议使用圈地)

mcbbs(旧版本,仅供参考):https://www.mcbbs.net/thread-892322-1-1.html

官网:https://www.spigotmc.org/resources/lwc-extended.69551/

GitHub:https://github.com/pop4959/LWCX

构建:https://ci.codemc.io/job/pop4959/job/LWCX-dev/

英文Wiki:https://github.com/pop4959/LWCX/wiki

Multiverse-Core:多世界插件,方便管理多个世界,是部分插件的前置

mcbbs:https://www.mcbbs.net/thread-1016455-1-1.html

官网:https://dev.bukkit.org/projects/multiverse-core(可能需要魔法上网)

中文Wiki:https://mineplugin.org/Multiverse-Core

构建:https://ci.onarandombox.com/job/Multiverse-Core/

GitHub:https://github.com/Multiverse/Multiverse-Core/

QuickShop Reremake:商店插件,允许使用箱子,末影箱等容器作为商店出售或收购物品

mcbbs:https://www.mcbbs.net/thread-809496-1-1.html(包含wiki)

官网:https://www.spigotmc.org/resources/quickshop-reremake-1-16-ready-say-hello-with-rgb.62575/

构建:https://ci.codemc.io/job/Ghost-chu/job/QuickShop-Reremake/

GitHub:https://github.com/Ghost-chu/QuickShop-Reremake

陆:可选插件列表(都支持到1.16.5)

PlayerTitle:称号,国产插件

mcbbs:https://www.mcbbs.net/thread-1004671-1-1.html

spigot:https://www.spigotmc.org/resources/playertitle.78048/

FarmProtect:保护农田不被踩坏

mcbbs(旧版本,仅供参考):https://www.mcbbs.net/thread-797619-1-1.html

spigot:https://www.spigotmc.org/resources/farmprotect.6259/

Lite Sign In:签到,国产插件

mcbbs:https://www.mcbbs.net/thread-1056080-1-1.html

spigot:https://www.spigotmc.org/resources/lite-sign-in-1-7-1-16-sign-in-rewards-chest-gui-mysql-sqlite-customizable.79584/

Citizens:NPC插件

mcbbs:https://www.mcbbs.net/thread-797288-1-1.html(带wiki)

spigot:https://www.spigotmc.org/resources/citizens.13811/

Citizens CMD:点击NPC使用指令

mcbbs:https://www.mcbbs.net/thread-1002989-1-1.html

spigot:https://www.spigotmc.org/resources/citizens-cmd.30224/

TrMenu:菜单(2.0版本付费,但是GitHub有下载)

mcbbs:https://www.mcbbs.net/thread-918078-1-1.html

GitHub:https://github.com/TrMenu/TrMenu/actions

TrChat:修改聊天格式

mcbbs:https://www.mcbbs.net/thread-903335-1-1.html

Github:https://github.com/Arasple/TrChat/releases/tag/1.71

TrHologram:悬浮字

mcbbs:https://www.mcbbs.net/thread-923397-1-1.html

Github:https://github.com/Arasple/TrHologram/releases

Plotsquared:地皮

mcbbs:https://www.mcbbs.net/thread-573771-1-1.html

spigot:https://www.spigotmc.org/resources/plotsquared-v5.77506/

MiniMOTD:修改motd

mcbbs:https://www.mcbbs.net/thread-1075003-1-1.html

spigot:https://www.spigotmc.org/resources/minimotd-server-list-motd-plugin-with-rgb-gradients.81254/

TitleManager:修改玩家tab样式和右侧计分板

mcbbs:https://www.mcbbs.net/thread-810394-1-1.html

spigot:https://www.spigotmc.org/resources/titlemanager.1049/

ViaVersion:跨版本,允许其他版本的客户端进入服务器

mcbbs:https://www.mcbbs.net/thread-1023597-1-1.html

spigot:https://www.spigotmc.org/resources/viaversion.19254/

ViaBackwards:跨版本,兼容更低的版本

mcbbs(旧版本,仅供参考):https://www.mcbbs.net/thread-698692-1-1.html

spigot:https://www.spigotmc.org/resources/viabackwards.27448/

LaggRemover:

mcbbs(旧版本,仅供参考):https://www.mcbbs.net/thread-715006-1-1.html

官网:https://dev.bukkit.org/projects/laggremover  (可能需要魔法上网)

ScriptBlockPlus:脚本方块,点击/踩踏/挖掘时使用指令

mcbbs:https://www.mcbbs.net/thread-691900-1-1.html

spigot:https://www.spigotmc.org/resources/1-9-1-16-x-scriptblockplus-mechanics.78413/

VeinMiner:连锁挖矿

mcbbs:https://www.mcbbs.net/thread-600757-1-1.html

spigot:https://www.spigotmc.org/resources/veinminer.12038/

Marriage Master:结婚

mcbbs:https://www.mcbbs.net/thread-905947-1-1.html

spigot:https://www.spigotmc.org/resources/marriage-master-mc-1-7-1-16.19273/

IronElevators:铁块电梯

mcbbs:https://www.mcbbs.net/thread-612833-1-1.html

spigot:https://www.spigotmc.org/resources/ironelevators-1-4-6-1-16.19451/

下期将会讲解mod服加mod的一些注意事项

有问题可以加QQ群问,群号: 1145032972

觉得有用的话请点个赞

求关注求关注求关注求关注求关注求关注求关注求关注求关注求关注求关注!!!



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3