[ + ] Added advanced country restriction system with configurable allowed countries, per-code overrides, asynchronous IP lookup caching, and customizable fallback/error handling
[ + ] Added new country_blocked language message for blocked redemption attempts
[ !!! ] Reload langs folder and add these in the config.yml file
Code:country-restriction: # Full code list: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 enabled: true allowed-countries: # Leave the list empty ( [] ) to allow all countries globally. Per-code lists (codes.yml) always take priority over this list. - DE # Germany - FR # France allow-on-lookup-failure: false # What to do when the IP geolocation lookup fails (network error / timeout). # true → let the player through (fail-open, more permissive) # false → block the player (fail-closed, more secure)
[ + ] Added configurable inventory reward command detection system
[ + ] Added support for custom inventory-check command keywords in config.yml
[ / ] Improved plugin shutdown saving handling to prevent possible data save issues during disable
[ !!! ] Reload config file.
If you want to add it manually:
YAML:inventory-check: enabled: true item-command-keywords: - "give" - "minecraft:give" - "bukkit:give" - "crate give" - "excellentcrates give" - "crazycrates give" - "voucher give" - "itemsadder give" - "oraxen give"
[ + ] When redeeming codes that grant items, if the inventory is full, a warning will be displayed.
Redemption will not be possible until space is freed up.
[ !!! ] Reset lang files.
[ / ] Performed a general optimization of the plugin, leading to an estimated 20% improvement
[ + ] Added MySQL support
[ + ] Added codes.yml file - Codes will now be saved here
[ / ] Minor code improvements
[ !!! ] Reload all files and move codes to new file
