当前位置:网站首页>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

边栏推荐
- HCIA - data link layer
- Jumping | Blue Bridge Cup
- Openfeign facile à utiliser
- Openshift container platform community okd 4.10.0 deployment
- Function ‘ngram‘ is not defined
- kubernetes部署loki日志系统
- c语言自定义类型——结构体,位段(匿名结构体,结构体的自引用,结构体的内存对齐)
- Programming ape learning English - imperative programming
- commands out of sync. did you run multiple statements at once
- 方法递归(斐波那契数列,青蛙跳台阶,汉诺塔问题)
猜你喜欢

C language custom types - structure, bit segment (anonymous structure, self reference of structure, memory alignment of structure)

Tcp/ip - transport layer

Method recursion (Fibonacci sequence, frog jumping steps, tower of Hanoi problem)

c语言自定义类型——结构体,位段(匿名结构体,结构体的自引用,结构体的内存对齐)

Googlenet network explanation and model building

C language replaces spaces in strings with%20

Aneng logistics' share price hit a new low: the market value evaporated by nearly 10 billion yuan, and it's useless for chairman Wang Yongjun to increase his holdings

旋转链表(图解说明)

ARP and ARP Spoofing

Finishing the interview essentials of secsha system!!!
随机推荐
HCIA - data link layer
Kubedm deploys kubernetes v1.23.5 cluster
随笔:RGB图像颜色分离(附代码)
Zipkin is easy to use
Gateway 简单使用
History of Web Technology
HCIA - application layer
Web安全--核心防御机制
Nacos 下载启动、配置 MySQL 数据库
[untitled]
Linked list classic interview questions (reverse the linked list, middle node, penultimate node, merge and split the linked list, and delete duplicate nodes)
libusb的使用
Application of kotlin - higher order function
OpenFeign 简单使用
kubernetes部署loki日志系统
How to apply for a secondary domain name?
commands out of sync. did you run multiple statements at once
Programmer training, crazy job hunting, overtime ridiculed by colleagues deserve it
sqli-labs第8关(布尔盲注)
Minecraft模组服开服