Hello.
I have a problem again:
I want to delay the "/present" command, but I don’t know how to make the delay happen only if the player has a certain right, that is, 'permission.present', that is, if the player does not have was right, then the delay did not occur.
I have a problem again:
I want to delay the "/present" command, but I don’t know how to make the delay happen only if the player has a certain right, that is, 'permission.present', that is, if the player does not have was right, then the delay did not occur.
Code:
command /present:
aliases: pr, donatepresent, dp
trigger:
if player does not have permission "permission.present":
message "&cOnly a &6&ldonator&c can pick up a daily gift. Buy this status from the Administrato" to player
play sound "block.anvil.destroy" with volume 1 at player
if player has permission "permission.present":
send "&aYou have received your donation gift. Come again after 24 hours." to player
give 8 of golden ingot to the player
give 5 of golden apple to the player
give 3 of diamond to the player
give 1 of emerald to the player
give 10 of apple to the player