[SKRIPT] New Lifesteal Skript with Alt Protection and Commands

  • 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!

CrossPath

New Member
Oct 22, 2021
0
0
0
Skript Information
- This is not 100% tested to be perfect.
- This is a simple Skript that brings Lifesteal into reality with simple things almost anyone can understand.

Install Instructions
- Download Skript (https://github.com/SkriptLang/Skript/releases)
- Download lifesteal.sk (this page)
- Restart your server and locate the "Skripts" folder, then open it
- Open the "scripts" file within the "Skripts" folder and place the "lifesteal.sk" file within it
- Go in-game and type "/skript reload lifesteal" (or do it in console and type "skript reload lifesteal")

How to Let Players Use Command
- You can either remove the "permissions" line within the code OR get some sort of permission management plugin (LuckPerms recommended personally) and add the permission(s) wanted as listed below.

PERMISSION NODES
/transfer - lifesteal.cmd.transfer
/sethealth - lifesteal.cmd.set
/removehealth - lifesteal.cmd.remove
/addhealth - lifesteal.cmd.add
/viewhealth - lifesteal.cmd.view
/lifesteal - lifesteal.cmd.help
/lsnodes - lifesteal.cmd.help.nodes
/lsaliases - lifesteal.cmd.help.aliases

Commands
/transfer (player) (number of hearts to transfer)
/sethealth (player) (number of hearts to be set at)
/removehealth (player) (number of hearts to remove)
/addhealth (player) (number of hearts to add)
/viewhealth (player)
/lifesteal
/lsnodes
/lsaliases

Ex
/transfer CrossPath 2
/sethealth CrossPath 5
/removehealth CrossPath 3
/addhealth CrossPath 6
/viewhealth CrossPath
/lifesteal
/lsnodes
/lsaliases

Command Aliases
/transfer - /giveheart, /transferheart, /hearttransfer, /givehealth, /transferhealth, /healthtransfer, /th
/sethealth - /setheart, /heartset, /healthset, /sh
/removehealth - /removeheart, /subtractheart, /heartremove, /heartsubtract, /subtracthealth, /healthremove, /rh
/addhealth - /addheart, /newheart, /heartadd, /heartnew, /healthadd, /healthnew, /ah
/viewhealth - /viewheart, /heartview, /healthview, /vh
/lifesteal - /life, /steal, /lifehelp, /lh, /hl, /help life, /lsteal, /lifes, /crosspath skript, /lifest, /listeal
/lsnodes - /lifenodes, /stealnodes, /lifehelpnodes, /lhn, /hln, /lstealnodes, /lifesnodes, /lifestnodes, /listealnodes
/lsaliases - /lifealiases, /stealaliases, /lifehelpaliases, /lha, /hla, /lstealaliases, /lifesaliases, /lifestaliases, /listealaliases

IF YOU NEED SUPPORT, PLEASE FEEL FREE TO REACH OUT BY SENDING ME A MESSAGE ON SPIGOT.

HELP COMMAND IS DONE BY TYPING /lifesteal IN GAME.

This is set up for a Lifesteal server.