H1 (HP)

H1 (HP)

At each death, the player loses 1 heart.

294 downloads 0 followers

Plugin Description: H1

H1 is a Minecraft server plugin that removes one heart from a player each time they die. If a player loses all their hearts (lives), a command is executed, which you can configure. For example, you can ban the player. WARNING: by default, it only displays a message that the player has lost all their lives.

You can use this creatively: sell hearts for in-game currency or real money, or make a quest that rewards hearts. You can also go hardcore and ban players permanently, but hey, it's Minecraft — not many players are into masochism. Use your imagination.

Features:

  • Player data is stored in a local SQLite database.
  • All messages are configurable.
  • You can give, set, or restore player hearts via command.
  • There’s a limit: players can’t be given more than 20 half-hearts (10 full hearts).
  • Includes a placeholder that displays the number of hearts a player has.

Commands:

/h1 give – Adds hearts to a player (up to 10 max).
/h1 set – Sets the player’s hearts to a specific value (up to 10).
/h1 recover – Restores the player’s lives to the maximum. Ideal for auto-recovery.
/h1 remove – Removes hearts from the player. (Lives can't go below zero.)
/h1 reload – Reloads the plugin.

Permissions:

h1.reload – Allows plugin reload.
h1.set – Grants access to the /h1 set command.
h1.give – Grants access to the /h1 give command.
h1.recover – Grants access to the /h1 recover command.
h1.remove – Grants access to the /h1 remove command.

Placeholders:

Requires PlaceholderAPI.
%h1_lives% – Displays the number of lives the player has (number only).

Configuration

language: "en"    # en, ru
lives:
  # Default number of lives (hearts) for a new player
  default: 10

  # Command to execute when a player runs out of lives.
  # You can use the %player% placeholder, which will be replaced with the player's name.
  command: "say Player %player% has lost all their lives!"

database:
  # SQLite database file name.
  # The file will be created in the plugin folder if it doesn't exist.
  file: "players.db"

Messages file:

prefix: "§6[H1] §r"
command:
  usage: "Usage: /h1 <give|set|remove|recover|reload> <player> <amount>"
  unknown: "Unknown command!"
reload:
  success: "Plugin reloaded successfully!"
give:
  success: "You gave %player% %amount% hearts."
  received: "You received %amount% hearts."
  max: "The player already has the maximum number of hearts (%max% hearts)."
  limited: "You can only give the player %available% hearts to avoid exceeding the limit of %max% hearts."
remove:
  success: "You removed %amount% hearts from %player%."
player:
  not:
    found: "Player not found!"
no:
  permission: "You don't have permission to use this command!"
life:
  info: "You now have %lives%."
recover:
  success: "You restored %player%'s life to the maximum."
number:
  format:
    error: "Invalid number: %input%"

Installation:

  1. Download the plugin.
  2. Stop your server.
  3. Drop the .jar file into your /plugins/ folder.
  4. Start the server.
  5. Done.
    To enable placeholders, install PlaceholderAPI.

No gallery available for this project.

Version Minecraft Loader Download

H1 (HP) 1.0.6

1.0.6

1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3, 26.4-snapshot-1, 26.4-snapshot-4, 26.4-snapshot-6, 26.4-snapshot-3, 26.4-snapshot-7, 26.4-snapshot-5, 26.4-snapshot-2
paper, purpur, spigot
Download

H1 (HP) 1.0.5

1.0.5

1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7
paper, purpur, spigot
Download