Config Version Detection System Added a new section named `config-version` in `config.yml`. This section allows DeathPulse to detect the configuration version currently in use. If a server is running the latest plugin version but still uses an older configuration file, DeathPulse will automatically append any missing sections or options to ensure compatibility with newer updates.
Cause Exclusion Modifier (`::EXCLUDE`) Each death type configuration (`Ignore`, `IgnoreDay`, `Increase`, `IncreaseDay`, `Decrease`, `DecreaseDay`) now supports an additional modifier `::EXCLUDE`. This modifier can be used to exclude certain death causes from a given death type category. Example:
Code (YAML):
increase:
cause: - FALL::EXCLUDE
In this case, FALL deaths will be excluded from the “Increase” type handling.
Changed
Permissions Handling Simplified Internal permission checks have been refactored for cleaner and more efficient logic. This change does not affect existing permission node names and remains fully backward-compatible.
Minecraft API Update DeathPulse now officially targets Minecraft 1.21.10 Spigot API. (No functional code changes were required, but this version aligns the build target with the latest server API for improved consistency and future compatibility.)[/COLOR][/COLOR]
Notes
Existing configurations will automatically be updated with the new `config-version` field upon startup if missing.
The `::EXCLUDE` modifier provides more granular control over which death causes are handled in each category, offering improved flexibility for custom setups.
This update remains fully backward-compatible with all prior 2.x configurations.