LifeXHeart provides a dynamic and configurable system that affects player health mechanics in the game, offering a unique gameplay experience by integrating a heart system that affects gameplay and player interaction.
KILL TO WIN HEARTS!
DON'T DIE TO LOSE HEARTS!
Configuration:
Code (YAML):
# Prefix
prefix
:
"&7[&aLifeXHeart&7] "
# How many hearts the player will lose upon death (1 heart = 2 health points)
hearts-lost-per-death
: 1.0
# Amount of hearts to lose upon dying
# How many hearts the player will gain for killing another player (1 heart = 2 health points)
hearts-gained-per-kill
: 1.0
# Amount of hearts to gain from a kill
# Command that will be executed when the player reaches their last heart
# Use {player} to reference the player's name
command-on-last-heart
:
-
"kick {player} &cYou have lost all your hearts!"
-
"say {player} has been kicked for losing all their hearts."
command-on-death
:
-
"say {player} has fallen in battle!"
-
"give {player} diamond 1"
# This is an example; you can change it to any command you want
# Custom message that will be displayed upon death
# The following placeholders can be used:
# {deadPlayer} - Name of the player who died
# {killer} - Name of the player who killed them (or "suicide" if there is no killer)
# {deadPlayerHealth} - Current health of the player who died in hearts
# {killerHealth} - Current health of the killer in hearts
# {heartsAdded} - Number of hearts gained by the killer
# {heartsRemoved} - Number of hearts lost by the player who died
death-message
:
"&c{deadPlayer} &7was slain by &a{killer}&7. &c{heartsRemoved} &7hearts were removed from &c{deadPlayer}. &a{killer} &7now has &a{killerHealth} &7hearts."
messages:
no-permission-message
:
"&cYou do not have permission to use this command."
hearts-added-message
:
"&a{amount} hearts have been added to {player}."
hearts-added-all-message
:
"&a{amount} hearts have been added to all players."
hearts-removed-message
:
"&c{amount} hearts have been removed from {player}."
reload-message
:
"&ahas been reloaded successfully."
This amazing plugin adds a dynamic heart system that completely changes the way you face death. Every battle becomes more strategic and exciting.
Features:
- Loss of hearts upon death: every time you fall in combat, you will lose a configurable amount of hearts. This adds a new level of risk and reward to each confrontation.
- Heart gain on kill: Brave warriors who eliminate their opponents will be rewarded with additional hearts, making them stronger in battle.
- Commands on death/kill: Customize the death experience with commands that are activated on death or upon reaching a final heart. From surprising messages to unexpected actions, each death can be unique.
This plugin supports
PlaceholderAPI plugin variablas, but also handles its own variablas.
Variables available:
{deadPlayer} - Name of the player who died
{killer} - Name of the player who killed them (or "suicide" if there is no killer)
{deadPlayerHealth} - Current health of the player who died in hearts
{killerHealth} - Current health of the killer in hearts
{heartsAdded} - Number of hearts gained by the killer
{heartsRemoved} - Number of hearts lost by the player who died
Commands:
/lxh add (user)/(all) (amount): add x amount of hearts to the user
/lxh remove (user)/(all) (amount): removes x amount from all or single player
permissions:
lifexheart.use: Allows the player to use LifeXHeart plugin commands
lifexheart.add: Allows the player to add hearts to himself or to other players.
lifexheart.remove: Allows the player to remove hearts from other players.
Please do not leave mistakes in the reviews
Support: https://discord.gg/n7czWVWEKW