[+]
Added support for multiple reward commands - Rewards for Top 1/2/3 can now contain several commands instead of only one.
- Both formats are now supported:
• Single command (string)
• Multiple commands (list)
- Allows plugin users to execute multiple actions such as giving items, sending messages, running economy commands, plugin-specific commands, and more.
[+]
Improved reward processing - New internal system to dispatch each command safely.
- Added placeholder support for `%player%` in all reward commands.
[*]
Backward compatibility ensured - Old configurations using a single command still work without any changes.
Example: Top 1 reward can now execute 3+ commands for the winner!
[+]
Improved Sugar Cane handling - Fixed an issue where breaking sugar cane did not increase the farming score.
- Added logic to detect stacked sugar cane (up to 3 blocks high).
- Breaking a middle cane now correctly counts multiple destroyed blocks.
[+]
Enhanced BlockBreak listener - Added custom behavior for vertical plants like sugar cane.
- Prevents farming abuse by ignoring manually placed blocks.
- Keeps existing logic for ageable crops (wheat, carrots, potatoes, etc.).
[*]
General improvements - Code cleanup and improved readability.
- More reliable event validation when farming contests are active.
This update ensures sugar cane is now fully supported in farming contests!