upd:

Lifesteal Addon (1.20.x) BIG UPDATE!

Thumbnail: Lifesteal Addon (1.20.x) BIG UPDATE!

The lifesteal addon is based of the plugin from the Lifesteal SMP, where whenever you die, you lose a heart, when you kill a player you gain a heart! This addon is updated to support latest versions of Minecraft (for now) and addon features include; Stealing hearts, Crafting hearts, Withdrawing hearts, and even reviving dead players who lose all their hearts!

This addon uses the player.json file

Table of Contents

Info

Creator: GamerDos

Video showcase

Hearts

When you kill someone, you gain their heart and they lose one. Hearts can be crafted.

Gain a heart by

1. Killing another player

Gain a heart by killing another player.

2. Using a heart item

Gain a heart by using a heart item.

Lose a heart by

Getting killed:

Lose a heart by getting killed.

Withdrawing hearts

Hearts can be withdrew by doingย ?withdraw <amount>

Withdrawing hearts.

Ghosts

When you die, you become a ghost.

Ghosts are permanently stuck in spectator mode.

You died.

You died: spectator mode.

The Heart of Life

Screenshot of the Heart of Life.

The heart of life can be used to revive people, to do it:

  • Hold the heart of life
  • Right click or use the heart
  • Select which player to revive

Screenshot of Revive GUI.

Commands

The prefix is ?

Normal Commands

  • ?help | Messages you all the custom commands and their functions
  • ?withdraw <amount> | Withdraws an amount of hearts
  • ?revive <player> | Revives a ghost
  • ?welcome | Show the welcome GUI
  • ?heart display <on/off> | Display your hearts over your head
  • ?heart show <on/off> | Display your hearts only to yourself

Staff Commands

To get a role, use the command: /tag @s add lifesteal-opped

List of commands:

  • ?adminpanel/admingui/ap | Open the admin panel
  • ?heart set <amount> <player> | Set a player's hearts to an amount
  • ?heart setmax <20/30/40/50/60/70/80/90/100> | Set the maximum amount of hearts
  • ?heart envsteal <true/false> | Toggle to turn environment steal on or off
  • ?heart heartgl <1-4> | Set the amount of hearts you gain/lose when you kill a player or die
  • ?heart banghosts <true/false> | Option to ban ghosts (Not recommended for worlds as the owner can't get banned/kicked, also might make a player quit)
  • ?heart add <amount> <player> | Adds to a player's heart count
  • ?heart remove <amount> <player> | Removes hearts from a player's heart count
  • ?heart get <player> | Shows you how many hearts a player has
  • ?ghostbarrier <amount> | Sets the ghost barrier, (?ghostbarrier disable to disable) the ghost barrier is how much a ghost can travel before teleporting to 0, 0 again
  • ?get <item> <amount> | Get a lifesteal item (heart, heart_essence, heart_of_life, withdraw_heart, and heart_fragment)

Environment steal:ย if environment steal is on, you will lose hearts from mobs and other natural causes, if it isn't, you will only lose hearts from players

Admin Panel

The admin panel has 2 different commands with their own subset of commands, lets focus on the important one:

Screenshot of admin panel.

Experimental gameplay

The addon requires an experimental options.

Old gameplay:

Required experimental options: old gameplay.

New gameplay:

Required experimental options: new gameplay.

Can't see the images? Turn on:

  • Holiday Creator Features
  • GameTest Framework/Beta APIs

Want to change the recipe?

Terms

You are allowed to:

  • Showcase this addon WITH CREDITING
  • Use this addon in your worlds/servers/realms
  • Modify this addon (Without removing the credits)

You are NOT allowed to:

  • Repost this addon to other sites (This includes apps)
  • Create your own download link
  • Claim this addon as your own

Credits

GBShadow (Tester, Helper, and the person in the GIF) โ€”ย YouTube

This addon will be updated monthly :) (or when update come and break this addon and I have to refix it)

Updated on July 10

  • Added 1.20.x support
  • Overhauled the revive and dead systems
  • Made the heart system a lot better (a lot)
  • Changed the command system to work in 1.20.x
  • Rewrote the ?heart command (Now more better code and readable)
  • Added back ?heart reset
  • New ?heart set, add, remove, display, and show syntax
  • Slight texture changes
  • Added new commands:
    • ?reviveamount <amount> - How many hearts to give a player when they get revived
    • ?startamount <amount> - How many hearts to give a player when they first join the world/server/realm/etc
  • New syntaxes:
    • ?heart display
    • ?heart show
    • ?heart set GamerDos7511 10
    • ?heart add "Gamer Dos23" 10
    • ?heart remove "GamerDos7511" 10
  • Moved ?heart heartgl to its own command, now its just ?heartgl
  • When you are at max health and you gain a heart, you will stay at your previous health (e.g you are at 10 hearts, you gain a heart, you stay at 10 health and your max health is now 11)
  • Made the revive and dead players system better
  • The addon now checks if HCF is off (Holiday Creator Features)
  • A lot of performance changes/improvements
  • Rewrote A LOT of the code and made it better
  • Fixed the bug where the ghosts can use ?heart display and ?heart show
  • Changed the color of help page to green
  • New database (Less ram usage hopefully)
  • Bug fixes
  • Other stuff I probably forgot to put here

Download links
Download Link (Use common sense and stay safe!)
Support me with patreon!
My YouTube Channel!
Discord Server (Join for help with the addon or something)
Supported versions
1.20.0
Tags
1 595
1 comment
  1.  profile avatarCrystlu profile avatar Crystlu
    Btw when will modbay/gamerdos update this because on mcpedl this addon is already updated to work with mc v1.20+