HP Fixer
Description
This plugin is simple, it fixes a bug that is cause when you remove any plugin from your server that changes a players max health. If you take any plugin that sets a players max health and then remove it without resetting that players health, it will be stuck like that forever. The only fix is to get another plugin that can set the players health to 20 or to edit the player info. This plugin will simply allow you to reset any or all players health to 20 without the extra stuff that you really don't need. It is efficient and is easily updated because of this, so no need to worry about Bukkit updating and this plugin getting abandoned like many others.
Commands
There is only 1 command:
- /hpfix <player|all> This allows the player's health to be reset to default without needing to go through some complicated process like some health editing plugins. Specifying "all" will reset the health of every player on the server.
Permissions
- hpfixer.fix - Allows user to use the /hpfix <player> command.
- hpfixer.all - Allows user to use the /hpfix all command.
- hpfixer.auto - Upon joining, any player with this permission will have their health reset to default.
Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
@sleite
Plugin has been updated to 1.9 and can be found with the same name on Spigot.
5:54:46 PM [ERROR] null 5:54:46 PM org.bukkit.command.CommandException: Unhandled exception executing command 'hpfix' in plugin HPFixer v1.0 5:54:46 PM at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1350) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1185) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_40] 5:54:46 PM at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_40] 5:54:46 PM at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM at java.lang.Thread.run(Unknown Source) [?:1.8.0_40] 5:54:46 PM Caused by: java.lang.NoSuchMethodError: org.bukkit.Bukkit.getOnlinePlayers()[Lorg/bukkit/entity/Player; 5:54:46 PM at me.hobot.hpfixer.Main.onCommand(Main.java:41) [?:?] 5:54:46 PM at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.9.jar:git-Spigot-23e921f-8b69bdd] 5:54:46 PM ... 15 more
Please update to 1.9)
I have a question... This plugin work only just like HP Fixer for deleting HP editing plugins? Because I'm searching for plugin or mechanic which fix HP only in to one row but player can have 3500 HP (Still in one heart row).
Thanks) Its work on spogot 1.8.7)
OMG ! THANK YOU! THIS PLUGIN SAVED MY LIFE!!!! IT STILL WORKS WITH THE SPIGOT 1.8.7 !!!