LoreAttributesRecoded・Create Custom Items! icon

LoreAttributesRecoded・Create Custom Items! -----

I want to give you more and make your experience better. Bring all of your gear to a next level!




[​IMG]

- Added HEX support. Simply use it in the &#HEX format. (Tested on 1.19.4)
----------, May 8, 2023

[​IMG]

FIX The defense ("Absorption" by default) keyword wouldn't update, making this stat break when renamed in the config.
MISC Optimized /lar reload.
----------, Mar 27, 2022

[​IMG]

FIX The defense ("Absorption" by default) keyword wouldn't update, making this stat break when renamed in the config.
MISC Optimized /lar reload.
----------, Mar 27, 2022

[​IMG]

OTHER Updated to properly support 1.17
----------, Jul 13, 2021

[​IMG]

ADDED Support for multiple gem material types:
You can add multiple types by splitting them by a comma.
For example: material: DIAMOND,EMERALD will allow both diamonds and emeralds to be used as gems.

FIX Thorns no longer deal critical damage back
----------, Apr 20, 2021

[​IMG]

Fixed an issue in the loading order when trying to hook with Races of Thana.
----------, Jul 28, 2020

[​IMG]

Races of Thana Compatibility Fixes

- Recoded ROT's hook. Compatibility with ROT should be fixed.

Thanks a lot @tamellen for helping me with this!

Please report bugs in the Discord server.
----------, Jul 26, 2020

[​IMG]

Debug Message
Accidentally left a debug message in, sorry!

/lorestats error
/lorestats threw an error under certain conditions

Restriction Bugfixes
Fixed several bugs with the restriction lore
----------, Jul 21, 2020

[​IMG]


1.16 Compatibility
The plugin has been updated to 1.16!
Netherite gear is now supported. This also adds support for smite against the Piglins and Zombified Piglins.

/lorestats improvements & bugfixes
All attributes will be formatted nicer (health -> Health, damage -> Damage etc.)
An "admin-only" section has been added which will only be available to operators. This will display certain configuration settings.
» has changed to •
The empty line after health to keep the health stat and health attribute together got removed.

Damage in ranges (f.e. 5-10) now displays the range instead of a random number from it.
Defense (Absorption) now also displays the raw value instead of a random number as if it was triggered in combat.

Gem Drag & Drop
enable-drag-drop has been added under the gems configuration section. If set to true, you'll be able to drag gems onto items with an empty socket, similar to how you'd socket a gem through an anvil.

Sounds
You can now set sounds for dodging and dealing critical damage:
Code (YAML):
lore:
  dodge
:
    sound
: ITEM_ARMOR_EQUIP_NETHERITE
    keyword
: Evasion
  critical-damage
:
    sound
: ITEM_ARMOR_EQUIP_NETHERITE
    keyword
: Critical Damage
The sound can be anything from this list (case-sensitive): https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
/lar reload supports / reloads these as well to make it easier for you to change them.

/lar now also shows /lar gems addslot instead of only /lar gems usg.

Brought back lore.health.base-health and lore.health.enabled.
- Set a global base health value (recommended to keep on 20) and toggle the entire health attribute on (true) or off (false) by changing the enabled setting.

[​IMG]
----------, Jul 19, 2020

[​IMG]

Debug Messages
Accidentally left the debug messages in, sorry!
----------, Mar 19, 2020

[​IMG]

Socketing Bugfix
Fixed a bug where socketing wouldn't work if your gem's stat wasn't on the first line. (Thanks to @MarcosMgpixels)
----------, Jan 24, 2020

[​IMG]
  • Forgot to take out a debugging message.
  • Fixed autocomplete when using /lar gems.
  • Fixed an error when using /lar gems without any other arguments.
----------, Jan 13, 2020

[​IMG]

Fixed Unsocketing
Unsocketing items now work again.

Wrong sub-command
/lar would suggest using /lar usg even though the command is /lar gems usg. Fixed!

Optimized Code
----------, Jan 13, 2020

[​IMG]

Health changes
base-health-enabled is no longer a config setting, nor is base-health.
If you'd like to still control your players' base health, I recommend looking into 1 of my other plugins, PermissionHealth.
----------, Jan 5, 2020

Update v4.4.11
+ Updated to 1.15

