btw can u fix this part. and /sell isn't working
on place of hay block:
set {gens::%location of event-block%} to uuid of player
if {gens::%player's uuid%} < 10:
add 1 to {gens::%player's uuid%}
while event-block is hay block:
wait 80 ticks
drop 1 wheat above location of event-block
else:
send "" to player
send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&710" to player
send "" to player
cancel event
command /gencap [<player>] [<text>] [<number>]:
permission: gencap.use
permission message: &cNope!
trigger:
if arg-1 is set:
if arg-2 is "reset":
set {gens::%arg-1's uuid%} to 0
send "&cYou have just reset %arg-1%&c's gen cap!" to player
command /gens:
trigger:
send "" to player
send "&bYou have used %{gens::%player's uuid%}%&7/&b10 gen space!" to player
send "" to player
No errors
bhut gen cap aint working it says gencap reached