I need a skript that would keep randomly generated keys (that can be obtained on random generator websites) and that would be kept inside of YML files. When player would use the command
/redeem i.e /redeem ADWAD098ODA982;
It would remove the used key from the correct yml and give the player the reward from said key.
I can't find a way to actually make skript read the yml to find the said key and then delete it.
The reason it needs to be deleted is so it can only be used by one player.
/redeem i.e /redeem ADWAD098ODA982;
It would remove the used key from the correct yml and give the player the reward from said key.
I can't find a way to actually make skript read the yml to find the said key and then delete it.
The reason it needs to be deleted is so it can only be used by one player.