economyBeginnermc 1.20.x – 1.21.x9 lines
daily reward (/daily)
players can claim a reward once per 24 hours. tracks per-player using a Skript variable.
vanilla Skriptno addons required.
daily-reward.sk9 lines
command /daily: trigger: if difference between {daily.%uuid of player%} and now is less than 24 hours: send "&cYou already claimed your daily reward!" to player stop set {daily.%uuid of player%} to now give 1 diamond to player send "&aDaily reward claimed! Come back in 24 hours." to player
get it running
daily-reward.sk · 9 lines · vanilla Skript- 1
copy or download
grab the .sk file with the buttons up top.
daily-reward.sk· ready to drop in - 2
drop it in your scripts folder
save it exactly here on your server — no typos, just copy the path:
…/plugins/Skript/scripts/daily-reward.sk - 3
reload in-game
run this in chat or console — your script goes live instantly:
/sk reload daily-reward
that's it — your script is live. hop in-game to try it.
/ related templates
more economy templates
economy
simple economy (/balance, /pay)
tiny built-in economy. each player starts with 100 coins. /balance shows it, /pay <player> <amount> transfers.
economyauction house (/ah) — basic
players list items for sale at a price. /ah opens the browse gui. buy with /ah buy <id>. money goes to seller.
economyplayer chest shops (with stock check)
players create a chest shop with a [Shop] sign — line 2 = price, line 3 = item. buyers right-click the sign; the script verifies the chest below has stock, removes one item from it, transfers money, gives the item to the buyer.