For support, please use the discussion thread!
You could also join my Discord server!
----------, Dec 24, 2019

Update v4.4.10
+ Removed /lar mod
The mod sub-command was fully taken out.

For support, please use the discussion thread!
You could also join my Discord server!
----------, Nov 27, 2019

Update v4.4.9
+ Evasion bugfix
Fixed a bug where Evasion would throw errors and not work at times.

For support, please use the discussion thread!
You could also join my Discord server!
----------, Nov 25, 2019

Update v4.4.8
+ RPGInventory compatibility
Truly updated RPGInventory compatilibty this time.

For support, please use the discussion thread!
You could also join my Discord server!
----------, Nov 3, 2019

Update v4.4.7
+ RPGInventory compatibility
Updated RPGInventory compatilibty.

For support, please use the discussion thread!
You could also join my Discord server!
----------, Nov 1, 2019

Update v4.4.6
+ Visual bugfix
Fixed a visual bug where critical chance would display as the value of critical damage when using /lorestats.

For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 30, 2019

Update v4.4.5
+ Updated to 1.14.3

For support, please use the discussion thread!
You could also join my Discord server!
----------, Jul 11, 2019

Update v4.4.4
+ Finally fixed the combination of attributes + gems
Fixed a bug where your attributes and gems won't add up, and instead only the first one found would be added in. Took me a while, but I fixed it!

For support, please use the discussion thread!
You could also join my Discord server!
----------, Jun 21, 2019

Update v4.4.3
+ Bugfix
Fixed a bug where you wouldn't receive gem bonuses if you already had the attribute on the item

For support, please use the discussion thread!
You could also join my Discord server!
----------, May 24, 2019

Update v4.4.2
+ Small Bugfix

For support, please use the discussion thread!
You could also join my Discord server!
----------, May 21, 2019

Update v4.4.1
+ Fixed a dupe bug

For support, please use the discussion thread!
You could also join my Discord server!
----------, May 17, 2019

Update v4.4 - THE GEM UPDATE
+ 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:
Code (YAML):
gems :

    slot
: '&3< &aFree Gem Slot &3>'
    socketed
: '&3« &d&lSocketed : &a%gem% &3»'
    plain
: '&3« &d&lSocketed : &a &3»'
    prefix
: '« Socketed : '
    suffix
: ' »'
    keyword
: Socketed
    material
: EMERALD
- 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

You may donate to me via PayPal!

For support, please use the discussion thread!
You could also join my Discord server!
----------, May 14, 2019

Update v4.38
+ Reverted anvil change
Had to revert the anvil change due to a bug

For support, please use the discussion thread!
You could also join my Discord server!
----------, Mar 23, 2019

Update v4.37
+ Anvil fix
Exiting out of an anvil after socketing but not taking it out will now automatically add the item to the player's inventory.

For support, please use the discussion thread!
You could also join my Discord server!
----------, Mar 17, 2019

Update v4.36
+ Removed set bonuses
Due to too many issues occurring lately with the new update(s), I decided to drop this feature and perhaps implement it in the future again

For support, please use the discussion thread!
You could also join my Discord server!
----------, Feb 15, 2019

Update v4.35
+ Removed /lar attributes, small hotfix

For support, please use the discussion thread!
You could also join my Discord server!
----------, Jan 3, 2019

Update v4.34
+ Fixed Smite and Bane in /lorestats

For support, please use the discussion thread!
You could also join my Discord server!
----------, Dec 29, 2018

Update v4.33
+ Smite now supports color-codes

For support, please use the discussion thread!
You could also join my Discord server!
----------, Dec 28, 2018

Update v4.32
+ Minor improvements to how base-health performs

For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 21, 2018

Update v4.31
+ Small hotfix regarding versions

For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 21, 2018

Update v4.3
+ Updated to 1.13.1, dropped support for lower versions

For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 21, 2018

Update v4.28
+ Fixed the config generation up a bit, as well as removing something that used to be a potential feature, but was never added in

For support, please use the discussion thread!
You could also join my Discord server!
----------, Aug 23, 2018

Update v4.27
+ You will now no longer receive attribute-bonuses while holding gems in your offhand slot

For support, please use the discussion thread!
You could also join my Discord server!
----------, Aug 20, 2018

Update v4.26
Make changes to your config!
+ Changed shield-attributes-enabled to offhand-attributes-enabled
You can now make any offhand item add up to players' attributes

