▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Lifesteal999
Lifesteal999

Lifesteal999

Battle for survival in this customizable lifesteal plugin featuring heart stealing mechanics, hardcore elimination, combat logging protection, and full configuration control

Оцените первым
531
2

Features

Hearts

  • Every player has a number of hearts that sets their maximum health.
  • New players start with a configurable number of hearts.
  • There is a configurable maximum number of hearts a player can reach.
  • Players can withdraw hearts, turning them into tradeable heart items.
  • Players can consume heart items to raise their maximum health.
  • Heart items can be crafted with a fully configurable recipe.
  • Normal enchanted golden apples are never affected — only the plugin's own heart items are special.

Losing hearts

  • Hearts can be lost on every death, only on player kills, or never.
  • You can restrict heart loss to specific worlds.
  • Void deaths never cost a heart.
  • A configurable protection period can prevent heart loss right after joining or being revived.

Elimination and revival

  • When a player loses their last heart they can be eliminated.
  • The elimination punishment is configurable: send them to spectator, kick them, ban them for a set time (or permanently), or drop their inventory.
  • Eliminated players stay eliminated even after the server restarts.
  • A craftable revival item lets players bring the eliminated back.
  • Right-clicking a revival item opens a menu of every eliminated player.
  • The menu is paged, with arrows to move between pages, and clicking a player revives them.
  • Operators can revive a player instantly without spending an item.
  • Regular players can revive a player by using one of their own revival items.
  • Operators can hand out revival items directly.

Trading and gifting

  • Players can trade items with each other through a dedicated trade window.
  • Players can gift hearts to each other.
  • Trade requests expire after a configurable time.
  • Cooldowns can be set for gifting hearts and withdrawing hearts.

Heart shop

  • A heart shop lets players buy and sell hearts using server currency.
  • The shop is disabled by default and only works when Vault is installed.
  • Buying and selling can be enabled or disabled independently.
  • Prices, amounts per purchase, maximum hearts and minimum hearts to keep are all configurable.

Messages and placeholders

  • Every message in the plugin is fully customizable.
  • Heart information can be shown with PlaceholderAPI.

Commands

CommandDescriptionPermission
/lifestealShows the list of available subcommands.—
/lifesteal reloadReloads the configuration and messages.lifesteal.admin
/lifesteal give <player> <amount>Gives heart items to a player.lifesteal.admin
/lifesteal giverevive <player> [amount]Gives revival items to a player.lifesteal.admin
/lifesteal revive <player>Revives an eliminated player instantly.lifesteal.admin
/lifesteal stats [player]Shows heart statistics for yourself or, with permission, another player.lifesteal.admin when viewing another player
/lifesteal giveheart <player> <amount>Gifts your own hearts to another player.lifesteal.giveheart
/lifesteal trade <player>Sends a trade request.lifesteal.trade
/lifesteal trade acceptAccepts a pending trade request.lifesteal.trade
/lifesteal shopOpens the heart shop.lifesteal.shop
/withdraw [amount]Withdraws hearts as heart items.lifesteal.withdraw
/revive <player>Revives an eliminated player using one of your revival items.lifesteal.revive
/adminrevive <player>Revives an eliminated player without using an item.lifesteal.admin

Permissions

PermissionDefaultDescription
lifesteal.adminOperatorsAccess to all administrative commands.
lifesteal.withdrawEveryoneAllows withdrawing hearts.
lifesteal.reviveEveryoneAllows reviving others with a revival item.
lifesteal.tradeEveryoneAllows trading with other players.
lifesteal.giveheartEveryoneAllows gifting hearts.
lifesteal.shopEveryoneAllows opening the heart shop.

Placeholders

When PlaceholderAPI is installed, the following placeholders are available:

PlaceholderDescription
%lifesteal_hearts%The player's current hearts.
%lifesteal_max_hearts%The maximum hearts allowed on the server.
%lifesteal_withdrawn%How many hearts the player has withdrawn.
%lifesteal_consumed%How many hearts the player has consumed.
%lifesteal_eliminated%true if the player is eliminated, otherwise false.
%lifesteal_status%alive or eliminated.

Configuration

All settings live in the configuration file. Messages live in the messages file and use & colour codes with {placeholder} values.

General

SettingWhat it does
default-heartsHow many hearts a new player starts with and how many hearts a player is revived with.
max-heartsThe highest number of hearts any player can reach.
enabled-worldsThe worlds where losing hearts applies. Leave it empty to apply everywhere.
lose-heartsWhen hearts are lost. true always, false never, pvp only when killed by another player.
grace-period-secondsSeconds of protection from heart loss after joining or being revived. 0 disables it.

Elimination

SettingWhat it does
elimination.enabledWhether players can be eliminated. When disabled, players can never fall below one heart.
elimination.punishmentWhat happens on elimination: SPECTATOR, KICK, BAN or DROP.
elimination.kick-messageThe message shown to a kicked or banned eliminated player.
elimination.ban-duration-secondsBan length in seconds. 0 makes the ban permanent. Only used with BAN.
elimination.drop-inventoryAlso drops the eliminated player's inventory. Useful when keeping items on death is enabled.
elimination.broadcastWhether a server-wide message is sent when a player is eliminated.

Heart item

SettingWhat it does
heart-item.nameThe display name of the heart item.
heart-item.loreThe lore lines of the heart item.
heart-item.hearts-per-itemHow many hearts are gained by consuming one heart item.

Heart recipe

SettingWhat it does
recipe.enabledWhether the heart crafting recipe is active.
recipe.shape.1, .2, .3The three rows of the crafting shape.
recipe.A … recipe.FThe ingredient used for each character in the shape.

Revival item

SettingWhat it does
revive-item.enabledWhether the revival item and its recipe are active.
revive-item.materialThe base material of the revival item.
revive-item.nameThe display name of the revival item.
revive-item.loreThe lore lines of the revival item.
revive-item.recipe.enabledWhether the revival item recipe is active.
revive-item.recipe.shape.1, .2, .3The three rows of the revival item's crafting shape.
revive-item.recipe.A … EThe ingredient used for each character in the revival shape.

Trading

SettingWhat it does
trade.request-timeout-secondsHow long a trade request stays valid before it expires.
trade.giveheart-cooldown-secondsCooldown between gifting hearts. 0 disables it.
trade.withdraw-cooldown-secondsCooldown between withdrawing hearts. 0 disables it.

Economy and shop

SettingWhat it does
economy.enabledMaster switch for the heart shop. Requires Vault.
economy.shop.buy.enabledWhether players can buy hearts.
economy.shop.buy.amountHow many hearts are bought per click.
economy.shop.buy.price-per-heartThe cost of a single heart when buying.
economy.shop.buy.max-heartsThe maximum hearts a player may own after buying. 0 uses the main maximum.
economy.shop.sell.enabledWhether players can sell hearts.
economy.shop.sell.amountHow many hearts are sold per click.
economy.shop.sell.price-per-heartThe money received for a single heart when selling.
economy.shop.sell.min-heartsThe number of hearts a player must keep after selling.
Партнёрский материал

Сервер для плагина Lifesteal999 - как у профи

Плагин Lifesteal999 создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином Lifesteal999 для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки


Детали

Лицензия:
Опубликован:1 год назад
Обновлён:2 недели назад
Главная