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

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

边栏推荐
- Minecraft群组服开服
- 双向链表的实现(双向链表与单向链表的简单区别联系和实现)
- 文件上传-upload-labs
- Pointer initialization
- Makefile基本原理
- Realization of basic function of sequence table
- ARP及ARP欺骗
- Gateway is easy to use
- Introduction to anti interception technology of wechat domain name
- St-link connection error invalid ROM table of STM32 difficult and miscellaneous diseases
猜你喜欢

Web security -- Logical ultra vires

TCP/IP—传输层

Intelligent manufacturing solutions digital twin smart factory

Gateway 简单使用

HCIA - data link layer

Chinese garbled code under vscade

Use of OpenCV 6.4 median filter

群辉 NAS 配置 iSCSI 存储

Solid principle: explanation and examples

Animation synchronization of CarSim real-time simulation
随机推荐
Use Wireshark to grab TCP three handshakes
[untitled]
程序猿学英语-指令式编程
Use of OpenCV 6.4 median filter
STM32 new project (refer to punctual atom)
Opencv's experience of confusing X and Y coordinates
【无标题】
实现双向链表(带傀儡节点)
Web安全--核心防御机制
Jumping | Blue Bridge Cup
Googlenet network explanation and model building
sqli-labs第12关
HCIA—数据链路层
Global and Chinese market of electric cheese grinder 2022-2028: Research Report on technology, participants, trends, market size and share
Live broadcast platform development, flexible menu, and freely adjust the horizontal size of the menu bar
CarSim problem failed to start solver: path_ ID_ OBJ(X) was set to Y; no corresponding value of XXXXX?
Minecraft群组服开服
Network security - summary and thinking of easy-to-use fuzzy tester
[dynamic planning] p4170: coloring (interval DP)
Sqli labs level 12