For support, please use the discussion thread!
You could also join my Discord server!
----------, Aug 19, 2018

Update v4.25
+ Modify your item's attributes! (EXPERIMENTAL!)
You can use a new command (/lar mod or /lar modify) to set the durability like earlier (/lar mod durability <amount>) or attribute (/lar mod attribute <attribute> <value> <slot>) to your item

Example: /lar mod attribute attackDamage 10 mainhand

maxHealth
followRange
knockbackResistance
movementSpeed
attackDamage
armor
armorToughness
attackSpeed
luck
mainhand
offhand
feet
legs
chest
head

You can currently only apply 1 attribute to your item. Setting another one will remove the previous one. Still experimental, guys
And yes you will get errors if you don't do it properly and no there's no feedback message


For support, please use the discussion thread!
You could also join my Discord server!
----------, Aug 10, 2018

Update v4.24
+ You're now able to have multiple colors in your lore-attributes!

upload_2018-8-7_14-37-5.png

upload_2018-8-7_14-40-20.png

For support, please use the discussion thread!
You could also join my Discord server!
----------, Aug 7, 2018

Update v4.23
+ Fixed a bug where /lorestats would throw an error if you held nothing in your off-hand slot while your main hand had something in it when shield-attributes-enabled would be true in config

I'd recommend re-checking your configuration file(s) and comparing it to the one(s) on the overview page may you experience issues. Feel free to request assistance here!
----------, Aug 1, 2018

Update v4.22

I recommend updating!
+ Fixed an bug / exploit where items would be duplicated when closing an anvil under certain conditions.

I'd recommend re-checking your configuration file(s) and comparing it to the one(s) on the overview page may you experience issues. Feel free to request assistance here!
----------, Aug 1, 2018

Update v4.21
+ Fixed a very odd bug that wouldn't allow you to open any kind of player-inventory, causing plugins such as OpenInv and commands such as /invsee to simply not work.
I was able to pinpoint the issue and it has now been fixed!


( @SoggyCraft, @fdigl)

I'd recommend re-checking your configuration file(s) and comparing it to the one(s) on the overview page may you experience issues. Feel free to request assistance here!
----------, Jul 31, 2018

Update v4.2
Please update your setbonus.yml!
+ Improved Set Bonuses (Multiple potion-effects!, @SoggyCraft ^-^)
Code (YAML):
# ---------------------- #
#   SetBonus // Thana    #
# ---------------------- #

enabled
: true

sets
:
  Test Set
:
    required
: 4
    potion
:
   - speed:1
    - jump:1
    lore
: "&2Set Bonus: &b+2 Speed"
  Invis Set
:
    required
: 5
    potion
:
   - invisibility:2
    - speed:1
    lore
: "&2Set Bonus: &b+3 Invisibility, 2 Speed"
 
worlds
:
 - world

You can now make a list out of your potion-effects, and give the players multiple potion-effects per set at once! It works the same, you'll just have to make a list out of the potion section (example above / on overview page)

You can choose to only apply the lore (which can even be used to apply more attributes when the player wears the set!). This can be done by fully removing the list off that set as a whole, like this:

Code (YAML):
sets:
  Attribute Set
:
    required
: 5
    lore
: '&2Set Bonus : &b+10% Critical Chance, +5 Health'
It's really that simple

( @kingjammy wink wink)

I'd recommend re-checking your configuration file(s) and comparing it to the one(s) on the overview page may you experience issues. Feel free to request assistance here!
I really hope I didn't forget to mention something
----------, Jul 30, 2018

Update v4.1
+ Improved passive effects
Passive effects on items
How this works is very simple:

Give it some lore, make it as fancy as you want, but keep the right format!
Let's say you'd like to add a passive Poison effect to the attacker using the sword, simply add "Passive: Poison" as lore by doing /lore add Passive: Poison (Yes, it supports any color-code!)

[​IMG]

As you can see above, I gave it a nice look, and the sword now has a lore saying "Passive: Poison"
Now when the player hits another player with it, it'll have a 10% chance on applying poison to the enemy for 5 seconds! (Will soon all be configurable!)
Current supported potion-effects:
  • Slowness (SLOW)
  • Weakness (WEAKNESS)
  • Mining Fatigue (SLOW_DIGGING)
  • Glowing (GLOWING)
  • Blindness (BLINDNESS)
  • Wither (WITHER)
  • Poison (POISON)

