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.
Ok I am stuck this 'Config' is confusing can someone guide me towards a tutorail? (Been looking for ages) Thanks
@Teddybearjr
What other plugins are you using? Some plugins might be conflicting
Great Plugin! I have made a new banner for the plugin! I really hope you enjoy!
Link: http://i.imgur.com/iP4OewK.png
@Planet123456789
get another but a java code system that can fix the errors for the servers fit.
People get they cant interact yet I dont see any permissions on this page!?!?!??!?!?!
Would you be willing to make the commands be able to change for a Permissions group? This would be helpful on my server for my staff to have specific commands for just them.
@Teddybearjr
Check if you config is right! I think you made a mistake in the config. If you dont find the fail, clear the config!
When i did /hub it said "An internal error occured while attempting to perform this command"
Here is what i copied from my server prompt
19:24:09 [INFO] Teddybearjr issued server command: /hub 19:24:09 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'hub' in plugin ServerHub v1.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 9) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServe r.java:523) at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerCon nection.java:964) at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.j ava:882) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java :839) at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296 ) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java :118) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:3 0) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:5 90) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:2 26) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:4 86) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java :419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:5 82) Caused by: java.lang.NullPointerException at me.KeybordPiano459.ServerHub.ServerHub.getIconMenu(ServerHub.java:47)
at me.KeybordPiano459.ServerHub.CommandHub.onCommand(CommandHub.java:22)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
Hi this plugin doesn't work for my server even when I have updated my Java to the latest version. This is the error I always receive: http://pastebin.com/2MXb3RaH
Thanks to anyone who can help me!
@Someone2TheAccelerator
It's a random player using it. Where can I find the permissions for this plugin?
@AJR200
I'm using a host so I think they are using the lastest version.
@KingOfHunting
To fix your problem you must update to the newest version of java.
It is worth it though :)
Link to Java 7: Java 7...
@KingOfHunting
If this is you testing the plugin, it might be an issue with incompatibilities although if its another player testing it out, does he have the appropriate permissions?
How can I fix this? http:pastebin.com/tGwipd4F
Is this the plugin were you can make portals to go to different Servers?
@LukeXGamer
What plugin do you have that TP's you to the hub with /hub?
Is there a way to make it connect to multiple servers? For example, i am making a server which is going to have a factions world, creative world and a prison server world.....All of those worlds need different permissions so i make them into different servers with their own plugins folder......is there any way to connect those servers with this plugin? If not, what other plugin could i use to connect all of the servers and make a hub?
@KeybordPiano459 Could you push the blank space for us please? This would make me use this plugin not using it atm because of this not being implemented thanks!
Please Make It So You Can Color The Lore!
There should really be a player value for the config.