HomeJavaModsPerKillHealth
PerKillHealth
upload_2024-6-27_12-29-36.jpeg

Plugin Features:

Health Restoration on Kill Events:

Configurable Settings:
Event Types Supported:
Customizable Messages:
Sound Effects:
Reload Configuration Command:
Permission-Based Commands:
Language Support:
Placeholders:
Commands:
Permissions:
Example Configuration (config.yml):
Code (Text):
kill-player:
  enabled: true
  ticks: 1200
  hearts: 5.0
  message:
    enabled: true
    text: '&aYou have restored %hearts% hearts! Current hearts: %current_hearts%'
  sound:
    enabled: true
    type: ENTITY_PLAYER_LEVELUP
 
in this example :

Spoiler: config.yml
Code (YAML):
############################################################
# |                       PerKillHealth
# | Commands: /perkillhealth reload
# | permissions: perkillhealth.reload - to reload config.yml file !
# | PlaceHolders: %hearts% , %current_hearts%
# | %hearts%: The number of hearts restored
# | %current_hearts%: The number of current hearts after restored hearts
# | Sound List : https://www.spigotmc.org/wiki/cc-sounds-list/
# | Plugin Creator: xNessus
# | Creator Discord: zbvczx
############################################################

# Configuration for restoring health when a player kills another player
kill-player
:
  enabled
: true
  # If true, enables the health restoration feature when a player kills another player.
  ticks
: 1200   # Ticks delay before restoring health (20 ticks = 1 second)
  hearts
: 5.0   # Number of hearts to restore
  message
:
    enabled
: true
    text
: '&aYou have restored %hearts% hearts! Current hearts: %current_hearts%'
    # Message displayed to the player when health is restored, with placeholders for hearts restored and current hearts
  sound
:
    enabled
: true
    type
: ENTITY_PLAYER_LEVELUP
    # Sound played to the player when health is restored

# Configuration for restoring health when a player kills an animal
kill-animal
:
  enabled
: true
  # If true, enables the health restoration feature when a player kills an animal.
  ticks
: 1200
  hearts
: 2.0
  message
:
    enabled
: true
    text
: '&aYou have restored %hearts% hearts by killing an animal! Current hearts: %current_hearts%'
  sound
:
    enabled
: true
    type
: ENTITY_PLAYER_LEVELUP

# Configuration for restoring health when a player kills a monster
kill-monster
:
  enabled
: true
  # If true, enables the health restoration feature when a player kills a monster.
  ticks
: 1200
  hearts
: 3.0
  message
:
    enabled
: true
    text
: '&aYou have restored %hearts% hearts by killing a monster! Current hearts: %current_hearts%'
  sound
:
    enabled
: true
    type
: ENTITY_PLAYER_LEVELUP

# Message displayed when configuration is successfully reloaded
reload-success-message
: '&aConfiguration reloaded successfully.'
 

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

PerKillHealth is a free Minecraft Java mod. Compatible with Minecraft 1.19, 1.20. Downloaded 133 times (via Spigot). Download it and open it directly in the game.

Explore more