当前位置:网站首页>Minecraft plug-in service opening
Minecraft plug-in service opening
2022-07-02 08:43:00 【freesharer】
Minecraft Introduction to plug-in service
plug-in unit (Plugin) It's following Bukkit or Sponge Interface specification Java Program , It can expand the functions of the server , Enhance gameplay , Give players a better game experience . Plug ins can only run in support BukkitAPI or SpongeAPI Under the server of , Generally, it cannot run independently .
Minecraft Plug in service
Prepare one linux The server , already installed docker, Run the following command , Start the plug-in server container , Here we use the popular paper Server side :
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
Check the running state of the container
[[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
Installing a plug-in
1、 Download plug-ins , Common basic plug-ins are as follows
- worldedit:https://dev.bukkit.org/projects/worldedit/files
- worldguard:https://dev.bukkit.org/projects/worldguard/files
- EssentialsX:https://essentialsx.net/downloads.html
2、 Upload the plug-in to /data/mc/paper/plugins Under the table of contents
[[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、 Restart container
docker restart paper
Client login server

Confirm that the relevant commands of the plug-in can be executed

边栏推荐
- Jumping | Blue Bridge Cup
- Sqli labs level 8 (Boolean blind note)
- 使用递归函数求解字符串的逆置问题
- Use the numbers 5, 5, 5, 1 to perform four operations. Each number should be used only once, and the operation result value is required to be 24
- PCL calculates the intersection of three mutually nonparallel planes
- c语言自定义类型——结构体,位段(匿名结构体,结构体的自引用,结构体的内存对齐)
- Gateway is easy to use
- Web技术发展史
- 实现双向链表(带傀儡节点)
- Data asset management function
猜你喜欢
随机推荐
Openshift container platform community okd 4.10.0 deployment
Linux安装Oracle Database 19c
Realization of basic function of sequence table
文件上传-upload-labs
Minecraft安装资源包
commands out of sync. did you run multiple statements at once
ARP and ARP Spoofing
Network security - summary and thinking of easy-to-use fuzzy tester
选择排序和插入排序
Web security -- core defense mechanism
Getting started with k8s: building MySQL with Helm
Viewing JS array through V8
寻找链表中值域最小的节点并移到链表的最前面
Judge whether it is Sudoku
Benefits of ufcs of D
Tcp/ip - transport layer
Minecraft install resource pack
OpenShift 容器平台社区版 OKD 4.10.0部署
Use Wireshark to grab TCP three handshakes
PCL calculates the intersection of three mutually nonparallel planes









