command /ranga [<text>]:
trigger:
close player's inventory
open chest with 1 row named "&cRanga" to player
if player has permission "group.default":
set player's current inventory's slot 4 to diamond helmet named " " with lore "&cGracz"
if player has permission "group.vip":
set player's current inventory's slot 4 to diamond helmet named " " with lore "&cVip"
//Dalej pisz tak samo, od najniższej rangi do najwyższej
Wywal pexa, zainstaluj luckperms.