LifeLine icon

LifeLine -----

10 hearts just isnt enough! but it will cost you for more.




noticed an issue with my own server where elite mobs plugin would reset the health of the player on joining back to game default 20 hearts so I added a redundancy that will check two values one being the current health max and the other being a persistent data container tied to the player and of they don’t match it will manually reset it back to the amount it should be from lifeline and apply regen for a short period to bring the health back to full
please don’t make me have to remove this due to cheating with it :(

anyway new addition to the config is the line for region time being as follows by default
regen: 48

the 48 is not in seconds for whatever reason so it roughly translates to 2 seconds total which is enough to regain 60 hp to full from 20 hp

new commands are
/ll-setdata <player> <hp>
and
/ll-getdata <player>

the set data will do much the same as the /ll-set command where it will set a desired hp max to whoever the target is it is really just for debuting on my end and get data will just display what the PDC for the target is set to also mostly just for debugging
----------, Oct 6, 2024

i must do more testing before these releases.........

fixed an issue where resett lives would always assume the sender regardless of target given

fixed issue with ll-set where it required a 3rd null argument to work correctly
----------, Sep 21, 2024

i’ve gone ahead and added the ability to manually set the life count of a desired player with a new command as well as the ability to reload the configs via a command i’ve also changed how the reset lives command works and added the ability to yto chose a target player for the command if no target is given it will assume the player sending the command as the target


added config elements:
#do lives reset to base on death?
reset_lives: true
#if reset lives is false this message will display on death
alt_death_message: §cYou Died.. even with extra lives...


commands added/changed:
/addlife-resetlife <target>
/ll-reload
/ll-set <target> <HP>
----------, Sep 21, 2024

fixed some bugs in the background to clean up logs
as well as added when op joins the update checker runs to check for any new updates!
----------, Feb 24, 2024

lifeline now has an update checker!
this will be checked upon reloading or enabling the plugin as well as manually by using the command /lifeline-update or /llu or /llupdate

also fixed the error with players not being able to add life when economy-mode is on
----------, Feb 23, 2024

this update fixes the bug that occurs in economy-mode true where the command would error every time not allowing life increase
----------, Feb 23, 2024

i have added the vault api to the plugin you can now use economy in tandem with the item cost for addlife!

the config now has two new lines
economy-mode:
and
cost:

you can set economy mode to true (false by default0 to enable the economy requirements
cost is how much you’d like charged per addlife to increase the players life
----------, Feb 22, 2024

Resource Information
Author:
----------
Total Downloads: 122
First Release: Feb 8, 2024
Last Update: Oct 6, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings