Skript na kody możesz zrobić bardzo łatwo
command /kod [<text>]:
trigger:
if arg-1 is not set:
send "&7Poprawne użycie komendy: &6/kod <kod>" to player
else if arg-1 is "test":
if {used-codes::%player%::*} contains "test":
send "&cJuż użyłeś tego kodu!"
else:
add "test" to {used-codes::%player%::*}
execute console command "eco give %player% 30"
send title "&6&lTWOJE&f&lIP.PL" with subtitle "&8» &2Sukces! &aOdebrałeś nagrodę za &2kod!" to player
send "&fGracz &e%player% &fodebrał nagrodę za kod &etest" to all players