LifeSteal (Skript) [Configurable in gui] icon

LifeSteal (Skript) [Configurable in gui] -----

Kill players to steal their hearts! Configurable in a nice gui




- changed the author name in the skript to reflect my name change and chosen identity

this has been a long time coming and spigot was about the only platform i hadn't transitioned on

i will be trying to maintain this resource for as long as i can from now on:
- if you have any questions, suggestions or bugs regarding me or this resource, please message me on discord (@ novystar)
- there are still a lot of optimizations that can be made with v3 and using "." separators on the variables was a mistake so i may need to recode it again :/
- updates may take a while as i have a few other projects that i am more passionate about as well as other stuff i have to deal with

thank you for all the support i've gotten on this resource over the years, the last thing i wanted was to just abandon it <3
----------, Jan 17, 2024

(if you were previously running 2.0 you will need to download the variable converter here)

so i finally recoded this for the third (and hopefully last) time.
--
huge thanks to almondz_ for helping with the code and testing! (go check out her spigot here)
--
the skript functions pretty much the same but with some small changes and big optimizations, i will list all the important(ish) changes below:

- changed /redeem to /withdraw (/redeem is now the alias)
- added a shapeless recipe option to the recipe editor
- reworked the ls mode editor and changed ban mode to 'custom'
- removed a lot of unnecessary messages
- reworked spectator mode so that it puts you in adventure mode with invis and god mode (you can use custom mode for actual spectator)
- added /ls eliminate
- added a setting to change the heart item
- changed it so that just before a custom elimination command is run, the player's hearts are set to 10 (because of tempbans)
- replaced /sethearts with /ls edithearts (reworked with addition/subtraction of hearts)

note: this may have some bugs that i still haven't discovered, if you find any please post them on the discussions page for this resource, also yes i will be testing this on 1.20 when skript releases for that <3
----------, Jun 9, 2023

- optimised login and playerdata reset code
- fixed bug with the playerdata reset option where offline spectator players would not be properly revived
----------, Aug 7, 2022

- fixed infinite heart bug where you could get infinite hearts by using your offhand
- fixed bug with setting offline players hearts and resetting them every login
----------, Jun 22, 2022

fixed errors with player eliminations and the new skript update
----------, May 31, 2022

- fixed bug with reset playerdata not working as intended (setting online players hearts variable to <none>)
- fixed bug with setting hearts for offline players not working
----------, May 3, 2022

fixed small inconsistency when going out of the reset playerdata gui it would put you back in the main page
----------, May 3, 2022

- fixed bug with reset playerdata not working as intended (setting online players hearts variable to <none>)
- fixed bug with setting hearts for offline players not working
----------, May 3, 2022

- added "other" section in /ls config
- You can now toggle the /redeem (or /withdraw) command in the in-game config:
upload_2022-4-11_11-33-37.png

upload_2022-4-11_11-33-13.png
----------, Apr 11, 2022

you can now add -realname- when editing recipe items to use its real name in /ls recipe
Example:
-hand- -realname-
diamond sword -realname-
upload_2022-1-13_17-11-42.png
----------, Jan 13, 2022

- You can now reset all player data (hearts and spectator status) in the /ls config menu
upload_2021-12-24_18-18-18.png
----------, Dec 24, 2021

- it was checking the attacker's hearts on death not the victim so heart limit was broken
----------, Nov 23, 2021

- fixed bug where it would update your hearts variable when doing /redeem for the first time without killing anyone
----------, Nov 19, 2021

fixed 2 infinite heart bugs!
- doing /redeem <more hearts than you have>
- fixed players from 0 hearts somehow getting 2 hearts when applying a heart
----------, Nov 18, 2021

the heart limit was not working
- fixed
----------, Nov 14, 2021

fixed hard mode not working
----------, Nov 14, 2021

Completely recoded everything!

removed dependencies for skquery and tuske (they are outdated and not needed)

Added:
- /ls config to configure the skript
- recipe config
- more advanced modes
- lots of other stuff
- variable conversion
- everything should change over (please let me know if some stuff didn't)
- Now requires skBee

Fixed:
- hearts and stuff now saved on the player's uuid (so if they change their name the hearts stay)
- switched to vanilla guis
- switched to skBee's crafting system instead of skquery

If you are using previous versions i highly encourage you to switch to 2.0
----------, Nov 6, 2021

- fixed issue where if you were on half a heart it would say you have 0 HP with /checkhearts

Note:
there will be a lack of updates to this (unless there is a game breaking bug)
as i am working on new things
----------, Sep 14, 2021

- added command /checkhearts to check a players hearts
upload_2021-9-13_17-37-9.png
----------, Sep 13, 2021

- fixed issue where having a heart in your offhand would allow you to gain an infinite number of hearts
----------, Sep 7, 2021

- fixed issue where you could do /redeem -1000 to get 1000 hearts Cap3ture.PNG
----------, Sep 6, 2021

- fixed issue where hearts would not be given ids when crafted
----------, Sep 4, 2021

- fixed issue where you can't add hearts by right clicking them

- fixed the spam of warnings when reloading the skript

- if you are having this issue please download this update!
----------, Sep 1, 2021

added command /lsmode - choose what to happen when a player runs out of hearts
added command /lsrevive - revives players who are eliminated in spectator mode

added 3 modes:
normal - nothing happens upon running out of hearts

spectator - put players into spectator permanently upon running out of hearts

ban - ban players upon running out of hearts

added cool lightning strike effect when a player is eliminated

lifesteal3.PNG
----------, Aug 25, 2021

- added a way to craft hearts
- added /heartrecipe to see the crafting recipe
- given physical hearts ids so they don't stack
- fixed issue where if you have 0.5 hearts it will say "your hearts have been set to 0" on login

lifesteal2.PNG
----------, Aug 24, 2021

Resource Information
Author:
----------
Total Downloads: 9,262
First Release: Aug 24, 2021
Last Update: Jan 17, 2024
Category: ---------------
All-Time Rating:
21 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings