当前位置:网站首页>Minecraft插件服开服
Minecraft插件服开服
2022-07-02 06:29:00 【freesharer】
Minecraft插件服简介
插件(Plugin)是遵循 Bukkit 或 Sponge 接口规范编写的 Java 程序,可以拓展服务端的功能,增强游戏性,给玩家更好的游戏体验。插件只能运行在支持 BukkitAPI 或SpongeAPI 的服务端下,一般无法独立运行。
Minecraft插件服开服
准备一台linux服务器,已安装docker,运行以下命令,启动插件服服务端容器,这里使用比较流行的paper服务端:
docker run -d --name paper \
-e EULA=TRUE \
-e VERSION=1.17.1 \
-e TYPE=PAPER \
-e PAPERBUILD=381 \
-v /data/mc/paper/data:/data \
-v /data/mc/paper/plugins:/plugins \
-e OPS=willminec \
-e ONLINE_MODE=FALSE \
-p 25567:25565 \
--restart always \
itzg/minecraft-server
查看容器运行状态
[[email protected] ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3af641c8651f itzg/minecraft-server "/start" 39 minutes ago Up About a minute (healthy) 25575/tcp, 0.0.0.0:25566->25565/tcp, :::25566->25565/tcp paper
安装插件
1、下载插件,常用基础插件如下
- worldedit:https://dev.bukkit.org/projects/worldedit/files
- worldguard:https://dev.bukkit.org/projects/worldguard/files
- EssentialsX:https://essentialsx.net/downloads.html
2、上传插件到/data/mc/paper/plugins
目录下
[[email protected] ~]# ll /data/mc/paper/plugins/
total 8336
-rw-r--r-- 1 root root 2829157 Dec 9 22:41 EssentialsX-2.19.0.jar
-rw-r--r-- 1 root root 13790 Dec 9 22:41 EssentialsXChat-2.19.0.jar
-rw-r--r-- 1 root root 17902 Dec 9 22:41 EssentialsXSpawn-2.19.0.jar
-rw-r--r-- 1 root root 4501977 Dec 9 22:41 worldedit-bukkit-7.2.7.jar
-rw-r--r-- 1 root root 1160777 Dec 9 22:41 worldguard-bukkit-7.0.6-dist.jar
3、重启容器
docker restart paper
客户端登录服务端
确认能够执行插件相关命令
边栏推荐
- Hcia - Application Layer
- Summary of one question per day: stack and queue (continuously updated)
- My VIM profile
- [dynamic planning] p4170: coloring (interval DP)
- Openfeign is easy to use
- Benefits of ufcs of D
- KubeSphere 虚拟化 KSV 安装体验
- cve_ 2019_ 0708_ bluekeep_ Rce vulnerability recurrence
- Classes and objects (instantiation of classes and classes, this, static keyword, encapsulation)
- Library function of C language
猜你喜欢
cve_ 2019_ 0708_ bluekeep_ Rce vulnerability recurrence
Chrome debugging
Chinese garbled code under vscade
Intelligent manufacturing solutions digital twin smart factory
16: 00 interview, came out at 16:08, the question is really too
HCIA—應用層
Rotating linked list (illustration)
方法递归(斐波那契数列,青蛙跳台阶,汉诺塔问题)
Sqli labs (post type injection)
Zipkin is easy to use
随机推荐
Sqli labs level 12
Pointer initialization
Solid principle: explanation and examples
ICMP协议
Opencv common method source link (continuous update)
HCIA—数据链路层
Global and Chinese market of electric cheese grinder 2022-2028: Research Report on technology, participants, trends, market size and share
Implementation of bidirectional linked list (simple difference, connection and implementation between bidirectional linked list and unidirectional linked list)
Minecraft群组服开服
Network security - summary and thinking of easy-to-use fuzzy tester
Sqli labs Level 2
MySQL optimization
Live broadcast platform development, flexible menu, and freely adjust the horizontal size of the menu bar
How to apply for a secondary domain name?
Jumping | Blue Bridge Cup
Valin cable: BI application promotes enterprise digital transformation
Force deduction method summary: find classes
Force buckle method summary: sliding window
群辉 NAS 配置 iSCSI 存储
Vs code configuration problem