Changes:
- Corrected a bug which may have spammed the console with errors
- Added support to edit ALL drop rates of all entity/block types for a specific category, at once, with optional whitelisting for a specific entity/block type (Example below)
- Changed placeholders from %elementalgems_balance_formatted% to %elementalgems_balance_format1%
- Added a new placeholder %elementalgems_balance_format2%. This placeholder will take a value like 100,000 and display it as 100k
Code:EntityDropRates: *: chance: 10 amount: 1 randomAmount: true supportStacking: false message: '{prefix} &b{amount}x &agem(s) have been dropped from killing an entity'
Changes:
- Corrected a bug which prevented the configuration files from updating properly when running /gems reload
- Corrected a bug which allowed people to send gem payments to others without gems being withdrawn from their account
- Corrected a bug which didn't allow the Gem item to register properly so it would show as a normal emerald
Changes:
- Fixed an issue that caused gems to not drop when mining blocks if there was no message for that block
Changes:
- Corrected a minor issue that didn't allow hex colors to work in 1.18
- Changed shop purchase-cooldown to milliseconds. (20 milliseconds = 1 second) (Default = 5)
- Added an "upgrade-purchase-cooldown" feature to upgrades.yml (Cooldown in milliseconds) (Default = 10)
Changes:
- Slightly optimized gem upgrades
- Added a new subcommand to the "/gems give" and "/gems add" command. Adding "-upgrades" to the end of the command will sync your player's gem upgrade values and calculate the added amount by the amount set in your upgrades.yml (As of right now, the only gem upgrade checked is Fortune)
Changes:
- Corrected a minor issue that didn't format certain messages properly (All numbers were displayed as decimal values)
Alright so here's a fairly large update with lots of optimization and bug fixes for you guys
Changes:
- Corrected an issue that caused Major Lag issues when using MySQL with the gem shop
- Optimized the gem shop and upgrade menus to run more smoothly
- Displaying decimal values is now optional. (Can be toggled in the config.yml)
- Decimal values are now supported for drop chances and upgrade activation chances
- MobDeathPatch has now been re-enabled and if enabled in the dropRates.yml file, you should be able to receive gems from certain plugins that handle mobs differently
Code:Toggleable: enableDecimalValues: false #Set to true if you wish for numbers like "123.45" to be supported when displaying numbers in this pluginCode:#Only enable this if you are having trouble receiving gems when killing an entity (mob) mobDeathPatch: false
