Added a new optional section for ranks in the ranks.yml file called "
requirement-commands". This allows you to run commands when a specific requirement is completed.
Code (YAML):
# These commands are run for each completed requirement requirement-commands: # requirement number in the order they are displayed in the requirements section 1: - '
[message_player
] &6You''ve defeated 100 mobs.'
2: - '
[message_player
] &6You''ve mined 500 stone. As your reward, have 500 more.'
- 'minecraft:give
{player
} stone 500'