Sueta

ExtraHealth

1.0.1

Easily add or remove a players health abilities.

·Plugin


Easily give, take, or set you players health hearts.


Requirements:
- Bukkit, Spigot, or Craftbukkit server running Java 8

To Installation just drop the 'ExtraHealth.jar' into you plugins directory, then restart / start the server.

Check for the generation of the ExtraHealth folder, the config.yml and messages.yml files.


You should have 2 files in your 'ExtraHealth' folder.
Config.yml and Messages.yml

The config.yml only contains the options for checking for updates at the moment.

In the messages.yml, you can change the messages to the player be affected and the staff/player running the commands.

Within the messages.yml there are placeholders defined to use in the messages.

Be sure not to change any of the "path-keys:" as it will cause errors and disable the plugin.

The following commands are included with dedicated permission nodes.
/hearts or /eh is the base command.

- /eh check <PLAYER>
Check how many hearts the player has
eh.check

- /eh add <PLAYER> <AMOUNT>
Adds the entered amount of hearts to the player
eh.add

- /eh rem <PLAYER> <AMOUNT>
Removes the entered amount of hearts from the player
eh.rem

- /eh set <PLAYER> <AMOUNT>
Sets the players hearts to the entered amount
eh.set

TODO List:
- Add reload command for messages.yml
- Add database support (mysql, mongo, sqlite) to store players data for editing offline players.

Disclaimer: You take full responsibility for any and all damages incurred by running this software.

Similar projects

Plugin →