Hub
-------------------------------------
Description
Hub is a necessary plugin that any mini-game server should have! Hub is a very easy plugin to configure, and it only takes 2 minutes to set up!
What does Hub do? Well, Hub is a plugin that allows you to set a configurable point where the players will spawn every time they login. So, let's say that a player leaves the game after playing a mini-game. He then logs in a bit later. The player will not be where he was before when he logged out, he will be at the place where the coordinates of the hub point you set are!
How do you set it up you may ask? Look right below this section to the section below that says "How to set up".
-------------------------------------
How to set up
1. Place the Hub.jar file into your plugins folder.
2. Start your server and you will see there is a folder generated called, "Hub", double click it.
3. Open the file called "config.yml" and you will see 3 things, an X: , Y: , and Z:
4. Change the integers behind the X, Y, and Z to the point where you want your users to spawn every time they log in.
5. Either type /hreload to reload the configuration in the game, or restart your server.
(In v0.7 you can also do /sethub to change the hub location in-game!)
-------------------------------------
Commands
/hreload - Reloads the config.
/hub - Takes you back to your set hub.
/sethub - Sets the hub's location.
-------------------------------------
Permissions
hub.bypass - Bypasses the plugin so that whoever has this permission does not get sent back to the hub every time they login.
hub.reload - Allows you to reload the configuration.
hub.set - Allow you to set the hub's location in-game.
-------------------------------------
Please leave feedback!
Please feel free to leave any feedback on the plugin. I always love to see feedback from the people who have tried out the plugin. Also, make sure to leave any comments if you find any bugs! I do hope I never get a comment on this, but I am sure that I will get at least one! Thank you.
NOTE: YOU DO NEED MULTI-VERSE CORE IF YOU WANT TO USE /HUB FROM A DIFFERENT WORLD!
-------------------------------------
Make it configurable that you start when you join at the hub. I have a server with survival etc. and i like if you stayed there when you log off, and only teleport when you type /hub
@IanSzot
Good idea! I'll try adding this in the next update!
Suggestion: When player enter in the server he start with a book explaining the server (like in the Hypixel server)
@mux8
Hey, I've read this a couple of times and am really confused of what's going on with you. If you could, please message me the IP and I will help you out on the server?
Excited to set this up... this is exactly what I am looking for.. simple and easy, but ran into problems.. The /sethub does not seem to record the correct location in my setup and the /hub command keep placing me into a seemingly random (actually in a wall, and I die quickly).. even if I added the coordinates manually in the config file. Also, a suggestion.. when you die, it would be good if this automatically put you at the hub point upon re-spawning.
Any suggestions? Here is what my config looks like: world: minigameserver X: 432 Y: 4 Z: -569
Using 1.6.2-R0.1
Thanks,
@mattrick16
No problem! If you have any suggestions, please tell me. I always need things to work on for the next update!
I've been looking for this forever! Thanks so much!
@Ajaxan
This will probably be added in the next update or so.
You can't to make something if player is in world Minigames for example, to send player to spawn?
@Beastmode0000
Agreed!
You need to add an option for world. I read your source and you assume that the main world is "world". My main world is called SpawnWorld and so you know how that test went. Very easy to use though, it spawned me at the right coords just the wrong world!
@DulexZach
Beautifully said.
@Lildirt
This is the easiest configuration file ever. If you cannot configure this, why would you be running a mini-game server that has configurations for every mini-game?
You should just save it as a YAML array instead of overcomplicating it.
Maybe? That.. or make it command-based entirely. People do not like configs.
@Swordguy3924
Wow, I just realized I didn't put the command /Hub into the plugin, don't worry! I'll add it next update. (which will be soon)
so what if people would like to go back to the hub?
@geigenmusikant
Yes, I'll just add this in the next update, I don't know why I didn't do this in the first place. :D
Could you just add a command like /sethub that takes the coordinates of the players and saves it automatically? It would make things just a bit easier ; )