NotKaizo Posted July 21, 2021 Share Posted July 21, 2021 So, I've seen a lot of people that need a daily reward Skript but has no idea how to make one. So, since I had some free time I made one for you guys to use! It is not the best but it works which is really what matters the most. If you guys like it, like this post and let me know what else I should add to the Skript! These are some features that I might add to the Skript in the future: - Daily Streak - More Rewards - Admin Commands Well anyways, here is the Skript: # Daily Reward Skript made by NotKaizo # Discord: NotKaizo#0001 # In-game name: NotKaizo31 # Required Plugin: Skript, Tuske and SKBee options: prefix: &d&lDaily &7&l»&r # The Prefix. #! Permissions daily_use: daily.use # Change this to your preffered permission to use /dailyrewards. #! Cooldown Setting cooldown: 24 # The amount of time between claiming the rewards. Remeber, this is in hours. So if you put 1 it means 1 hour. #! GUI Setting gui_slot: 9 # The amount of slots in the GUI. gui_name: &d&lDaily Rewards # Name of the GUI in /dailyrewards. unclaimed_item: minecart with chest # The item that shows when the rewards are unclaimed. unclaimed_item_name: &6Daily Reward # Name of the item when it is unclaimed. claimed_item_name: &6Daily Reward # Name of the item when it is claimed. claimed_item: minecart # The item that shows when the rewards are claimed. #! Rewards Manager reward_name: &7+1 &bDiamond reward_cmd: give 1 diamond to player # The reward that the player's receive. #! Messages claimed_message: &a Successfully claimed! cooldown_message: &c This reward is on cooldown! command /dailyrewards: permission: {@daily_use} trigger: open virtual dropper named "{@gui_name}" to player loop {@gui_slot} times: format gui slot -1 + loop-value of player with black stained glass pane named "" set {_cooldown} to difference between {daily.claimed.%player's uuid%.lastused} and now if {_cooldown} is less than {@cooldown} hours: format gui slot 4 of player with {@claimed_item} named "{@unclaimed_item_name}" with lore "{@reward_name}" and "" and "&cClaimed!" to run: play sound "entity.villager.no" with volume 2 to player close player's inventory send "{@prefix}{@cooldown_message}" to player else: format gui slot 4 of player with {@unclaimed_item} named "{@claimed_item_name}" with lore "{@reward_name}" and "" and "&aClick To Claim!" to run: {@reward_cmd} play sound "block.note_block.bell" with volume 2 to player set {daily.claimed.%player's uuid%.lastused} to now send "{@prefix}{@claimed_message}" to player close player's inventory 3 Owner of play.hiveminez.net ⊱------------------------------⊰ Joined Minehut on 1/28/2021 (Same day I got Minecraft) [VIP] - 3/14/2021 [LEGEND] - 5/27/2021 ⊱------------------------------⊰ Discord - NotKaizo#0001 In-game name - iKaizo_ If you need any help, feel free to contact me. Link to comment Share on other sites More sharing options...
pnguin Posted July 21, 2021 Share Posted July 21, 2021 2 hours ago, NotKaizo31 said: So, I've seen a lot of people that need a daily reward Skript but has no idea how to make one. So, since I had some free time I made one for you guys to use! It is not the best but it works which is really what matters the most. If you guys like it, like this post and let me know what else I should add to the Skript! These are some features that I might add to the Skript in the future: - Daily Streak - More Rewards - Admin Commands Well anyways, here is the Skript: # Daily Reward Skript made by NotKaizo # Discord: NotKaizo#0001 # In-game name: NotKaizo31 # Required Plugin: Skript, Tuske and SKBee options: prefix: &d&lDaily &7&l»&r # The Prefix. #! Permissions daily_use: daily.use # Change this to your preffered permission to use /dailyrewards. #! Cooldown Setting cooldown: 24 # The amount of time between claiming the rewards. Remeber, this is in hours. So if you put 1 it means 1 hour. #! GUI Setting gui_slot: 9 # The amount of slots in the GUI. gui_name: &d&lDaily Rewards # Name of the GUI in /dailyrewards. unclaimed_item: minecart with chest # The item that shows when the rewards are unclaimed. unclaimed_item_name: &6Daily Reward # Name of the item when it is unclaimed. claimed_item_name: &6Daily Reward # Name of the item when it is claimed. claimed_item: minecart # The item that shows when the rewards are claimed. #! Rewards Manager reward_name: &7+1 &bDiamond reward_cmd: give 1 diamond to player # The reward that the player's receive. #! Messages claimed_message: &a Successfully claimed! cooldown_message: &c This reward is on cooldown! command /dailyrewards: permission: {@daily_use} trigger: open virtual dropper named "{@gui_name}" to player loop {@gui_slot} times: format gui slot -1 + loop-value of player with black stained glass pane named "" set {_cooldown} to difference between {daily.claimed.%player's uuid%.lastused} and now if {_cooldown} is less than {@cooldown} hours: format gui slot 4 of player with {@claimed_item} named "{@unclaimed_item_name}" with lore "{@reward_name}" and "" and "&cClaimed!" to run: play sound "entity.villager.no" with volume 2 to player close player's inventory send "{@prefix}{@cooldown_message}" to player else: format gui slot 4 of player with {@unclaimed_item} named "{@claimed_item_name}" with lore "{@reward_name}" and "" and "&aClick To Claim!" to run: {@reward_cmd} play sound "block.note_block.bell" with volume 2 to player set {daily.claimed.%player's uuid%.lastused} to now send "{@prefix}{@claimed_message}" to player close player's inventory Cool skript you made there man I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
NotKaizo Posted July 22, 2021 Author Share Posted July 22, 2021 9 hours ago, pizzaschut said: Cool skript you made there man Thank you Owner of play.hiveminez.net ⊱------------------------------⊰ Joined Minehut on 1/28/2021 (Same day I got Minecraft) [VIP] - 3/14/2021 [LEGEND] - 5/27/2021 ⊱------------------------------⊰ Discord - NotKaizo#0001 In-game name - iKaizo_ If you need any help, feel free to contact me. Link to comment Share on other sites More sharing options...
Eltschu Posted September 12, 2022 Share Posted September 12, 2022 (edited) Really cool mate! Some things could be done better but thats a lovely skript:) Edited September 12, 2022 by Eltschu Link to comment Share on other sites More sharing options...
AMONGUSLOVER1732 Posted September 28, 2022 Share Posted September 28, 2022 So good i love you Link to comment Share on other sites More sharing options...
aritbh Posted October 9, 2022 Share Posted October 9, 2022 On 10/8/2022 at 4:52 PM, MinehutBOT said: Thanks For Letting Everyone Use This Skript! MinehutBOT Contacts Discord • Staff Applications • News & Updates Retired Admin (11/4/21 - 3/8/22) Minehut On! Please do not reply on posts older than 1 month. This is against the rules. Check up on the rules here: https://forums.minehut.com/rules Link to comment Share on other sites More sharing options...
wxterfall Posted October 18, 2022 Share Posted October 18, 2022 On 10/9/2022 at 8:50 AM, aritbh said: Please do not reply on posts older than 1 month. This is against the rules. Check up on the rules here: https://forums.minehut.com/rules cancer of minehut fourms is here 1 If you like what I post or I've helped you please leave a like or upvote my posts! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now