HubBasics - PORTED
PORTED TO SPIGOTMC! Official Thread: http://www.spigotmc.org/resources/hubbasics.2654/
Introduction
HubBasics is a Basic plugin for Hub/Lobby server owners. It gives you some features to customize your server/spawn area.
Features:
- Disable or enable and customize your Join/Leave Messages
- Double Jump With Configuration
- Stacker Mini-Game [ 2.0 BETA ]
- AntiOP ( Removes OP Every 15 Seconds If Enabled )
- /hat with metadata! ( /hat <id> <metadata> )
- Keep Food ( Keeps Food At 100% )
- Keep Health ( Keeps Health At 100% )
- BungeeCord Support ( Basic For Now )
- Launch Pads!
- Basic Info Signs!
- Anti Rain! ( Disable Rain )
- Custom MOTD! ( 1 or 2 Custom MOTD's for your server! [Support Colors!] )
- Anti Void Fall! ( Teleports you back to spawn when you fall on void! )
- Fake Plugins! ( You can change the message of /pl and /plugins )
- /hub and /sethub ( /lobby as alias for /hub )
- JoinItem system [ 2.0 BETA ]
- Chat Announcer System
- Boss Bar Announcer System
- Fully configurable, and with permissions!
[!] > COMPATIBLE WITH 1.7.2 AND 1.7.9! < [!]
[!] > Minecraft 1.8 Notices Can Be Found On SpigotMC < [!]
1.8 Update
Visit SpigotMC For More Info.
Commands
List of all available commands in the plugin.
Command | Description | Permission |
---|---|---|
/pl or /plugins | Sends the fake plugin message ( Configurable ) | None |
/hub or /lobby | Teleports you back to lobby | HubBasics.Hub |
/sethub | Sets the Hub location | HubBasics.SetHub |
/hat <id> <metadata> | Sets your hat | HubBasics.Hat.ID |
/hb | Main HubBasics Command | HubBasics.Hub |
/quickwarp | Command To Open Quick Warp Chest | None |
/speed | Command to change your lobby speed | None |
/jump | Command to change your lobby jump force | None |
/settings | Command to open your settings chest | None |
Permission | Description |
---|---|
HubBasics.Hub | Permission for /hb & /hub & /lobby |
HubBasics.SetHub | Permission for /sethub |
HubBasics.NonStackable | Permission to deny player to be stacked |
HubBasics.UUID | Permission for /uuid |
HubBasics.Plugins | Permission to bypass /plugins fake message |
HubBasics.Hat.ID | Permission to use the HAT ID. |
HubBasics.ChatColor | Permission to use ChatColor |
HubBasics.Warps.Name | Permisstion to warp to Name |
HubBasics.EditWorld | Permission To Edit The World |
HubBasics.MoveItems | Permission To Move Items On Your Inventory |
Configuration
- Item Giving System
- The rest of the config, actually explains itself.
How To Install
- Download the latest version of HubBasics here on BukkitDev
- Download the latest version of BarAPI [ http://dev.bukkit.org/bukkit-plugins/bar-api/ ]
- Place HubBasics and BarAPI on your plugins folder
- Start/Restart your server
- Go to your plugins folder and search for HubBasics
- Configure it the way you want
- Save the configuration and restart your server
To-Do
- Menu System ( Compass and these things )
- More Configuration
- Per World Config
- Add vanish option for player ( Magic Clock Thing )
- Any ideas?
Source Code
Future Things
- G̶e̶t̶ ̶5̶0̶ ̶D̶o̶w̶n̶l̶o̶a̶d̶s̶
- G̶e̶t̶ ̶1̶0̶0̶ ̶D̶o̶w̶n̶l̶o̶a̶d̶s̶
- G̶e̶t̶ ̶2̶0̶0̶ ̶D̶o̶w̶n̶l̶o̶a̶d̶s̶
- G̶e̶t̶ ̶5̶0̶0̶ ̶D̶o̶w̶n̶l̶o̶a̶d̶s̶
- G̶e̶t̶ ̶7̶5̶0̶ ̶D̶o̶w̶n̶l̶o̶a̶d̶s̶
- G̶e̶t̶ ̶1̶0̶0̶0̶ ̶D̶o̶w̶n̶l̶o̶a̶d̶s̶
- Get 2500 Downloads
- Get 5000 Downloads
- Do Updates More Speedly
Metrics
In the 2.0 update, i added Metrics.
So what is Metrics?
- - Metrics is a service provided by Hidendra that let the plugin send stats about usage to mcstats.org
What your plugin send to mcstats.org?
- - The basics like what version of the plugin you are running, the version of your server, how much players are online on your server ( Not the max slots ), etc..
What your plugin will NOT send to mcstats.org?
- - Any important data ( Like passwords and things like that )
- - Your server IP Adress
- - The name of the online players
How do I really know you aren't doing something sketchy?
- - My plugin is Open-Source, so you can simply go to the GitHub page and verify the MetricsLite.java and see what it sends to mcstats.org
I want to disable metrics, how i can do this?
- - You can simply go to /plugins/PluginMetrics/ and set opt-out to true
Why do you want metrics?
- - As an plugin developer, i want to know how many servers are running this plugin, and see if my plugin is really being useful;
Bugs?
- Post on SpigotMC discussion area.
Is this for bungee only?
I keeps getting this error. ALso some things donst work.
but also some things of ot works like /hub /lobby spawnonjoin and stuff ====== I think this error is comming from your plugin
me.Fabricio20.Bukkit.Runnables.BossAnnouncer.run(BossAnnouncer.java:27) [?:?] 26.06 09:41:27 [Server] INFO java.lang.NoClassDefFoundError: me/confuser/barapi/BarAPI 26.06 09:41:27 [Server] WARN Task #151 for HubBasics v3.0.5 generated an exception 26.06 09:41:27 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79] 26.06 09:41:27 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:41:27 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:41:27 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:41:27 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:726) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:41:27 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:41:27 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:41:27 [Server] INFO at me.Fabricio20.Bukkit.Runnables.ChatAnnouncer.run(ChatAnnouncer.java:26) [?:?] 26.06 09:41:27 [Server] INFO at java.util.ArrayList.get(ArrayList.java:411) [?:1.7.0_79] 26.06 09:41:27 [Server] INFO at java.util.ArrayList.rangeCheck(ArrayList.java:635) [?:1.7.0_79] 26.06 09:41:27 [Server] INFO java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 26.06 09:41:27 [Server] WARN Task #152 for HubBasics v3.0.5 generated an exception 26.06 09:40:27 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79] 26.06 09:40:27 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:726) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at me.Fabricio20.Bukkit.Runnables.ChatAnnouncer.run(ChatAnnouncer.java:26) [?:?] 26.06 09:40:27 [Server] INFO at java.util.ArrayList.get(ArrayList.java:411) [?:1.7.0_79] 26.06 09:40:27 [Server] INFO at java.util.ArrayList.rangeCheck(ArrayList.java:635) [?:1.7.0_79] 26.06 09:40:27 [Server] INFO java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 26.06 09:40:27 [Server] WARN Task #152 for HubBasics v3.0.5 generated an exception 26.06 09:40:27 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79] 26.06 09:40:27 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:726) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:40:27 [Server] INFO at me.Fabricio20.Bukkit.Runnables.BossAnnouncer.run(BossAnnouncer.java:27) [?:?] 26.06 09:40:27 [Server] INFO java.lang.NoClassDefFoundError: me/confuser/barapi/BarAPI 26.06 09:40:27 [Server] WARN Task #151 for HubBasics v3.0.5 generated an exception 26.06 09:39:42 [Multicraft] Skipped 5 lines due to rate limit (30/s) 26.06 09:39:29 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_79] 26.06 09:39:29 [Server] INFO at me.Fabricio20.Bukkit.Listeners.HubChest.CHEST_Command.onCommand(CHEST_Command.java:19) [?:?] 26.06 09:39:29 [Server] INFO at me.Fabricio20.Bukkit.Listeners.HubChest.CHEST_Command.getAllChests(CHEST_Command.java:31) [?:?] 26.06 09:39:29 [Server] INFO Caused by: java.lang.NullPointerException 26.06 09:39:29 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79] 26.06 09:39:29 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:718) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_79] 26.06 09:39:29 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_79] 26.06 09:39:29 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:970) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1127) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:29 [Server] INFO org.bukkit.event.EventException 26.06 09:39:29 [Server] ERROR Could not pass event PlayerCommandPreprocessEvent to HubBasics v3.0.5 26.06 09:39:29 [Server] INFO
----26.06 09:39:29 [Server] INFO Unlimited MC Hosting: www.hosthorde.com 26.06 09:39:29 [Server] INFO----26.06 09:39:29 [Server] INFO Download: Type "/co version" in-game. 26.06 09:39:29 [Server] INFO Version 2.11.3 now available. 26.06 09:39:29 [Server] INFO----26.06 09:39:29 [Multicraft] Skipped 8 lines due to rate limit (30/s) 26.06 09:39:28 [Server] INFO at java.util.ArrayList.get(ArrayList.java:411) [?:1.7.0_79] 26.06 09:39:28 [Server] INFO at java.util.ArrayList.rangeCheck(ArrayList.java:635) [?:1.7.0_79] 26.06 09:39:28 [Server] INFO java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 26.06 09:39:28 [Server] WARN Task #152 for HubBasics v3.0.5 generated an exception 26.06 09:39:28 [Server] INFO ... 8 more 26.06 09:39:28 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [?:1.7.0_79] 26.06 09:39:28 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [?:1.7.0_79] 26.06 09:39:28 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:28 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:28 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:354) [?:1.7.0_79] 26.06 09:39:28 [Server] INFO at java.security.AccessController.doPrivileged(Native Method) [?:1.7.0_79] 26.06 09:39:28 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:355) [?:1.7.0_79] 26.06 09:39:28 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:366) [?:1.7.0_79] 26.06 09:39:28 [Server] INFO Caused by: java.lang.ClassNotFoundException: me.confuser.barapi.BarAPI 26.06 09:39:28 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79] 26.06 09:39:28 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:28 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:28 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:28 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:726) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:28 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:28 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [spigot18.jar:git-Spigot-d2856ae-8f0f4ed] 26.06 09:39:28 [Server] INFO at me.Fabricio20.Bukkit.Runnables.BossAnnouncer.run(BossAnnouncer.java:27) [?:?] 26.06 09:39:28 [Server] INFO java.lang.NoClassDefFoundError: me/confuser/barapi/BarAPIHello,
How can i add a second item in the JoinItems.yml?
Any comments posted here will be ignore, i've moved the plugin to SpigotMC since Bukkit is dead.
Ok, News: - I'll add an option to make per-world announcements. - I'll start developing the Portal Sytem.
/sethub Is working on Dev Builds [ Downloaded From: http://hubbasics.url.ph/ ]
Thanks for the great plugin! I have a request for a future feature would it be possible to add a command for setting teleports away from the hub? So rather than the player having to run over to the portal he can just type /faction or anything really. I can always alias it to what I need it to be I just would love to see this in the same plugin. :)
Ok, thanks about to use it!
If you want to limit the plugin to per world I suggest per world plugins. http://dev.bukkit.org/bukkit-plugins/perworldplugins/
Is there a way to make announcements to not appear in different worlds without putting false to announcements?
Fabricio /sethub still doesn't work correctly in newest build.
@Absentee23 Thats the problem then my players will die of starving and yeah. oh and dont so be rude jeez.
@SpiderScreen7ftw
Read the damn config. >_>
It couldn't spell it out more clearly.
I need help the food and health at 100% cause my games to not work (ctf and dodgeball, ect) How do make it stop?
@ThomasDrolo
srry but this error doesn't give me any information i need, you can paste the full error and send me the link or u can try the latest build i've made:
- Download the latest build here: http://hubbasics.url.ph/
or pastebin the error and PM me/post here.
[13:44:40] [Server thread/ERROR]: Error occurred while enabling HubBasics v2.0 (Is it up to date?) java.lang.NullPointerException at me.Fabricio20.Main.onEnable(Main.java:66) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
@Fabricio20
Bukkit isn't accepting Plugin Updates anymore I am pretty sure.
So i'm still trying to fix a glitch on the /lobby command, but i think that it will not take that time to fix.
@ZachTheGreat7 I don't know if bukkit is accepting updates ON PLUGINS, but if not, then i'll post my buildserver here if you want to download it before bukkit staff allow.
@Fabricio20
Where will we be able to download it since Bukkit isn't accepting updates?
@ItsRodrick
Did it, next update will have it.
@ZachTheGreat7
I've fixed your problem, the Item-Not-Giving problem and the Bar-API issue with 1.8, next update will have all of these working.
When I use /sethub the hub is not changed. Any ideas?