Changes:
- Added customModelData support for the versions that support it. All items related to ElementalGems are now customizable via this method
Code:Gem: material: EMERALD damage: 0 glow: true displayName: '&a&lGem &7(&fRight-Click&7)' lore: - '' - '&7Right-Click to add gems to your account' customModelData: 123456789 #Replace the number with your Custom Model Data number if you wish to use this feature
Changes:
- Corrected an issue which caused errors to spam the console for 1.18 servers
- Possible fix for newly introduced memory leakage (Beta) (Join my support discord and let me know if you are having any issues with this)
Changes:
- Gems now supports decimal values (Excluding '/gems give' and '/gems withdraw') (Add the following to your files)
Notes: If you are using the GemAPI, you may need to update/use the newest version (v1.2) in order for it to work properly
Code:Messages: notWholeNumber: '{prefix} &cPlease specify a valid number without decimals'
Changes:
- Added new feature/patch to put a cooldown on players when purchasing items from the shop! (Add the following to your config.yml and shops.yml)
- Added new feature/patch to disable gems from being received when breaking a block connected to the ground (Add the following to dropRates.yml)
Code:Messages: onShopCooldown: '{prefix} &cPlease wait to purchase another item!'Code:purchase-cooldown: 1 #Cooldown, in seconds, between how long a player must wait to purchase another item. (Cooldown resets when the server or plugin restarts)Code:BlockDropRates: SUGAR_CANE: #Sugarcane preventFirstBlock: true #Enable this to disable gems from being received from the block connected to the ground. (Recommended for blocks that grow upwards)
Changes:
- Added a new Toggleable "disableGemWithdraw" feature (Add to your config.yml)
- Added a new message (Add to config.yml)
Code:Toggleable: disableGemWithdraw: true #Set to true to prevent players from running the 'gem withdraw' command and receiving physical gems Messages: gemWithdrawDisabled: '{prefix} &cWithdrawing gems is currently disabled!'
Changes:
- Temporarily disabled the "mobDeathPatch" in dropRates.yml due to some game-breaking bugs
- Fixed an issue that caused gems to not be dropped when using the "Automated" method
- Corrected an issue that would not register MySQL data for the new GemAPI
- Reintroduced a new and much more optimized version of the "Update Checker"
- Removed some left-over debug from the last update
