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

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

边栏推荐
- Honeypot attack and defense drill landing application scheme
- Realize bidirectional linked list (with puppet node)
- Valin cable: BI application promotes enterprise digital transformation
- Implementation of bidirectional linked list (simple difference, connection and implementation between bidirectional linked list and unidirectional linked list)
- Linked list classic interview questions (reverse the linked list, middle node, penultimate node, merge and split the linked list, and delete duplicate nodes)
- Rotating linked list (illustration)
- Carla-ue4editor import Roadrunner map file (nanny level tutorial)
- 程序猿学英语-指令式编程
- Method recursion (Fibonacci sequence, frog jumping steps, tower of Hanoi problem)
- File upload and download performance test based on the locust framework
猜你喜欢

16: 00 interview, came out at 16:08, the question is really too

Static library and dynamic library

Sqli labs level 1

Web安全--核心防御机制

Googlenet network explanation and model building

kubeadm部署kubernetes v1.23.5集群

Sqli labs level 12

Simple implementation scheme of transcoding and streaming (I)

Comparable,Comparator,Clonable 接口使用剖析

KubeSphere 虚拟化 KSV 安装体验
随机推荐
KubeSphere 虚拟化 KSV 安装体验
CarSim problem failed to start solver: path_ ID_ OBJ(X) was set to Y; no corresponding value of XXXXX?
2022 Heilongjiang's latest eight member (Safety Officer) simulated test question bank and answers
Sqlyog remote connection to MySQL database under centos7 system
Sentinel easy to use
Global and Chinese market of electric cheese grinder 2022-2028: Research Report on technology, participants, trends, market size and share
什么是SQL注入
Global and Chinese markets of tilting feeders 2022-2028: Research Report on technology, participants, trends, market size and share
IP protocol and IP address
Benefits of ufcs of D
Linked list classic interview questions (reverse the linked list, middle node, penultimate node, merge and split the linked list, and delete duplicate nodes)
Development of digital collection trading website development of metauniverse digital collection
Minecraft群组服开服
[dynamic planning] p4170: coloring (interval DP)
Generate database documents with one click, which can be called swagger in the database industry
kubeadm部署kubernetes v1.23.5集群
Deep understanding of JVM
Simple implementation scheme of transcoding and streaming (I)
Hcia - Application Layer
Sqli labs level 1