mirror of
https://github.com/System-End/Discord-MC-Chat.git
synced 2026-04-19 22:05:11 +00:00
multi server
This commit is contained in:
parent
8a7741cf65
commit
a49512721e
2 changed files with 15 additions and 3 deletions
|
|
@ -16,7 +16,11 @@ language: en_us
|
|||
|
||||
# 多服务器功能
|
||||
multi_server:
|
||||
server_name: your_server_name_here
|
||||
connection:
|
||||
host: localhost
|
||||
port: 5000
|
||||
server_name: your_server_name_here
|
||||
security:
|
||||
# This secret key must be identical to the one in the standalone server's config.yml.
|
||||
# It is used to authenticate this client to the standalone server.
|
||||
shared_secret: your_shared_secret_here
|
||||
|
|
|
|||
|
|
@ -14,6 +14,10 @@ mode: standalone
|
|||
# 语言设置
|
||||
language: en_us
|
||||
|
||||
# Minecraft 版本设置
|
||||
# 取你所有子服务器中最高的版本
|
||||
minecraft_version: ${minecraft_version}
|
||||
|
||||
# 机器人设置
|
||||
bot:
|
||||
token: your_token_here # Discord 机器人令牌
|
||||
|
|
@ -61,8 +65,12 @@ broadcasts:
|
|||
|
||||
# 多服务器功能
|
||||
multi_server:
|
||||
port: 5000
|
||||
minecraft_version: ${minecraft_version}
|
||||
connection:
|
||||
port: 5000
|
||||
security:
|
||||
# This secret key is automatically generated on first startup.
|
||||
# You MUST copy this exact key to all your multi-server clients.
|
||||
shared_secret: will_be_auto_generated
|
||||
servers:
|
||||
- name: SMP
|
||||
color: yellow
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue