✅ 》ElementalGems [1.8-1.20] Gem Shops, Upgrades, Hex Colors & More!《 ✅ icon

✅ 》ElementalGems [1.8-1.20] Gem Shops, Upgrades, Hex Colors & More!《 ✅ -----

The #1 Currency System on the market!




Changes:
- Patch for the plugin not enabling properly on 1.8 servers
- Added a 1.19+ jar to support a more recent api-version
- Updated NBT support
- Minor optimization
----------, Sep 11, 2024

Changes:
- Added 1.21 support
- Minor optimization for MySQL
- Potential patch for issue when using RoseStacker
- Updated support for latest versions of PlaceholderAPI, HeadDatabase, and RoseStacker
----------, Jul 15, 2024

Changes:
- Added support for 1.20.4
----------, Jan 29, 2024

Changes:
- Added support for RoseStacker
- Updated NBT item support
----------, Nov 14, 2023

Changes:
- Added support for 1.20.2
- Updated support for PlaceholderAPI
- Made a couple of tweaks and fixed a couple of bugs
----------, Oct 20, 2023

Changes:
- Fixed a major exploit with the fishing system, which allowed players to throw fish anywhere and use a fishing rod to pull the item, which still ran the chance of them receiving gems
- Minor MySQL adjustment to prevent console spam in the rare case it gets disconnect
----------, Jul 11, 2023

Changes:
- Fixed an issue, from the previous update, that that didn't allow the plugin to enable properly, for servers running on Paper
----------, Jun 28, 2023

Changes:
- Added Vault support! (see config.yml)
- Fixed the support for 1.20.1 since the last version didn't work properly
- Fixed compatibility with PlaceholderAPI to support the latest versions, which had previously caused placeholders to not work properly for some people

Notes:
- I realized I put the second jar name as "1.13" instead of "1.13+" in this update, but the "1.13" version will work on all versions from 1.13 - 1.20.1
Code (Text):
# Set to true, if you wish to use "ElementalGems" as a vault-supported custom currency
vault-hook: false
----------, Jun 27, 2023

Changes:
- Added 1.20.1 support
----------, Jun 21, 2023

Changes:
- Fixed issue with upgrades, that allowed players to purchase them for free, caused in v1.8.7
- Added support for a "required permission" to receive gems through each applicable drop types (dropRates.yml)
- Added support for a max limit when running the "/gem give" command (This helps prevent against accidentally spawning in too many gems at once) (config.yml)
Code (Text):
Messages:
  amountExceedsMaximum: '{prefix} &cThis amount exceeds the maximum amount allowed. Max: {maxAmount}'

# Maximum amount of gems that can be received using the "/gems give" command. Set to 0 to disable.
# This feature helps prevents your server from crashing from too many entities, if you accidentally give too many gems.
max-gem-give: 10000
Code (Text):
permissionsRequiredForDropType:
  entity: 'elementalgems.gemdrop.entity'
  block: 'elementalgems.gemdrop.block'
  fish: 'elementalgems.gemdrop.fish'
----------, Apr 13, 2023

Changes:
- Partial MySQL performance improvement
- Added 1.19.4 support
----------, Apr 10, 2023

Changes:
- Corrected incompatible server version support from the v1.8.5 update
----------, Feb 13, 2023

Changes:
- Added 1.19.3 Support
- Updated all material types in the configs, to support the latest mc versions, by default
- Slightly optimized MySQL handler
----------, Jan 22, 2023

Changes:
- Added support for accessing a specific gem shop, using the command "/gems shop <player> <shop>"
----------, Sep 24, 2022

Changes:
- Corrected an issue that caused the physical gem item to display as a normal material, in 1.19
----------, Aug 3, 2022

Changes:
- Corrected an issue which didn't allow the plugin to set the proper gem-starting-balance, when using mysql
- Added Head Database support (To use, set material as 'HDB:id')
- Added the ability to cancel a purchase if a player already has a certain permission (To use, add to the following files)

Code (Text):
Messages:
  purchaseDeniedHasPermission: '{prefix} &cCannot purchase item since you already have access to this reward'
Code (Text):
Shops:
  ExampleCategory:
    Rewards:
      '11':
        cancelIfHasPerm: 'example.permission'
----------, Jul 9, 2022

Changes:
- Added 1.19 support
----------, Jun 13, 2022

Changes:
- Fixed a bug that caused the plugin to throw an error when trying to withdraw more than the set withdraw limit
- Added support for the Gem item to be a player head (material: 'SKULL:Username')
- Added support to disable the gem shop

Code (Text):
Messages:
  shopDisabled: '{prefix} &cThe gem shop is currently unavailable.'


Toggleable:
  disableGemShop: false #Set to true if you wish to disable the internal gem shop altogether
----------, May 31, 2022

Changes:
- Made a minor adjustment to the previous update, to support redeem disabling if the gem item is a block
----------, May 21, 2022

Changes:
- Added support to disable redeeming gems when interacting with certain blocks

Code (Text):
disable-redeem-on-block:
  - 'SIGN'
  - 'CHEST'
----------, May 21, 2022

Changes:
- Corrected an issue that caused the plugin to crash the server when an invalid customModelData was set
- Added a withdraw limit feature to limit the amount of gems withdrawn at once

Code (Text):
messages:
  withdrawLimitReached: '%prefix% &cYou cannot withdraw more than &a%amount% Gems &cat once'


# Limit the amount of gems a player can withdraw at once
withdraw-limit: 2304
----------, May 3, 2022

Changes:
- Fixed a bug when trying to configure the drops for all mob/block type at once, that didn't actually drop anything
- Fixed a syntax error for the * symbol, for the above feature, in the dropRates.yml
----------, Apr 20, 2022

