### EternalMatching
--- 超级队列插件。




## 软依赖: PlaceholderAPI
| 功能 |
- 匹配音效
- 匹配标题
- 精美的GUI匹配界面
- 自动加入和队列菜单
- 将MOTD与服务器状态进行匹配
- 彩色玻璃!
- 支持多个Minecraft版本!
- 此插件具有强大的功能!
配置 | v 2.0
显示内容
```
config.yml
# Eternal Matching by Eternal_Polar
# 欢迎来到我的服务器 MoonShu: mc520.xin
# 插件讨论群:983329726
# 作者QQ:2047752264
messages:
无权限: "&7[&c!&7] &f你没有使用此命令的权限"
仅限玩家: "只有玩家可以执行此命令"
打开用法: "&7[&c!&7] &f缺少第二个参数: &7<&aroom name&7>"
重新加载成功: "&7[&c!&7] &a配置已成功重新加载"
房间GUI未找到: "&7[&c!&7] &f找不到指定的房间GUI"
房间未找到: "&7[&c!&7] &f找不到指定的房间"
服务器不可用: "&7[&c!&7] &f此服务器当前不可用"
连接服务器: "&7[&c!&7] &f正在连接服务器..."
刷新消息: "&7[&c!&7] &f服务器列表已刷新"
自动匹配:
房间未找到: "&7[&c!&7] &f找不到房间 '{room}'"
无可用服务器: "&7[&c!&7] &f房间 '{room}' 中没有可用的在线服务器"
连接: "&7[&c!&7] 连接 &f{server}"
点击加入: "&e点击加入"
点击试用离线: "&6点击试用连接(离线服务器)"
点击试用未知: "&6点击试用连接(状态未知)"
试用连接离线: "&7[&c!&7] &f尝试连接到离线服务器: {server}"
试用连接未知: "&7[&c!&7] &f尝试连接到状态未知的服务器: {server}"
global:
# 服务器连接超时时间(毫秒)
server-timeout: 5000
# 是否避免在GUI边缘放置物品
avoid-edge-items: true
# 每行显示的服务器数量
servers-per-row: 7
# 是否跳过失败的服务器
skip-failed-servers: false
server-check:
# 是否解析玩家数量
parse-player-count: true
# 是否启用MOTD检查(推荐启用)
enable-motd-check: true
server-item-materials:
在线: "EMERALD_BLOCK"
离线: "REDSTONE_BLOCK"
未知: "BARRIER"
allow-connect:
离线: false # 是否允许传送到离线服务器
未知: false # 是否允许传送到状态未知的服务器
Allow-CommandListForDefault: false # 禁用向玩家显示命令列表
# 标题格式: title|subtitle|fadeIn|stay|fadeOut|delay
# 音效格式: sound_type:volume:pitch:delay
# 所有时间参数都以刻钟为单位(20 刻钟 = 1 秒)
# 音效列表: https://helpch.at/docs/1.8.8/org/bukkit/Sound.html
# 要找到与您的服务器版本兼容的音效,请在网上搜索 "Spigot sounds" 加上您的版本号
# 如果您仍然无法搞清楚,请联系作者QQ:2047752264 协助
loading:
enabled: true
transfer-timeout: 3000
duration: 3000
titles:
- "&7&kl &f匹配 &7&kl|&7请等待|0|40|0|0"
- "&7&kl &a匹配成功 &7&kl|&a加入|0|20|5|15"
sounds:
- "BLOCK_NOTE_BLOCK_HAT:1.0:1.0:0"
- "BLOCK_NOTE_BLOCK_HARP:1.0:1.0:4"
- "BLOCK_NOTE_BLOCK_HARP:1.2:2.1:8"
- "BLOCK_NOTE_BLOCK_HARP:1.2:2.1:12"
- "BLOCK_NOTE_BLOCK_HARP:1.2:2.1:16"
- "BLOCK_NOTE_BLOCK_HARP:1.0:0.9:20"
failure:
titles:
- "&f匹配失败|&7请稍后再试|10|60|10|0"
sounds:
- "BLOCK_NOTE_BLOCK_BASS:0.5:0.5:0"
- "BLOCK_NOTE_BLOCK_DIDGERIDOO:0.4:0.5:10"
Gui.yml :
# 您可以添加无限数量的带有标签的物品:isClose, material, name, lore, slot, isEnchant, command, meta, etc.
guis:
main_menu:
title: "&a{displayname} &7| &f匹配"
rows: 4
items:
lobby_item:
material: "SIGN"
name: "&f房间选择"
slot: 14
lore:
- "&7点击打开"
meta: "open:selectgui" # 也可以使用 open:roomgui
isEnchant: true
isClose: true
auto_item:
material: "BED"
name: "&f快速加入"
slot: 12
lore:
- "&7点击打开"
meta: "room:autojoin"
isEnchant: true
isClose: true
# 示例注释掉的物品:
# main_menu:
# material: "COMPASS"
# name: "&f主菜单"
# slot: 14
# lore:
# - "&7点击打开"
# command: "menu"
# isEnchant: true
# isClose: true
back_item:
material: "BARRIER"
name: "&f关闭"
slot: 31
isClose: true
example:
material: "ENDER_PEARL"
name: "&f重连"
slot: 35
isEnchant: false
command: "rejoin"
isClose: true
select_menu:
title: "&6选择菜单"
rows: 3
items:
glass_top_0:
material: "colorfulglass"
slot: 0
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_top_1:
material: "colorfulglass"
slot: 1
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_top_2:
material: "colorfulglass"
slot: 2
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_top_3:
material: "colorfulglass"
slot: 3
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_top_4:
material: "colorfulglass"
slot: 4
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_top_5:
material: "colorfulglass"
slot: 5
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_top_6:
material: "colorfulglass"
slot: 6
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_top_7:
material: "colorfulglass"
slot: 7
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_top_8:
material: "colorfulglass"
slot: 8
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_mid_0:
material: "colorfulglass"
slot: 9
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_mid_8:
material: "colorfulglass"
slot: 17
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_bottom_0:
material: "colorfulglass"
slot: 18
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_bottom_1:
material: "colorfulglass"
slot: 19
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_bottom_2:
material: "colorfulglass"
slot: 20
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_bottom_3:
material: "colorfulglass"
slot: 21
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_bottom_4:
material: "colorfulglass"
slot: 22
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_bottom_5:
material: "colorfulglass"
slot: 23
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_bottom_6:
material: "colorfulglass"
slot: 24
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_bottom_7:
material: "colorfulglass"
slot: 25
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
glass_bottom_8:
material: "colorfulglass"
slot: 26
name: "&d"
lore: [ ]
isEnchant: false
isClose: false
join_item:
material: "DIAMOND"
slot: 13
name: "&a自动加入"
lore:
- "&7点击加入当前房间"
- "&7当前房间:%displayname%"
- "&a可用房间:&b&l%roomcount%"
- "&a在线人数: &b&l%roompeople%"
meta: "room:autojoin"
isEnchant: true
isClose: false
room_list:
material: "BOOK"
slot: 11 # 左中心位置
name: "&b房间列表"
lore:
- "&7查看所有可用的房间"
meta: "open:roomgui"
isClose: true
exit_item:
material: "BARRIER"
slot: 15
name: "&c退出"
lore:
- "&7点击关闭"
isClose: true
room-gui:
title: "&f房间列表&7 | &f第 &b{page}&7 页"
rows: 6
texts:
在线: "&a● &7在线"
离线: "&c● &7离线"
未知: "&7● 未知"
刷新消息: "&7[&c!&7] &f已刷新"
服务器不可用: "&7[&c!&7] &f不可用"
服务器连接: "&7[&c!&7] &f连接中..."
server-item:
material: "PAPER"
name: "&f{name}"
lore:
- ""
- "&7状态: {online_status}"
- "&7玩家: {online}/{max}"
- "&7描述: &a{motd}"
- ""
- "{click}"
controls:
previous-page:
material: "ARROW"
name: "&7上一页"
lore:
- "&8页码 {prev_page}"
next-page:
material: "ARROW"
name: "&7下一页"
lore:
- "&8页码 {next_page}"
refresh:
material: "COMPASS"
name: "&7刷新"
lore:
- "&8更新列表"
close:
material: "BARRIER"
name: "&7关闭"
lore:
- "&8点击关闭"
servers.yml:
rooms:
# 您可以自定义无限数量的服务器!请遵循此格式!
example:
displayname: "示例"
server1:
name: "&a主大厅 1" # 显示名称
address: "127.0.0.1" # 服务器地址
port: 25565 # 服务器端口
expected-motd: "A MineCraft Server" # 预期 MOTD 内容(用于验证)
server2:
name: "&a主大厅 2" # 显示名称
address: "127.0.0.1" # 服务器地址
port: 25566 # 服务器端口
expected-motd: "A MineCraft Server" # 预期 MOTD 内容(用于验证)
example2:
displayname: "示例 2"
server1:
name: "&a迷你游戏 1" # 显示名称
address: "127.0.0.1" # 服务器地址
port: 25567 # 服务器端口
expected-motd: "A MineCraft Server" # 预期 MOTD 内容(用于验证)
server2:
name: "&a迷你游戏 1" # 显示名称
address: "127.0.0.1" # 服务器地址
port: 25568 # 服务器端口
expected-motd: "A MineCraft Server" # 预期 MOTD 内容(用于验证)
```
### 命令
/em 或 /eternalmatching
### 权限 |
eternalmatching.open
eternalmatching.admin
### 注意
如果您遇到错误,请不要发送到评判区域,您应该发送到讨论区域!
