NEW: Player data can be stored in mysql from now on!
Read the full page before reporting bugs and use the discussion area for bugs.
Intro MagicHub brings a new category of hubs to Minecraft. Unlike other hub plugins MagicHub tries to recreate Hypixel's and/or Cubecraft's hub plugin. MagicHub contains a variety of features you can fully configure. Every message is customisable.
Features A (maybe not complete) list of the features of this plugin:
Bungee/Single server mode
MySQL support for playerdata
Server Selector
Fill your slots easily
Auto-Broadcaster
Fully customizable messages
Scoreboard
Double jump
Join title/message
XP
XPStore
MagicClock
Multi-World mode
Player Info
Join title
Multi world mode: allows you to have two inventories
...
Upcoming features A (maybe not complete) list of the upcoming features of this plugin:
Levels for the XP system
Make the "Player Info" inventory more customizable
EnderButt
Custom join items
...
If you have requests for special features, just put it in the discussion area. I will add most of them!
/magichub setxp <player> <xp> - Permission: magichub.addxp - Set the xp of a player
/magichub addxp <player <xp> - Permission: magichub.setxp - Add xp to a player
/magichub removexp <player <xp> - Permission: magichub.removexp - Remove xp from a player
/hub - Permission: magichub.hub - Teleport to the hub
/sethub - Permission: magichub.sethub - Set the location of the hub
/magichub reload - Permission: magichub.reload - Reload the config. This command is experimental!
Permission to allow inventory management: magichub.inventorymove. Configuration This plugin has a few config files, to personalize the plugin, you need to configure them! NOTE: These configs might be outdated but foremost they are recent. NOTE: The notes are only added below!
1. config.yml
Code (Text):
#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
Code (Text):
#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
Code (Text):
#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!'[/COLOR]
4. messages.yml This is just a single file where you can change all messages.
5. players.yml Don't touch this file! In this file is the XP etc. stored.
6. scoreboard.yml
Code (Text):
#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
Code (Text):
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 Don't touch this file! Spawns are saved here.
9. xpstore.yml
Code (Text):
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!