+ Bane & Smite in the overview page + formula (Finally ;P)
Bane
When hitting a Spider, Cave Spider, Silverfish or Endermite, the Bane lore will have effect.

Example: +10 Bane
Every time this player attacks 1 of the creatures stated above, it'll apply the Slowness 5 effect to the creature for x* seconds, and deal another y* amount of damage to them.

x = 20 * (1 + level * 0.5)
y = level * 2.5

Smite
When hitting a Skeleton, Zombie, Pig Zombie or Wither, the Smite lore will have effect.

Example: +10 Smite
Every time this player attacks 1 of the creatures stated above, it'll deal an additional x* amount of damage to them.

x = level *2.5

- Removed the armor-effects feature
I might recreate this in the future, but this was too much of a hassle to bother myself with for now

~ Planned features? Custom durability!


I'd recommend re-checking your configuration file and comparing it to the one on the overview page may you experience issues. Feel free to request assistance here!
----------, Jul 29, 2018

Update v4.05
+ Fixed 2 big bugs which caused console to get spammed with errors upon hitting under certain conditions (Or in fact, not meeting these conditions)
Sorry!

I'd recommend re-checking your configuration file and comparing it to the one on the overview page may you experience issues. Feel free to request assistance here!
----------, Jul 26, 2018

Update v4.04
+ Fixed a bug where you'd console get spammed with errors when hitting armor stands under certain conditions

I'd recommend re-checking your configuration file and comparing it to the one on the overview page may you experience issues. Feel free to request assistance here!
----------, Jul 24, 2018

Update v4.03

Please update your configuration file!
+ Added offhand-shields support
You can now choose whether or not you want shields to apply attributes.

Add "shield-attributes-enabled: true" (or false) to your configuration file, like so (Default config example):
Code (YAML):
# ----------------------------------- #
#   LoreAttributesRecoded // Thana    #
# ----------------------------------- #

shield-attributes-enabled
: true
lore
:
  health
:
    enabled
: true
    base-health
: 20
    keyword
: health
  regen
:
    keyword
: regen
  damage
:
    keyword
: damage
  dodge
:
    keyword
: evasion
  critical-chance
:
    keyword
: critical chance
  critical-damage
:
    keyword
: critical damage
  life-steal
:
    keyword
: life steal
  armor
:
    keyword
: armor
  restriction
:
    keyword
: type
    display-message
: false
    message
: You can't use the %itemname%
  smite
:
    keyword
: smite
  bane
:
    keyword
: bane
  defense
:
    keyword
: absorption
  protection
:
    keyword
: protected
    remove-lore-on-death
: true
  unbreakable
:
    keyword
: unbreakable

Equipping a +5 Health Shield
[​IMG]

Will work perfectly fine

[​IMG]

While this +5 Health Chestplate is ignored
[​IMG]

I'd recommend re-checking your configuration file and comparing it to the one on the overview page may you experience issues. Feel free to request assistance here!
----------, Jul 15, 2018

Update v4.02

[​IMG]
+ Added Set Bonuses! (All info can be found on the overview page as well @thief_a)

[​IMG]

LoreAttributesRecoded gives you the ability to create set bonuses.
This is easily done by creating a new file (If none has generated already) named setbonus.yml (Can be found on top under config)

We'll run it down together:
Code (YAML):
# ---------------------- #
#   SetBonus // Thana    #
# ---------------------- #

enabled
: true

sets
:
  Test Set
:
    required
: 4
    potion
: speed:1
    lore
: "&2Set Bonus: &b+2 Speed"
  Invis Set
:
    required
: 5
    potion
: invisibility:2
    lore
: "&2Set Bonus: &b+3 Invisibility"
worlds
:
 - world
enabled: true - Enable (true) or disable (false) the feature (Requires server restart!)

sets: - Don't touch this line!
Test Set:
required: 4
potion: speed:1
lore: "&2Set Bonus: &b+2 Speed"

The Test Set would give a player Speed II if they were to equip (and / or hold) 4 or more pieces of the Test Set. Let's try to make a set that makes you Invisible!

