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.
-
View User Profile
-
Send Message
Posted Jul 21, 2013what is code for colored wool?
-
View User Profile
-
Send Message
Posted Jul 19, 2013Hello everyone-
I'm so sorry I haven't been giving support for the plugin, I'm currently at programming camp, and I've been doing some iOS stuff, haven't really had much time on my hands. I'll do my best to continue updating the plugin and supporting users from here, but at the moment, I'm not making any promises, sorry :/
I'll be more available after two weeks, and back to normal after the month of August. Please hang tight, I'll release a new version this week, adding some of the stuff people in the comments have mentioned ;)
-
View User Profile
-
Send Message
Posted Jul 18, 2013@niftyapple
just do /reload
-
View User Profile
-
Send Message
Posted Jul 18, 2013@Obitoandthecraft
All this adds is a /hub command, nothing else
-
View User Profile
-
Send Message
Posted Jul 18, 2013@Frekby
Config
-
View User Profile
-
Send Message
Posted Jul 15, 2013How do you make it so different worlds have different plugins? I'v seen server's do this.
-
View User Profile
-
Send Message
Posted Jul 4, 2013Permission list? Can you add that?!
-
View User Profile
-
Send Message
Posted Jul 1, 2013how to create the lobby? any tutorial? i need help
-
View User Profile
-
Send Message
Posted Jun 30, 2013Why only 5 slots available in the GUI, how to make more?
-
View User Profile
-
Send Message
Posted Jun 30, 2013@afcusto
You need to install Java 7 :
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64.tar.gz" --no-check-certificate
Create folder : /usr/lib64/jvm
tar zxvf jdk-7-linux-x64.tar.gz -C /usr/lib64/jvm
update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0/bin/java 1065
java -version (to check)
-
View User Profile
-
Send Message
Posted Jun 21, 2013Could a reload command be entered? It would be nice when I put in a new feature not to have to restart the server to see the reflected in the hub when it is entered
-
View User Profile
-
Send Message
Posted Jun 16, 2013Don't you play on Herocraft? ;)
-
View User Profile
-
Send Message
Posted Jun 15, 2013@mrstupidpig
You can use other plugins such as Skript to do that for you.
-
View User Profile
-
Send Message
Posted Jun 13, 2013You should make something like you have an item like a compass in the inventory and when you right click when holding it the GUI pops up and in the config you have a chose of having it there or not
-
View User Profile
-
Send Message
Posted Jun 9, 2013My server can't load the .jar file. It says:
Could not load 'plugins/ServerHub.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/KeybordPiano459/ServerHub/ServerHub : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.reload(CraftServer.java:603) at org.bukkit.Bukkit.reload(Bukkit.java:275) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchServerCommand(CraftServer.java:512) at net.minecraft.server.v1_5_R3.DedicatedServer.an(DedicatedServer.java:262) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.UnsupportedClassVersionError: me/KeybordPiano459/ServerHub/ServerHub : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 14 more
Somebody help me!
-
View User Profile
-
Send Message
Posted Jun 8, 2013I've seen servers use compasses to open the GUI. Can you do that? If you can, how?
-
View User Profile
-
Send Message
Posted Jun 4, 2013@KeybordPiano459
So I can't have an empty slot? When they are all scrunched together it looks kinda tacky. Maybe in next update you could add the ability to have empty slots?
-
View User Profile
-
Send Message
Posted Jun 4, 2013I keep on getting an internal error with my server hub. I cant figure out why, here it is: http://pastebin.com/J7reaHMY
-
View User Profile
-
Send Message
Posted Jun 4, 2013In next update make it so /hub is bound to a item?
-
View User Profile
-
Send Message
Posted May 31, 2013every time i try to load this plugin i get this in the console
http://pastie.org/7991337.js'