+ Reverted anvil change Had to revert the anvil change due to a bug
Gem System Overhaul! The gem feature has been completely redone! LoreAttributesRecoded now introduces gem slots, more configuration settings and freedom when working with gems. A "gems" section has been added to the config.yml:
- slot: If an item has exactly this lore, it's equal to 1 gem slot. If an item has this lore 3 times, it holds 3 gem slots, and can be gemmed with 3 gems. - socketed: When socketing a gem, this will be the format used. %gem% is a placeholder for the actual gem itself (e.g.: +3 Health) - plain: Same as socketed but without the %gem%, make sure to leave everything else in there as it is! - prefix: What comes before %gem% - suffix: What comes after %gem% - keyword: If the plugin finds this keyword in an item's lore, it'll register it as socketed - material: The material of your gems. Emerald by default
Unsocketing! You can now also unsocket gems! This is also configurable. If the material and item-name match, it'll work as an unsocket item.
Code (YAML):
unsocket-item:
display-name: '&6Unsocket Token'
material: LEGACY_BLAZE_POWDER
durability: 0
lore: - '&eUse this in an anvil to unsocket a gem'
- '&4WARNING: &cThe gem will be destroyed!'
item-flags: - HIDE_ATTRIBUTES
This is the default unsocket item, which you can easily obtain in-game by using /lar gems usg. When put a socketed item with the unsocket item in an anvil, the items will be taken away and you'll be prompted with a message. Defaults to
Code (YAML):
unsocket-message: '&c» &7Which slot''s gem would you like to destroy?'
which can be found under the "gems" config-section as well.
Code (YAML):
unsocket-success: '&c» &7Gem destroyed.'
^ Is sent upon successfully unsocketing a gem
Code (Text):
unsocket-invalid-number: '4c» &7Unsocketing cancelled, max slots was %gems_max%'
^ Is sent to the player once they entered an invalid number. (Has 2 gem slots, entered 4 for example)
Code (YAML):
unsocket-cancel: '&c» &7Unsocketing cancelled'
^ Is sent to the player upon typing anything but a number. (asdf, j89r3, etc) > %gems_max% is used to display the amount of socketed gems
+Removed visual armor The armor attribute won't visually manipulate your actual armor bar anymore.
+Updated /lorestats - Added Defense attribute - Critical Damage will now properly show up at all times - Damage will no longer show up at random if you have critical damage but no damage attributes - Removed /hp (The current- and max-health values are now displayed inside /lorestats) - Health will now be rounded to 1 decimal
+ Updated Overview page
+Updated RPGInventory support
+Code optimization The plugin should run a lot smoother and be a lot more efficient. And by a lot, I actually do mean a lot
+Anvil Bugfix Upon closing the anvil, items not taken out will be added back into the player's inventory - This only works if the 1st or 2nd slot has an emerald. The last slot will always be added back into your inventory in such cases