当前位置:网站首页>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
边栏推荐
- Openshift deployment application
- Minecraft安装资源包
- Minecraft空岛服开服
- Hcia - Application Layer
- Programmer training, crazy job hunting, overtime ridiculed by colleagues deserve it
- Use Wireshark to grab TCP three handshakes
- Luogu greedy part of the backpack line segment covers the queue to receive water
- Realize bidirectional linked list (with puppet node)
- File upload and download performance test based on the locust framework
- 使用wireshark抓取Tcp三次握手
猜你喜欢
随机推荐
File upload and download performance test based on the locust framework
Sqli labs (post type injection)
Jumping | Blue Bridge Cup
Kubedm deploys kubernetes v1.23.5 cluster
Sentinel easy to use
Qunhui NAS configuring iSCSI storage
ICMP协议
IP protocol and IP address
History of Web Technology
sqli-labs第8关(布尔盲注)
Web security -- Logical ultra vires
Nacos 下载启动、配置 MySQL 数据库
方法递归(斐波那契数列,青蛙跳台阶,汉诺塔问题)
链表经典面试题(反转链表,中间节点,倒数第k个节点,合并分割链表,删除重复节点)
Makefile基本原理
PCL calculates the intersection of three mutually nonparallel planes
文件上传-upload-labs
C language replaces spaces in strings with%20
一个经典约瑟夫问题的分析与解答
web安全--逻辑越权