当前位置:网站首页>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
客户端登录服务端

确认能够执行插件相关命令

边栏推荐
- Shortcut key to comment code and cancel code in idea
- OpenShift构建镜像
- 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
- Linked list classic interview questions (reverse the linked list, middle node, penultimate node, merge and split the linked list, and delete duplicate nodes)
- HackTheBox-Gunship
- Opencv3 6.3 reduced pixel sampling with filters
- HCIA—数据链路层
- idea中注释代码取消代码的快捷键
- 链表经典面试题(反转链表,中间节点,倒数第k个节点,合并分割链表,删除重复节点)
- Sqli labs level 8 (Boolean blind note)
猜你喜欢

Sqli labs level 12

CarSim problem failed to start solver: path_ ID_ OBJ(X) was set to Y; no corresponding value of XXXXX?

Chinese garbled code under vscade

Static library and dynamic library

2022 Heilongjiang latest construction eight members (materialman) simulated examination questions and answers

Use Matplotlib to draw a preliminary chart

ICMP Protocol

Use of OpenCV 6.4 median filter

HackTheBox-Gunship

OpenShift构建镜像
随机推荐
Summary of one question per day: String article (continuously updated)
HCIA—應用層
Gateway 简单使用
Web security -- core defense mechanism
Dip1000 runaway
File upload and download performance test based on the locust framework
Hcia - Application Layer
web安全--逻辑越权
Learn to write article format
Animation synchronization of CarSim real-time simulation
Common shortcut keys of Jupiter notebook (you can also view it by pressing h in command mode)
群辉 NAS 配置 iSCSI 存储
Routing foundation - dynamic routing
c语言将字符串中的空格替换成%20
Web security -- Logical ultra vires
程序猿学英语-Learning C
IP protocol and IP address
c语言自定义类型——结构体,位段(匿名结构体,结构体的自引用,结构体的内存对齐)
Use of opencv3 6.2 low pass filter
Chrome debugging