MagicHub MYSQL 服务器选择器 广播器 记分板 XP商店 玩家资料
作者:Christophe6
发布时间:2016年8月19日
原生版本:未知
测试支持:1.8,1.9,1.10,1.11,1.12
Hypixel或Cubecraft的集线器插件的娱乐?这边
点此下载插件详细介绍
✨MagicHub
MagicHub 是一款为 Minecraft 服务器打造的 Hub 插件,旨在模仿 Hypixel 和 Cubecraft 的 Hub 插件体验。它提供了丰富的功能,并且可以进行高度自定义。所有消息都可以自定义。
🌟主要特性
- Bungee/单服务器模式
- MySQL 数据库支持玩家数据存储
- 服务器选择器
- 轻松填充物品槽位
- 自动广播
- 完全自定义消息
- 记分板
- 二段跳
- 加入时的标题/消息
- 经验值(XP)系统
- 经验值商店
- 魔法时钟
- 多世界模式
- 玩家信息显示
🔮即将加入的特性
- 经验值系统的等级功能
- 更可定制的“玩家信息”界面
- 末影珍珠
- 自定义加入物品
⚙️安装指南
- 将插件放入服务器的 plugins 文件夹中。
- 重启或重载服务器。
- 配置 config 文件。
- 如果需要添加标题功能,可以使用 TitleAPI 插件。
📜命令和权限
/magichub setxp <玩家> <经验值>- 权限:magichub.addxp- 设置玩家的经验值。/magichub addxp <玩家> <经验值>- 权限:magichub.setxp- 增加玩家的经验值。/magichub removexp <玩家> <经验值>- 权限:magichub.removexp- 移除玩家的经验值。/hub- 权限:magichub.hub- 传送至 Hub。/sethub- 权限:magichub.sethub- 设置 Hub 的位置。/magichub reload- 权限:magichub.reload- 重载配置文件(实验性功能)。- 允许物品栏管理权限:
magichub.inventorymove。
🛠️配置
MagicHub 插件包含多个配置文件,你可以根据需要进行个性化配置。请注意,以下配置示例可能不是最新版本,但具有参考价值。
1. config.yml
#The world where the plugin is enabled
enabled_world: world
#Allows to double jump by clicking space twice
doublejump:
enable: true
multiply: 2.5
#Enables the /hub and /sethub command
hub_spawn_command_enabled: true
#Disables item movement
inventorymoveitem:
enable: false
#Disables food lose
allowfoodlose: false
#Disables damage
allowdamage: false
#Receive chat messages
chat_message_true: true
#TP to spawn when a player joins
tp_spawn_join: true
#Prefix used for all messages
message_prefix: '&a[&bMagicHub&a]'
#The speed a player walks with
walk_speed: 0.4
#Launches players, material list can be found at the bottom of the page
launchpad_block: STONE_PLATE
#Block height a player gets launched
launchpad_height: 5
#A clock to hide people
magicclock:
enabled: true
slot: 0
#Player info
playerinfo:
enabled: true
displayname: '&e&lPlayer Info'
slot: 8
#Displays a title on join, you can use this by installing TitleAPI.
join_title:
enabled: true
text: '&bWelcome to &c&lSERVER&r&lNAME&r&b!'
subtext: '&bWelcome to &c&lSERVER&r&lNAME&r&b!'
fadeIn: 1
stay: 2
fadeOut: 1
mysql:
playerdata: false
host: MY_HOST
port: 3306
username: MY_USERNAME
password: MY_PASSWORD
database: MY_DATABASE
2. broadcaster.yml
#Enables the broadcaster
enabled: true
#The interval of each message
interval: 30.0
#A list of messages, use ' at the beginning and end.
messages:
- '&b&lExample broadcastmessage'
- '&cAnother example!'
3. joinmessage.yml
#A message displayed when a player joins, no message = none
join_message: '&0&l[&r&a&l+&r&0&l] &r&a*player*'
#A message displayed when a player leaves, no message = none
leave_message: '&0&l[&r&c&l-&r&0&l] &r&c*player*'
#A list of messages displayed to the player when the player joins
chat_messages:
- '&bWelcome to &c&lSERVER&r&lNAME&r&b, *playerdisplayname*&b!'
4. messages.yml
此文件用于修改所有插件消息。
5. players.yml
请勿修改此文件,玩家的经验值等数据存储在此文件中。
6. scoreboard.yml
#Enables the scoreboard
enabled: true
#The title of the scoreboard
title: '&c&lServer&r&lName'
#All the lines of the scoreboard. You can add/remove lines if you want. NOTE: It isn't possible to have two lines that are the same! To add spaces in the scoreboard, you have to put more spaces in the text area for the line!
scoreboard:
- '&a&lPlayer:'
- '&c&l>>> &a&l*player*'
- ' '
- '&a&lXP:'
- '&b&l>>> &a&l*xp*'
- ' '
- '&a&lWebsite:'
- '&d&l>>> &a&lwww.example.com'
7. serverselector.yml
serverselector:
#Enables the server selector
enabled: true
#Disables bungeecord
usecommandnotbungeecord: true
#The amount of rows of the server selector
rows: 1
#The slot of the server selector
slot: 3
#The item of the server selector
item: COMPASS
#The name of the item
displayname: '&5&lTravel'
#The title of the inventory the server selector opens
title: '&5&lTravel'
#The tiles of the selector without items can be given an item.
#To remove the background, use: AIR
background: STAINED_GLASS_PANE
#The sub id of the background
durabilty: 0
#All items of the selector need to but listed here
itemsinselectorlist:
- Survival
#Configure all items of the selector
itemsinselector:
Survival:
material: GRASS
durabilty: 1
amount: 1
slot: 4
displayname: '&b&lSurvival'
lore:
- '&cClick here'
- '&cto go to'
- '&b&lSurvival&r&c!'
bungeeserver: none
commands:
- warp Survival
- say Hello
8. spawn.yml
请勿修改此文件,Hub 的坐标数据存储在此文件中。
9. xpstore.yml
xpstore:
#Enables the xpstore
enabled: true
#The slot in the player info section
slotinprofile: 11
#The item of the store
item: GOLD_INGOT
#The name of the item
displayname: '&e&lXPStore'
#The title of the inventory of the store
title: '&e&lXPStore'
#All items in the store need to be listed here
itemsinxpstorelist:
- Hello_MSG
#Configure each item here
itemsinxpstore:
Hello_MSG:
material: SIGN
xpprice: 5.0
durabilty: 1
amount: 1
slot: 4
displayname: '&b&lSend a message'
lore:
- '&cClick here'
- '&cto send a'
- '&b&lmessage&r&c!'
- '&c&lPrice: 5.0xp&r&c!'
playercommands:
- say Test
consolecommands:
- msg *player* &bTest message!
🔗 额外链接
- 材质列表: Spigot Materials