[SKRIPT] Item Life

Script [SKRIPT] Item Life 0.3

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Supported Minecraft Versions
  1. 1.17
  2. 1.18
  3. 1.19
Requirements: Skript 2.6.4 and SkBee 2.9.0+

ITEM LIFE
You can use the life manager skript to manage the OP items you have on your server by giving them a life so every time you die the item will lose one life until it no longer has any lives left, after that, the item will be deleted from the game. You can choose how many lives each item has and configure the amount of lives they have. The skript also allows you to customize the types of items that can be managed, so you can choose which items will be affected by the life manager skript.

The life items will never be dropped after death even if the Keep inventory is false


Commands:
Code:
/il [slot number || tool] [Lifes] [player]

how to use?
The first thing you need to do is hold or to have it in your inventory the item you want to add life to.
upload_2023-5-7_19-50-37.png

Because I am holding the item, I will add lives with this command
8606_02cdd31b34eb90ab4e582860f5b29f9f.png

The number is the amount of lives I will add
upload_2023-5-7_19-51-59.png

It's all done now, when the player dies, every item with lives in his inventory will lose a life and be destroyed if it has 0 lifes

upload_2023-5-7_19-52-18.png



if you experience any problems, let me know on discord eult#0001
Buy me a coffee?
Author
eult
Downloads
751
Views
751
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from eult

Latest updates

  1. Update 0.3

    Update 0.3 - Increased the lives cap by changing the NBT from bytes to int - RemoveLifeTag...
  2. Update 0.2

    Update 0.2 - Keep inventory option removed since it's now automatically checked - The name of...

Latest reviews

Very useful skript!
I've seen many skripts that had the same idea but this one was the best
eult
eult
Thank you for your kind review. I will keep improving the resource to make it more user-friendly