Resource icon
  • 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
Skript Information
- This is not 100% tested to be perfect.
- This is a simple Skript that lets players trade health.

Install Instructions
- Download Skript (https://github.com/SkriptLang/Skript/releases)
- Download health.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 "health.sk" file within it
- Go in-game and type "/skript reload health" (or do it in console and type "skript reload health")

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
(PLAYER CMD) /giveheart - custom.giveheart
(ADMIN CMD) /sethealth - custom.sethealth
(ADMIN CMD) /removehealth - custom.removehealth
(ADMIN CMD) /addhealth - custom.addhealth

Commands
/givehealth (player) (hearts)
/sethealth (player) (hearts)
/removehealth (player) (hearts)
/addhealth (player) (hearts)
/viewhealth (player)

/hearts help

Ex
/givehealth Cross 3
/sethealth Cross 7
/removehealth Cross 8
/addhealth Cross 3
/viewhealth Cross

Command Aliases
/giveheart aliases: /gheart, /gh, /transferheart, /ghealth, /givehealth
/sethealth aliases: /shealth, /sh, /sheart, /setheart
/removeheart aliases: /subtracthealth, /rhealth, /rh, /removehealth
/addheart aliases: /ahealth, /additionalhealth, /ah, /aheart, /addhealth
/viewheart aliases: /viewhealth, /vheart, /vhealth, /vh
/health help aliases: /heart help, /cross help


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

HELP COMMAND IS DONE BY TYPING /heart help IN GAME.

This is set up for a Lifesteal server.
Author
CrossPath
Downloads
189
Views
880
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest updates

  1. Fixing Bugs

    Fixed Bugs.
  2. Updated Aliases and Viewheart Command

    - New aliases. They are the same as the old ones, but with "heart" instead of "health". - Added...