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 Apr 8, 2013@baconcheese18
Does it send the startup messages in the console?
-
View User Profile
-
Send Message
Posted Apr 8, 2013When i start my server with the plugin in the plugins folder no folder for ServerHub comes up. IS there some plugin i need or something i need to do?
-
View User Profile
-
Send Message
Posted Apr 6, 2013@d3voo
Any plugin that adds a warp command ._. Did you even read my documentation?
-
View User Profile
-
Send Message
Posted Apr 6, 2013@KeybordPiano459
like what ?
-
View User Profile
-
Send Message
Posted Apr 6, 2013@d3voo
I've said this already- you need other plugins that have these commands for my plugin to implement.
-
View User Profile
-
Send Message
Posted Apr 6, 2013@KeybordPiano459
i have an idea if you can change or add a another command we use /hub right :)
can you add /warps and /warp .. because like a don't wont them to use the normal /warps or /warp command i want them to use your plugin /hub i hope you understand me =D [Sorry for my bad English]
-
View User Profile
-
Send Message
Posted Apr 4, 2013@matty_mitchell
I'm releasing 1.1 tomorrow, which will invlude a few enhancements to the plugin, which will include permissions.
-
View User Profile
-
Send Message
Posted Apr 4, 2013Erm please the permissions or can anyone do it?
-
View User Profile
-
Send Message
Posted Apr 4, 2013@MasterMaq
Pastebin your config please
-
View User Profile
-
Send Message
Posted Apr 4, 2013@d3voo
I'm not supporting data values yet =/ next update :P You can't have a : because that isn't a data value.
-
View User Profile
-
Send Message
Posted Apr 4, 2013All I did was try to change the name, description, and where it teleprts you to. and it doesnt work
-
View User Profile
-
Send Message
Posted Apr 4, 2013@MasterMaq
lol, the problem is dont use an item with id like this 44:6 just use normal ones like 17
update ^^
-
View User Profile
-
Send Message
Posted Apr 4, 2013@d3voo You can use the command in the console. Only in-game. Because you cant view the GUI in the console.
-
View User Profile
-
Send Message
Posted Apr 4, 2013CONSOLE: exception executing command 'hub' in plugin ServerHub v1.0.2
Me to ?! Help ^^
-
View User Profile
-
Send Message
Posted Apr 4, 2013I am having the same problem. I edit the config file the same as below but to my liking, then when I do the /hub command, it tells me there is an internal issue with the server.
-
View User Profile
-
Send Message
Posted Apr 3, 2013http://pastebin.com/fFfZjDAK
-
View User Profile
-
Send Message
Posted Apr 2, 2013@KeybordPiano459
I try it with the default 4 slots and still got the same error when I edited it
-
View User Profile
-
Send Message
Posted Apr 2, 2013@gatorfan9192
You have more than nine items, so you need more slots in the GUI. Change 'gui-rows' to two.
-
View User Profile
-
Send Message
Posted Apr 2, 2013@KeybordPiano459
Here I got it for you.
# ServerHub | KeybordPiano459
# How many rows should the GUI have?
gui-rows: 1
# What should the name of the GUI be?
gui-name: Server Activities
# All GUI items are here. Add slots in the same format, and it will add items to the GUI
items:
slot-0:
item-id: 399
name: Lobby
lore:
line-0: ShovelAndAxe Lobby
command: spawn
slot-1:
item-id: 2
name: SkyBlock
lore:
line-0: Floating Survival
command: warp skyblockhub
slot-2:
item-id: 54
name: Hunger Games
lore:
line-0: Like the movie.
command: warp hungergames
slot-3:
item-id: 276
name: KitPvP
lore:
line-0: Battle with Kits!
command: warp kithub
slot-4:
item-id: 256
name: Spleef
lore:
line-0: Participate in Spleef
command: warp spleef
slot-5:
item-id: 397:4
name: MobArena
lore:
line-0: Fight Out Mobs!
command: warp mobarena
slot-6:
item-id: 261
name: BowWarfare
lore:
line-0: Extreme Bows
command: warp bowwarfare
slot-7:
item-id: 35:14
name: TF2
lore:
line-0: Team Fortress 2
command: warp tf2
slot-8:
item-id: 364
name: Survival
lore:
line-0: Survival
command: mvtp world
slot-9:
item-id: 313
name: Parkour
lore:
line-0: Parkour
command: warp parkour
-
View User Profile
-
Send Message
Posted Apr 2, 2013@KeybordPiano459
Let me download it again and I will show you what I put, btw I added you on skype if you want to instantly get it on there?