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.
what's the permissions for this?
@ryanblanksma
No, I'm not personally accommodating you.
Can you change the /hub command to /server?
@travja
In ServerSigns you can also execute commands without having permission for it.
For some reason my config got wiped and now I cant put the plugin back in?
@KeybordPiano459
I said you would need an API in order to bypass the perms, that or you would have to temporarily give them permission for the warp, warp them, and then remove the permission.
@realiez
Thanks :)
Amazing plugin :)
@travja
Well it wouldn't use an API, I just implement the commands used in the plugin. Anyhow, thanks for the commit, I was going to get to that sooner or later.
@obviousAce
To make this, what would have to be done is to link with whatever warps plugin you use, if it has an API. So he would have to detect warp plugins, and get the location of the warp using the API or the plugin folder. This would be pretty complicated so it'll take time. I might start work and submit a pull request.
Might also add a quick code for data values in the items and submit that pull request.
Good work @KeybordPiano459
@obviousAce
Sorry about not having permissions yet, I've had a lot on my hands recently. My states three-day standardized test starts tomorrow, and if I fail, this will be a big problem. I'll get to this when I can, but somebody submit a ticket, I'm never going to really remember otherwise...
People have no permissions to the warps even though they have essentials.warps.*
And please implement, that users do not need to have permission to execute the specified command, set in the config. We really appreciate to use this plugin with this features!
Please make a permission for /hub ! Would be nice, thanks!
@gatorfan9192
What is it that you're referring to? Sorry, I've been quite busy for the past few days
Will this ever be fixed?
NO /hub does not work. But I have an admin helping me and he says it works but not for me. Don't even say we have the plugin
@baconcheese18
Well... what? Pastebin your console on startup, and also- does /hub work ingame? This plugin doesn't currently depend on any other ones.
Do i need a plugin?*
No i place it in the plugins folder, start the server, and nothing happens. Most of the time i look back and see if i need a plugin and i never saw if i do. Do it?