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

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

边栏推荐
- Library function of C language
- [dynamic planning] p4170: coloring (interval DP)
- Live broadcast platform development, flexible menu, and freely adjust the horizontal size of the menu bar
- Classes and objects (instantiation of classes and classes, this, static keyword, encapsulation)
- Zipkin is easy to use
- Introduction to anti interception technology of wechat domain name
- File upload Labs
- Chrome debugging
- 什么是SQL注入
- Minecraft群组服开服
猜你喜欢

Don't know mock test yet? An article to familiarize you with mock

c语言将字符串中的空格替换成%20

2022 Heilongjiang latest food safety administrator simulation exam questions and answers

CarSim learning experience - rough translation 1

HCIA—应用层

HCIA - data link layer

路由基础—动态路由

Rotating linked list (illustration)

Hcia - Application Layer

Flex layout
随机推荐
Dip1000 implicitly tagged with fields
Zipkin is easy to use
W10 is upgraded to W11 system, but the screen is black, but the mouse and desktop shortcuts can be used. How to solve it
SQL operation database syntax
STM32-新建工程(参考正点原子)
2022 Heilongjiang latest construction eight members (materialman) simulated examination questions and answers
Luogu greedy part of the backpack line segment covers the queue to receive water
Pointer initialization
方法递归(斐波那契数列,青蛙跳台阶,汉诺塔问题)
When a custom exception encounters reflection
k8s入门:Helm 构建 MySQL
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
ARP and ARP Spoofing
顺序表基本功能函数的实现
Don't know mock test yet? An article to familiarize you with mock
Method recursion (Fibonacci sequence, frog jumping steps, tower of Hanoi problem)
TCP/IP—传输层
实现双向链表(带傀儡节点)
Minecraft群组服开服
Sentinel 简单使用