Invis Set: - Name of the set. This'll be what you'll lore your armor as like shown below. Don't use any special symbols in this line, but you're free to use 1 color-code in the lore:[​IMG]
required: 5 - How many parts of the set the player is required to have until they get the set bonus. Speaks for itself
potion: invisibility:2 - The set bonus effect itself. What will they receive when they what the required amount of gear from this set?
lore: "&2Set Bonus: &b+3 Invisibility" - When the set has been activated (When the player has required amounts equipped, or higher!), a lore will be added to the items of the set:
[​IMG]

worlds: - Don't touch this line!
- world - The world(s) you want the sets to work in

Tada, you made your own set!
[​IMG]

+ Overview renewed
Remade banners, added a few
Added permissions tab
Added set bonus tab
Updated already-existing screenshots

+ Added loreattributes.reload as permission-node to reload the plugin's configuration (Didn't have that for some very odd reason)
+ Added /lorestats and /hp to the main and help command
+ The Armor attribute on your items (Armor) now add up to your armor bar above your health (20 is full bar, it doesn't go further than that!)
+ Added all permissions straight from the plugin.yml to the permissions tab
+ When using /lar and /lar help, you now only see the commands you have access to

+ Fixed a bug where you'd lose your items if you closed an anvil while still having items in them (Thanks to @sonjeboy11x)
+ Fixed broken unicode symbols from /lorestats and /hp


I'd recommend re-checking your configuration file and comparing it to the one on the overview page may you experience issues. Feel free to request assistance here!
----------, Jul 13, 2018

Update v4.01
+ Added ranged damage gems;
Tested it out by grabbing a plain diamond sword:
[​IMG]

And a ranged-valued damage gem (Like so, works with any color):
[​IMG]

Just socket it like any other gem, and tada:
[​IMG]


I'd recommend re-checking your configuration file and comparing it to the one on the overview page may you experience issues. Feel free to request assistance here!
----------, Jul 10, 2018

Update v4.0

+
Re-added the protection / protected system (Soulbound)
+ Re-added the level lore
+ Reverted back the names of socketed gems. They now no longer have the < and >
+ Improvements to the /lore command, also made it look a bit nicer
+ Made /lar look a bit nicer as well. The version of the plugin now also displays when you do /lar
+ Reverted the level lore to how it was originally
+ Added some potion-effects (Can also be found on the overview page):
  • Fire Resistance (FIRE_RESISTANCE)
  • Water Breathing (WATER_BREATHING)
  • Absorption (ABSORPTION)
  • Glow (GLOWING)
- Removed /lore undo
- Removed the xplevel lore
- Fully got rid of the socket removal feature, I might remake it sooner or later

// The protected feature is still in the config, I recommend leaving it there for future updates, as I'm planning on making it a feature very soon again!

I'd recommend re-checking your configuration file and comparing it to the one on the overview page may you experience issues. Feel free to request assistance here!
----------, Jul 9, 2018

- Fixed a small bug regarding socketing gems
----------, Jul 7, 2018

- Fixed a very small bug regarding levels
- Fixed config
----------, Jul 6, 2018

Small hotfixes, back into Bukkit ^^
Feel free to report any suggestion or known bug(s) right over here
I'll pay attention, thanks for using my plugin
----------, Jul 5, 2018

Fixed it for real this time, thanks for the support~
----------, Feb 20, 2018

// Fully removed soul-swap, small bugfixes throughout the plugin
----------, Jan 18, 2018

+ Added a simple auto-completion to when you hit [TAB] after "/lar" (or 1 of the other aliases)
----------, Jan 1, 2018

~ Fixed /lar durabilty throwing an error if you didn't provide a number afterwards
----------, Jan 1, 2018

+ Added /lar durability <amount>
Item becomes unbreakable and attributes are removed
Item's durability will be changed to set amount (Useful for resource packs!)​
+ Added the Unbreakable tag
Add this to your config!
Code (YAML):
unbreakable :
  keyword
: unbreakable
Makes the item unbreakable, hides attributes​
----------, Jan 1, 2018

~ Simple bugfix regarding config (?), default config stays the same
----------, Dec 26, 2017

~ Fixed a major bug that caused your inventory to duplicate when you die

+ Added the following effects:
  • Jump (JUMP)
  • Resistance (DAMAGE_RESISTANCE)
  • Slowness (SLOW)
  • Weakness (WEAKNESS)
  • Mining Fatigue (SLOW_DIGGING)
// Full list of available effects in the overview page!

- Soulbound / Protected feature will be on hold
----------, Dec 25, 2017

Life steal now properly works!
Check the overview page for more detail!
----------, Dec 23, 2017

What it looked like previously:

upload_2017-12-23_22-20-37.png

What it looks like now:

upload_2017-12-23_22-24-29.png

Hope you're happy ;P
----------, Dec 23, 2017

+ Added Soul Swap
Only for ender-pearls! When given the "Soul Swap" lore (Configurable), you'll swap positions with any player you hit with it.

Example: If you were to throw an Enderpearl with Soul Swap to a player at x5, y0, z1, while you're on x1, y0, z5, you'd get teleported to x5, y0, z1, and the other player would get teleported to x1, y0, z5


- Removed Block and Block-chances

I'd highly recommend modifying / overwriting your current config with the one on the overview!
----------, Dec 23, 2017

Fixed a bug where you could wear any kind of armor regardless of the restriction if you'd equip it via your hotbar

upload_2017-11-24_11-0-4.png

Thanks to @GhostedGhost x3
----------, Nov 24, 2017

After some time, I finally got to add the lore feature into the plugin!

Thanks to @zDan_YT , I was allowed to simply grab his lore-plugin's code and config and put it inside this plugin!

upload_2017-11-21_23-49-15.png

The lore-command is /lore, and the config.yml remains the same:
Code (Text):
# ----------------------------------- #
#   LoreAttributesRecoded // Worlfy   #
# ----------------------------------- #

lore:
  health:
    enabled: true
    base-health: 20
    keyword: health
  regen:
    keyword: regen
  damage:
    keyword: damage
  dodge:
    keyword: evasion
  critical-chance:
    keyword: critical chance
  critical-damage:
    keyword: critical damage
  life-steal:
    keyword: life steal
  xplevel:
    keyword: xp level
  armor:
    keyword: armor
  restriction:
    keyword: type
    display-message: false
    message: You can't use the %itemname%
  block-chance:
    keyword: block chance
  block:
    keyword: block
  smite:
    keyword: smite
  bane:
    keyword: bane
  defense:
    keyword: absorption
They should all work perfectly fine :3
Thanks for all the love and support! ^^
----------, Nov 21, 2017

RPGInventory is now fully compatible with LoreAttributesRecoded once again!
No errors, so far, so good!

Thank you all for helping me out :3
----------, Nov 20, 2017

Plugin will no longer spam you with an Inventory open error
Fixed an inventory achievement bug, completely removed it

About it, have fun !
----------, Nov 19, 2017

Simple update, will be going through the suggestions again !
----------, Nov 19, 2017

Fixed the health restriction. Should now properly be disabled when set to false in config.

https://www.spigotmc.org/threads/111220/page-13#post-2153244
https://www.spigotmc.org/threads/111220/page-13#post-2153202
----------, Jan 11, 2017

I've added a few more potion-effects to the lore attributes, listed below.

Keep in mind:

  • If you open your inventory, the armor-effects won't be recognized. Those will be removed from the player until the inventory is being closed again. This is to check whenever a player is still wearing armor with the right armor-effects or not.
Current supported potion-effects:
  • Speed (SPEED)
  • Strength (INCREASE_DAMAGE)
  • Haste (FAST_DIGGING)
  • Jump (JUMP, NEW)
  • Resistance (DAMAGE_RESISTANCE, NEW)
  • Regeneration (REGENERATION, NEW)
----------, Oct 17, 2016

It's finally here! Potion-effects on armor!

How this works is very simple:
Grab some armor, let's use a diamond chestplate for this example

Give it some lore, make it as fancy as you want, but keep the right format!
Let's say you'd like to add Haste to the player that wears this chestplate, simply add "Effect: Haste" (Yes, it supports any color-code!)

upload_2016-10-7_23-29-24.png

As you can see above, I gave it a nice look, and the chestplate now has a lore saying "Effect: Haste"
Now when any player equips this armor-piece, it'll give the player permanent haste, until the armor-piece is being taken off again.

Keep in mind:
  • If you open your inventory, the armor-effects won't be recognized. Those will be removed from the player until the inventory is being closed again. This is to check whenever a player is still wearing armor with the right armor-effects or not.
Current supported potion-effects:
  • Speed (SPEED)
  • Strength (INCREASE_DAMAGE)
  • Haste (FAST_DIGGING)
More to come soon!
----------, Oct 7, 2016

I've removed the attack-speed feature due to too many bugs and I'm not going to add it back in anytime soon for now, sorry.

You can now toggle health within the config! (This requires a plugin-reload, not a /la reload!)

Please copy / paste the new config layout:
Code (YAML):
# ----------------------------------- #
# LoreAttributesRecoded // Pr0totype2 #
# ----------------------------------- #

lore
:
  health
:
    enabled
: true
    base-health
: 20
    keyword
: health
  regen
:
    keyword
: regen
  damage
:
    keyword
: damage
  dodge
:
    keyword
: evasion
  critical-chance
:
    keyword
: critical chance
  critical-damage
:
    keyword
: critical damage
  life-steal
:
    keyword
: life steal
  armor
:
    keyword
: armor
  restriction
:
    keyword
: type
    display-message
: false
    message
: You can't use the %itemname%
----------, Jul 17, 2016

Fixed the part where you wouldn't get hp if you equipped armor by clicking via your hotbar.
----------, Jul 16, 2016

Fixed it where console sometimes would get spammed if you tried to equip an armor-piece with a lot of HP attached to it.
----------, Jul 16, 2016

Fixed a small bug where health doesn't always get updated ^-^
----------, Jul 16, 2016

Attack-Speed is now 1.9-friendly, this means:
Config changed a bit:
Code (YAML):
# ----------------------------------- #
# LoreAttributesRecoded // Pr0totype2 #
# ----------------------------------- #

lore
:
  #Add extra health to the player (Extra hearts)
  #REMEMBER! 1 = HALF A HEART!
  health
:
    base-health
: 20
    keyword
: health
  regen
:
    keyword
: regen
  attack-speed
:
    #Is this feature enabled? [TRUE/FALSE]
    enabled
: false
    #What delay must the attack-speed depend on?
    base-delay
: 2
  damage
:
    keyword
: damage
  dodge
:
    keyword
: evasion
  critical-chance
:
    keyword
: critical chance
  critical-damage
:
    keyword
: critical damage
  life-steal
:
    keyword
: life steal
  armor
:
    keyword
: armor
  restriction
:
    keyword
: type
    display-message
: false
    message
: "You can't use the %itemname%"
  block-chance
:
    keyword
: block chance
  block
:
    keyword
: block
  smite
:
    keyword
: smite
  bane
:
    keyword
: bane
  defense
:
    keyword
: absorption
Aka, you can't have per-item attack-speed anymore, as this'll simply bug out.
However, the base-delay is the attack-speed a player will have.
(16 is just like 1.8 pvp)

^-^
----------, Jul 12, 2016

You won't longer get an error if you try to execute 1 of the commands via console, it'll simply tell you that you have to be a player!
( Thanks to @Domo123POP for reporting this )

Changed the way commands are being checked. Now has a smoother and more efficient way.
----------, May 25, 2016

In this update, I've optimized the code, aswell as made it 100% 1.9-friendly.
Not
tested on a version lower than 1.9.2
Please let me know if you encounter any bugs orso!
----------, May 16, 2016

Okii so you can now use this plugin with other health-type plugins I guess

IF you're using another plugin and you want that plugin to override this one, set the config-value " enabled" underneath " health" " true"

Oh, and make sure you either let the plugin re-generate it's config, or manually add the "enabled" part to health
(You can copy/paste it from attack-speed too)

Just like so;
upload_2016-3-20_9-12-39.png

Keep in mind:
This WON'T disable health! It'll only let the other plugins override this one for what depends on health

If you find any bugs, please let me know, either pm me or put it in the forums, tag me with @Pr0totype2, I'll do my best to help you as fast as I can!

Alright, hope you have fun ;P
----------, Mar 20, 2016

// Plugin must now properly work using item-restrictions, thanks to @CaptainAlienHD!
----------, Mar 9, 2016

Resource Information
Author:
----------
Total Downloads: 55,323
First Release: Dec 26, 2015
Last Update: May 8, 2023
Category: ---------------
All-Time Rating:
128 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings