Im trying to make items glow here would be an example and Im just using skript and skbee:
IGNORE THE GUI JUST LOOK AT THE SET SLOTS
#THIS WILL POP UP IN A GUI FOR THE KITS
command /cpvpkits:
cooldown: 4 hours
cooldown message: "&4Wait every 4 hours to use this command"
aliases: /cpvpk
trigger:
open chest inventory with 3 rows called "&5CPVP Kits" to player
wait 1 tick
set slot 13 of player's current inventory to glowing obsidian named "&5Starter Cpvp Kit"
set slot 11 of player's current inventory to glowing end crystal named "&5Grinder Cpvp Kit"
set slot 15 of player's current inventory to glowing respawn anchor named "&6GOD KIT"
on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 11:
give player 32 end crystals, 32 obsidian, 32 respawn anchors, 32 glowstone
on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 13:
give player 48 end crystals, 48 obsidian, 48 respawn anchors, 48 glowstone
on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 15:
give player netherite sword of knockback 1, 64 obsidian, 64 respawn anchors, 64 glowstone, 64 end crystals, totem of undying
IGNORE THE GUI JUST LOOK AT THE SET SLOTS
#THIS WILL POP UP IN A GUI FOR THE KITS
command /cpvpkits:
cooldown: 4 hours
cooldown message: "&4Wait every 4 hours to use this command"
aliases: /cpvpk
trigger:
open chest inventory with 3 rows called "&5CPVP Kits" to player
wait 1 tick
set slot 13 of player's current inventory to glowing obsidian named "&5Starter Cpvp Kit"
set slot 11 of player's current inventory to glowing end crystal named "&5Grinder Cpvp Kit"
set slot 15 of player's current inventory to glowing respawn anchor named "&6GOD KIT"
on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 11:
give player 32 end crystals, 32 obsidian, 32 respawn anchors, 32 glowstone
on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 13:
give player 48 end crystals, 48 obsidian, 48 respawn anchors, 48 glowstone
on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 15:
give player netherite sword of knockback 1, 64 obsidian, 64 respawn anchors, 64 glowstone, 64 end crystals, totem of undying