ninjea Posted March 6, 2022 Share Posted March 6, 2022 Options: reward: give %player% diamond #command to give reward. %player% = player's name (No /slash) resetperm: * #perm to reset player's daily command daily: trigger: set {_waited} to difference between {daily::%uuid of player%} and now if {_waited} is less than 24 hours: set {_d} to a new chest inventory with 3 rows with name "&7daily" set slot 0,1,2,3,4,5,6,7,8,9,17,18,19,20,21,22,23,24,25,26 of {_d} to black stained glass pane with name " " set slot 10,11,12,13,14,15,16 of {_d} to red stained glass pane with name "&eYou already claimed this today!" open {_d} to player else: set {_d} to a new chest inventory with 6 row with name "&7daily" set slot 0,1,2,3,4,5,6,7,8,9,17,18,19,20,21,22,23,24,25,26 of {_d} to black stained glass pane with name " " set slot 10,11,12,13,14,15,16 of {_d} to lime stained glass pane with name "&eDaily" with lore "&cclick to claim" open {_d} to player on inventory click: cancel event if name of event-inventory is "&7daily": set {_waited} to difference between {daily::%uuid of player%} and now if {_waited} is less than 24 hours: send "&cno lol" else: make player execute "{@reward}" set {daily::%uuid of player%} to now set slot 10,11,12,13,14,15,16 of player's current inventory to red stained glass pane with name "&eYou already claimed this today!" send " " send "&eClaimed your daily" send " " command resetdaily [<player>]: permission: {@resetperm} trigger: set {daily::%uuid of arg-1%} to 24 hours free daily skript Link to comment Share on other sites More sharing options...
Fohng Posted April 4, 2022 Share Posted April 4, 2022 i cant put anything into my inventory after i do /daily 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