v2.0.0 - Mathematical Expressions and Security Improvements
Mathematical Expressions and Security Improvements
This major update includes important improvements in the processing of mathematical expressions and handling of error states:
Stability Improvements
Complex functions in mathematical expressions (min, max, pow) have been removed and replaced with simpler alternatives
Improved processing of placeholder values (such as %player_level%)
Added a more reliable evaluation system for basic arithmetic operations
Enhanced error handling that stabilizes the plugin under all conditions
Mathematical Processing
New basic arithmetic processing system that handles all standard operators
Improved parentheses handling for complex expressions
Better decimal number handling throughout calculations
More predictable behavior with all placeholder types
Security Enhancements
Automatic fallback to default 50% chance value in error conditions
Improved processing of chance commands for better consistency
Enhanced general error handling and logging
Protection against potential exploits in expressions
General Updates
Improved debug logging for easier troubleshooting
Added example configurations demonstrating best practices
Better performance with optimized expression parsing
Compatibility with the latest PlaceholderAPI version
These changes ensure more stable operation of the plugin and minimize errors that may occur when using mathematical expressions, resulting in a more robust reward system for your server.
Plugin fully recoded
Huge optimisations
Config fully changed (If you used older version, you should reset your config)
Added new reward message templates
Added new math system(Compitable with chance system)
Added new permission system
Added new minimumDamagePercent option
Added new last hit reward option
Added cooldownType option
Added new debug logs for reporting bugs
Added performance settings option
Fixed an error when enabling plugin
Security improvements
New Debug levels: DEBUG, INFO, WARNING, SEVERE
Last updated