#DeluxeMenus Daily Rewards
1 messages ยท Page 1 of 1 (latest)
well i can think of a way with Luckperms:
You can give the players specific permission when they claim the day's reward like daily.claimed.day1 which then you will use as a view requirement for the availability of day 2. To have a timer now for 20-24h you will also need to give a temporary permission like daily.oncooldown which would also use as a view requirement but with the !has permission so for example it will be something like
Day 1 > Claim > Give temp permission(requirement for every day) > give the claimed day 1 permission (requirement for the day2) > When the temp permission is over the user will be able to claim the 2nds day reward
can i get a example pls?
bruh
i can't actually do that in mind
and im kinda of bad
at deluxemenus
so
idk
;D
menu_title: '&6<est'
size: 9
items:
day1_claimed:
material: dirt
slot: 4
priority: 1
view_requirement:
requirements:
perms:
type: has permission
permission: 'daily.claimed.day1'
display_name: '&6Day 1 Claimed'
lore:
- '&7Claimed'
day1_rdy:
material: Dirt
slot: 4
priority: 2
display_name: '&6Day 1'
lore:
- '&7Click for the rewards'
click_commands:
- '[givepermission] daily.claimed.day1'
- '[console] lp user %player_name% permission settemp daily.oncooldown 20h'
- '[refresh]'
day2_claimed:
material: grass_block
slot: 5
priority: 1
view_requirement:
requirements:
perms:
type: has permission
permission: 'daily.claimed.day2'
display_name: '&6Day 2 Claimed'
lore:
- '&7Claimed'
day2_rdy:
material: grass_block
slot: 5
priority: 2
view_requirement:
requirements:
perms:
type: has permission
permission: 'daily.claimed.day1'
nocooldown:
type: '!has permission'
permission: 'daily.oncooldown'
display_name: '&6Day 2'
lore:
- '&7Click for the rewards'
click_commands:
- '[givepermission] daily.claimed.day2'
- '[console] lp user %player_name% permission settemp daily.oncooldown 20h'
- '[refresh]'
day2_cooldown:
material: grass_block
slot: 5
priority: 3
view_requirement:
requirements:
perms:
type: has permission
permission: 'daily.claimed.day1'
nocooldown:
type: 'has permission'
permission: 'daily.oncooldown'
display_name: '&6Day 2'
lore:
- '&7On cooldown'
give this a try @hallow arch
ima try rn
yo ok this works but
i want it like
only 1 slot
and
i want ot see in the lore
a cooldown
is that possible?
or you need a special plugin
u need the placeholder for the temporary permission
if u need it all in 1 slot u ll need many WAYYYY TOO MANY priorities