It seems like when I use [takemoney] from player, sometimes it will be success but if the player is in debt, it stills counts. Anyway to check if successfully take money from player?
Example config:
items:
'ores_key':
material: DIAMOND_ORE
slot: 0
display_name: 'Ores Crate Keys'
lore:
- 'Left click to buy 1 Ores Crate Key'
- 'Right click to buy 64 Ores Crate Keys'
left_click_commands:
- '[takemoney] 4000'
- '[console] give %player_name% ores_crates 1'
right_click_commands:
- '[takemoney] 64000'
- '[console] give %player_name% ores_crates 64'
Even though [takemoney] fails because player's debt is over threshold but the second command still succeed to run.
Ping me when you reply. Thank you