cosmeticBeginnermc 1.20.x – 1.21.x17 lines
custom enchant: lifesteal
adds a 'lifesteal' lore-based enchantment. hitting players with the enchanted weapon heals you for 20% of damage dealt.
vanilla Skriptno addons required.
custom-enchants.sk17 lines
command /enchant lifesteal: permission: enchant.admin trigger: if player's tool is air: send "&cHold an item to enchant." to player stop add "&7Lifesteal" to lore of player's tool send "&aApplied Lifesteal I to your weapon." to player on damage: if victim is a player: if attacker is a player: if lore of attacker's tool contains "&7Lifesteal": set {_heal} to damage * 0.20 heal attacker by {_heal} send "&c&l-%damage% &7| &a+%{_heal}% &7life" to attacker
get it running
custom-enchants.sk · 17 lines · vanilla Skript- 1
copy or download
grab the .sk file with the buttons up top.
custom-enchants.sk· ready to drop in - 2
drop it in your scripts folder
save it exactly here on your server — no typos, just copy the path:
…/plugins/Skript/scripts/custom-enchants.sk - 3
reload in-game
run this in chat or console — your script goes live instantly:
/sk reload custom-enchants
that's it — your script is live. hop in-game to try it.
/ related templates
more cosmetic templates
cosmetic
custom death messages
replace the default death messages with custom colored variants. different message per damage type (pvp, fall, lava, drown, etc.)
cosmeticevent countdown bossbar
display a server-wide bossbar counting down to a timed event. color shifts from green → yellow → red as time runs out.
cosmetichex gradient chat text
send chat messages with smooth hex-color gradients (think rainbow ranks or fade-from-red-to-yellow). Skript 2.7+ supports the syntax — this template wraps it in a reusable function.