Changes:
- As requested by my supporters, the %elementalgems_balance_format1% placeholder has been reverted back to %elementalgems_balance_formatted% and %elementalgems_balance_format2% has been changed to %elementalgems_balance_formatted1%
----------, Apr 19, 2022

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 (Text):
EntityDropRates:
  *:
    chance: 10
    amount: 1
    randomAmount: true
    supportStacking: false
    message: '{prefix} &b{amount}x &agem(s) have been dropped from killing an entity'
----------, Apr 15, 2022

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
----------, Mar 21, 2022

Changes:
- Added 1.18.2 support
----------, Mar 15, 2022

Changes:
- Fixed an issue that caused gems to not drop when mining blocks if there was no message for that block
----------, Feb 9, 2022

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)
----------, Jan 8, 2022

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)
----------, Dec 23, 2021

Changes:
- Corrected a minor issue that didn't format certain messages properly (All numbers were displayed as decimal values)
----------, Dec 22, 2021

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 (Text):
Toggleable:
  enableDecimalValues: false #Set to true if you wish for numbers like "123.45" to be supported when displaying numbers in this plugin
Code (Text):
#Only enable this if you are having trouble receiving gems when killing an entity (mob)
mobDeathPatch: false
----------, Dec 21, 2021

Changes:
- Added customModelData support for the versions that support it. All items related to ElementalGems are now customizable via this method :)

Code (Text):
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
----------, Dec 9, 2021

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)
----------, Dec 2, 2021

Changes:
- Now supporting Minecraft 1.18
----------, Dec 2, 2021

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 (Text):
Messages:
  notWholeNumber: '{prefix} &cPlease specify a valid number without decimals'
----------, Nov 29, 2021

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 (Text):
Messages:
  onShopCooldown: '{prefix} &cPlease wait to purchase another item!'
Code (Text):
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 (Text):
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)
----------, Nov 27, 2021

Changes:
- Added a new Toggleable "disableGemWithdraw" feature (Add to your config.yml)
- Added a new message (Add to config.yml)
Code (Text):
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!'
----------, Nov 16, 2021

Changes:
- Hex Colors are now supported! :D
- Corrected a bug which still allowed MySQL to disconnect sometimes
----------, Oct 18, 2021

Changes:
- Gem Shop and Upgrade menus can be opened from an alternate source now (Via Console or Opped player) (Example: /gem shop [Player])
----------, Sep 3, 2021

Changes:
- Added support for 1.17.1
- Download now includes multiple jar files for each supported MC versions (Should fix the issue with certain materials not registering in the gem shop)
----------, Aug 30, 2021

Changes:
- Gems with MySQL are now 100% fully functional with no more connection issues!
----------, Jul 3, 2021

Changes:
- Added 1.17 support
- Revamped/Optimized MySQL feature. No action required
----------, Jun 28, 2021

Changes:
- Corrected an issue that caused the plugin to use a large amount of CPU usage whenever a player joined
----------, Mar 11, 2021

Changes:
- Fixed an issue that caused '/gem top' to throw an error when using MySQL
- Fixed an issue where an error is thrown on join
----------, Feb 1, 2021

Changes:
- Added a new "data-save-interval" feature to allow you to customize how often the data gets saved. Add the following to the config.yml:
Code (Text):
#In seconds, set how often the gem data should be saved to the database.yml (1800 = saved every 30 min)
data-save-interval: 1800
- Disabled gems from being crafted into emerald blocks
- Fixed an issue where if the gem item was a block, it was able to be placed on the ground, when redeeming
----------, Jan 12, 2021

Changes:
- Added new permission: "elementalgems.top" (You can ignore if your players already have the "elementalgems.access" permission)
- ( REQUIRED) Added new "Toggleable" feature to disable the option to right-click and redeem gems. Please add the following to your config.yml
Code (Text):
canRedeemGems: true #Set to true to allow players to right-click and redeem gems
----------, Dec 30, 2020

Changes:
- Added a new "requiredPermission" feature to require the player to have a specific permission in order to purchase an item from the gem shop
- Added a new message to the config.yml

Add to config.yml:
purchaseAccessDenied: '{prefix} &cYou do not have permission to purchase this item. Requires: &e{permission}'

Example of where to implement this new feature in your shops.yml:
upload_2020-12-21_17-10-10.png
----------, Dec 22, 2020

Changes:
- Optimized the gem drop methods
- Corrected an issue where the new "Execution" upgrade would not always attempt to run commands when gems are received
- Added a new "Toggleable". Add the following to the Toggleable section in your config.yml
Code (Text):
enableGemVillagerTrades: false #Set this to true to allow players to use gems in villager menus
----------, Dec 18, 2020

Changes:
- Added a new Upgrade known as "Execution"! This upgrade will allow you to have any command(s) you desire, to run when a player receives gems!

Note:
- Add the following to your upgrades.yml file: https://hatebin.com/suahqlfkql
----------, Dec 12, 2020

Changes:
- Corrected an issue in which the data on '/gem top' would not load all the player data upon restart
----------, Dec 9, 2020

Changes:
- Added the ability to Give/Add gems to a player in silence. (Example: "/Gem give <Player> <Amount> -s")
- Added support for 'WildTools' Harvester Hoes

Note:
I have decided to go ahead and extend the sale until December 31st, 2020. Enjoy! :)
----------, Dec 8, 2020

Changes:
- Removed some unnecessary code
- Slightly optimized the Gem Top feature
- Added a limited time sale for Black Friday! :D (Ends December 1st, 2020)
----------, Nov 28, 2020

Resource Information
Author:
----------
Total Downloads: 296
First Release: Jul 10, 2020
Last Update: Sep 11, 2024
Category: ---------------
All-Time Rating:
22 ratings
Find more info at www.mc-market.org...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings