'1-yes':
material: ORANGE_CANDLE
slot: 10
update: true
display_name: 'Fe510Milestone Fe510&lI &8[&725,000 Earnings&8]'
priority: 2
view_requirement:
requirements:
check-level:
type: '>='
input: '%minegens_statistics_earnings%'
output: '25000'
lore:
- '&8Interactive Item'
- ''
- '&7You will get rewards depending on how'
- '&7much time you earn on this server.'
- ''
- ' &8◊ &fEarnings: Fe510%minegens_statistics_earnings%'
- ''
- ' Fe510→ Click to access get rewards'
left_click_commands:
- '[sound] ENTITY_PLAYER_LEVELUP'
- '[console] eco give %player_name% 2000'
- '[console] crates key give %player_name% mysterys 3'
- '[console] gens addmax %player_name% 2'
- '[console] lp user %player_name% permission set milestonetycoon.satu'
- '[console] sendtitle %player_name% <#70e510>Successfully; &7You''ve collect a Milestone reward'
- '[close]'```
#requirement comparator doesnt work
1 messages · Page 1 of 1 (latest)
can you send the other item?
Send the other part of this
Always send both parts
We can't tell from just 1 (in most cases)
material: RED_CANDLE
slot: 10
update: true
display_name: 'Fe510Milestone Fe510&lI &8[&725,000 Earnings&8]'
priority: 3
lore:
- '&8Interactive Item'
- ''
- '&7You will get rewards depending on how'
- '&7much time you earn on this server.'
- ''
- ' &8◊ &fEarnings: Fe510%minegens_statistics_earnings%'
- ''
- ' &#d92625→ You haven''t met the requirements'
left_click_commands:
- '[sound] ENTITY_VILLAGER_NO'
- '[console] sendtitle %player_name% <#d92625>Access Denied; &7You haven''t met the requirements'
- '[close]'
'1-claimed':
material: LIME_CANDLE
slot: 10
update: true
display_name: 'Fe510Milestone Fe510&lI &8[&725,000 Earnings&8] &7'
priority: 1
view_requirement:
requirements:
check-level:
type: has permission
permission: 'milestonetycoon.satu'
lore:
- '&8Interactive Item'
- ''
- '&7You will get rewards depending on how'
- '&7much time you earn on this server.'
- ''
- ' &8◊ &fEarnings: Fe510%minegens_statistics_earnings%'
- ''
- ' Fe510→ Already claimed this reward'
left_click_commands:
- '[sound] BLOCK_ANVIL_LAND'```
anyone?
what value does this placeholder return when you do /papi parse me %minegens_statistics_earnings%
the value might be rounded to like 25k and thats why it doesnt check it properly
💀 oh u litteraly did a pai parse already. sorry just woke up
yeah like i mentioned you have 71,597 here
so thats a string, not an int value
you need a placeholder that would return it as 71597
its from my own plugin
this is the part that is responsible on the placeholder
so it need a placeholder that returns as an int?
Yes
Do one thing, use this command and tell me the output:
/papi parse me %math_0_{minegens_statistics_earnings}%
And tell me what it shows
correct