当前位置:网站首页>Minecraft群组服开服
Minecraft群组服开服
2022-07-02 06:29:00 【freesharer】
Minecraft群组服简介
BungeeCord 是一个群组服务端,非普通 Minecraft 服务端,此服务端只作为一个转发作用,用于将多个子服连接在一起,并可以让玩家在不同的子服之间传送,启动方法与普通 Minecraft 服务端相同,但是只支持 BungeeCord 插件。
Minecraft群组服开服
准备一台linux服务器,已安装docker,运行以下命令,启动代理端,这里使用比较流行的bungeecord代理程序
docker run -d --name bungeecord \
-e BUNGEE_JOB_ID=1609 \
-p 25565:25577 \
--restart always \
-v /data/mc/bungeecord/data:/server \
itzg/bungeecord
查看容器运行状态
[[email protected] ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
019b1e2cd268 itzg/bungeecord "/usr/bin/run-bungee…" 45 seconds ago Up 45 seconds (healthy) 0.0.0.0:25565->25577/tcp, :::25565->25577/tcp bungeecord
修改bungeecord配置
修改online_mode: false、servers部分、listeners.priorities部分:
[[email protected] ~]# cat /data/mc/bungeecord/data/config.yml
server_connect_timeout: 5000
remote_ping_cache: -1
forge_support: false
player_limit: -1
permissions:
default:
- bungeecord.command.server
- bungeecord.command.list
admin:
- bungeecord.command.alert
- bungeecord.command.end
- bungeecord.command.ip
- bungeecord.command.reload
timeout: 30000
log_commands: false
network_compression_threshold: 256
online_mode: false
disabled_commands:
- disabledcommandhere
servers:
vanilla:
motd: 'vanilla server'
address: 10.0.20.2:25566
restricted: false
paper:
motd: 'paper server'
address: 10.0.20.2:25567
restricted: false
island:
motd: 'island server'
address: 10.0.20.2:25568
restricted: false
fabric:
motd: 'fabric server'
address: 10.0.20.2:25569
restricted: false
listeners:
- query_port: 25577
motd: '&1Another Bungee server'
tab_list: GLOBAL_PING
query_enabled: false
proxy_protocol: false
forced_hosts:
pvp.md-5.net: pvp
ping_passthrough: false
priorities:
- vanilla
- paper
- island
- fabric
bind_local_address: true
host: 0.0.0.0:25577
max_players: 1
tab_size: 60
force_default_server: false
ip_forward: false
remote_ping_timeout: 5000
prevent_proxy_connections: false
groups:
md_5:
- admin
connection_throttle: 4000
stats: 3fa9b870-461a-4b20-9f3c-6d5d1b91bdb3
connection_throttle_limit: 3
log_pings: true
其中10.0.20.2为服务器内网IP地址,使用ip a命令获取。
重启容器
docker restart bungeecord
客户端连接bungeecord
使用客户端连接,bungeecord使用默认的25565端口,输入/server xx 切换服
边栏推荐
猜你喜欢
随机推荐
Opencv's experience of confusing X and Y coordinates
W10 is upgraded to W11 system, but the screen is black, but the mouse and desktop shortcuts can be used. How to solve it
Chrome debugging
Routing foundation - dynamic routing
Animation synchronization of CarSim real-time simulation
Comparable,Comparator,Clonable 接口使用剖析
IP protocol and IP address
Causes of laptop jam
什么是SQL注入
What is SQL injection
力扣每日一题刷题总结:栈与队列篇(持续更新)
Generate database documents with one click, which can be called swagger in the database industry
OpenCV 6.4 中值滤波器的使用
程序猿学英语-指令式编程
The source code of the live app. When the verification method is mailbox verification, the verification code is automatically sent to the entered mailbox
STM32-新建工程(参考正点原子)
OpenCV3 6.3 用滤波器进行缩减像素采样
Longest isometric subsequence
Valin cable: BI application promotes enterprise digital transformation
Force buckle method summary: sliding window






![DWORD ptr[]](/img/6e/f68863c9f5b8608b22a24d9c1836d9.jpg)


