ServerHub
By: KeybordPiano459
ServerHub provides a quick way for new players to figure out what to do on your server. You can add server events to the list, and users could be able to warp to them, based on what you define in the config.
Commands
Currently, the only command is /hub. When the player performs this command, a GUI will pop up, similar to the one below. The GUI will have certain options on places to go around the server, which is all defined in the config, also explained below.
Configuration
You can view an example config file here.
Here are the things that you need to edit in your config file:
gui-rows: [# of rows] gui-name: [name] click-item-id: [item-id]
How to add a new item to your GUI (things in brackets are what you need to add):
items: slot-[number]: item-id: [id that will be clicked on] name: [name of item when hovered over] lore: line-[line number (starts with 0)]: [text you want on that line] line-[line number]: [text you want on the next line] command: [command to be executed by player when item is clicked]
Information
ServerHub is a plugin that was originally made for a server that I appreciate, Minederp. I developed this plugin on my own, and it came out as a very lightweight plugin that can be very beneficial to your server depending on how you use it. At Minederp, we use it so that new players are able to learn their way around the server.
Installing the plugin itself is easy. Just drag the .jar file that you downloaded into your server's plugins folder. Once it's installed, you can start up the server, and use all of the features as you would with any other plugin.
@gatorfan9192
Can you please paste in your config and the stack trace?
I am having an internal server error problem when I edit the slot layouts like the names and block ids. Can you please help?
@markzunnie
You haven't made a single plugin on BukkitDev, mister java expert. TIP: block ids are used all the time and they don't crash plugins
TIP: Dont use block id's. will crash the plugin/
@chakyl
In the next update, I'm going to have permissions implemented. Thanks for the idea though :)
Do you mind making the player run the command as OP for these items? I know it seems pointless, but it would help immensely.
@dafreo
You didn't waste my time- giving support for my plugins is part of bring a dev. I don't mind it at all- so... enjoy! :)
@KeybordPiano459
dam I feel like a derp... Sorry for wasting some of your time but I actually didn't notice about needing to run it with your server (Java\jre7\bin), was jre6 before. This is probably the reason im getting the errors with all these other plugins... Well thanks a lot and as I said before, great plugin ^^
@dafreo
Make sure that your server is being run with the java seven JRE- I would also recommend checking your java version to be sure http://www.java.com/en/download/installed.jsp (you do own the computer running the server, right?)
@dafreo
You will have to upgrade your server to java seven- are you able to? Who is your server host?
@Gamecube762
Somebody already submitted a pull request, hope to see permissions in the next update!
@LiLChris06
I've actually never heard of bungeecord, but wouldn't you be able to set this up with a plugin that adds a command to teleport between servers, so that you would just put that command in the config.yml file?
@0dayRUDE
@owenftw
Thanks! :D
You should consider making this for Bungeecord (multi-servers) setups. :)
http://www.spigotmc.org/forums/bungeecord.21/
Extremely useful, it can even be redesigned as a Quick-Admin menu =D Would be nice to see some Permissions support in a later update =D
Very cool plugin! :D
omg, amazing idea :D
I know this is probably a big thing to suggest but would it be possible to make this usable with bungeecord so you can set one that goes to other servers?