Marketplace/Gameplay/Lifestealplus

Lifestealplus

minecraftFreev1.0.0

Description

Create a Minecraft Paper/Spigot plugin for version 1.21.x called "LifestealPlus" with the following features:

CORE SYSTEM:

* Each player has custom hearts (stored per player).
* Default health = 20 (10 hearts).
* Killing a player steals 1 heart from the victim and gives it to the killer.
* When a player dies, they lose 1 heart.
* Max permanent hearts = 20 (configurable).
* If a player reaches 0 hearts, they are "banned":

* Set their gamemode to spectator.
* They cannot play until revived.

CUSTOM HEART ITEM:

* Item: Fermented Spider Eye
* Name: "Heart" (red colored text)
* ONLY this named item gives a permanent heart when eaten.
* Normal fermented spider eyes should do nothing.

GOLDEN HEART SYSTEM:

* Item: Golden Carrot
* Name: "Golden Heart" (gold colored text)
* Eating this gives +1 temporary heart (golden heart).
* Golden hearts:

* Increase max health temporarily.
* Are stored separately from permanent hearts.
* Are NOT permanent.
* Only disappear when that extra health layer is actually damaged.
* Do NOT disappear on small damage that doesn’t touch the extra layer.
* Remove exactly 1 golden heart when the extra health is used.

BOSS DROPS:

* Ender Dragon drops 1 Golden Heart.
* Wither drops 1 Golden Heart.
* Warden drops 1 Golden Heart.
* Elder Guardian drops 1 Golden Heart.

PLAYER HEAD DROP:

* When a player dies, they drop their player head.

REVIVE SYSTEM:

* If a Dragon Egg is placed on top of a Gold Block:

* All players in spectator mode (banned players) are revived.
* They are set back to survival mode.
* Send them a message "You have been revived!"
* Remove the dragon egg after activation.

DATA STORAGE:

* All player data (hearts and golden hearts) must persist after server restart.
* Save using config.yml or a data file.
* Load data when player joins.

CONFIG FILE:

* max-hearts: integer (default 20)
* golden-hearts-max: integer (-1 for infinite)
* ban-at-zero: true/false

TECH REQUIREMENTS:

* Use Paper API (1.21.x)
* Use clean, optimized event handling
* Prevent errors and null pointers
* Use UUIDs for player data
* Code should be well structured and readable

OPTIONAL (if possible):

* Play sound and particles when a golden heart breaks
* Prevent negative hearts
* Ensure max health updates correctly every time

OUTPUT:

* Full Java plugin code
* plugin.yml
* config.yml
* Ready to compile without errors

Reviews (0)

No reviews yet

Be the first to leave a review!

Vidhaan Vyas

Seller

Vidhaan Vyas

0

downloads

Versionv1.0.0
Platformminecraft
Typespigot
Minecraft VersionMC 1.21
CategoryMinecraft Plugins > Gameplay
Published on03/04/2026
Last update21/04/2026
Free