LoreAttributesRecoded・Create Custom Items! 5.0.5

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

  1. zThana
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    • 1.17
    [​IMG]

    Thanks a lot to @MarcosMgpixels for making this video!


    [​IMG]
    [​IMG]

    [​IMG]

    This plugin allows players to increase affect their stats based on the lore of their items. All lore also applies to mobs - so you challenge your players by giving mobs better stats!​

    Lore Stats
    Currently lore can be applied to: attack damage, health, health regeneration, dodge chance, critical chance, critical damage, life steal, armor, smite, bane, defense (absorption), unbreakable, (protection / soulbound soon!), xp-based restrictions, and even a restriction of items based on permissions!
    Race-based restrictions, and lores can now even give players certain potion-effects!

    These item categories accept the following attributes:
    (Image thanks to @MarcosMgpixels)
    upload_2020-6-3_18-58-7.png

    [​IMG]

    Configuration File (config.yml):
    Code (YAML):
    # ----------------------------------- #
    #   LoreAttributesRecoded // Thana    #
    # ----------------------------------- #

    offhand-attributes-enabled
    : true # enable offhand attributes?

    gems
    :
      enable-drag-drop
    : true # can players socket through the inventory?
      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,DIAMOND
      unsocket-message
    : '&c» &7Which slot''s gem would you like to destroy? &o(Max %gems_max%)'
      unsocket-success
    : '&c» &7Gem destroyed.'
      unsocket-invalid-number
    : '&4&c» &7Unsocketing cancelled, max slots was %gems_max%'
      unsocket-cancel
    : '&c» &7Unsocketing cancelled'

    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

    lore
    :
      durability
    :
        keyword
    : durability
      health
    :
        enabled
    : true # may LAR modify health?
        base-health
    : 20 # base health for all players
        keyword
    : Health
      regen
    :
        keyword
    : Regen
      damage
    :
        keyword
    : Damage
      dodge
    :
        sound
    : ITEM_ARMOR_EQUIP_NETHERITE
        keyword
    : Evasion
      critical-chance
    :
        keyword
    : Critical Chance
      critical-damage
    :
        sound
    : ITEM_ARMOR_EQUIP_NETHERITE
        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
      unbreakable
    :
        keyword
    : unbreakable
    All sounds can be found here.​

    [​IMG]

    <> = mandatory arguments || [] = optional arguments
    upload_2020-7-31_15-26-43.png
    Aliases: [loreattributesrecoded, lar, la]​

    [​IMG]
    Code (YAML):
    permissions:
      loreattributes.mod.*
    :
        default
    : op
        children
    :
          loreattributes.mod.durability
    : true
          loreattributes.mod.gems
    : true
      loreattributes.mod.durability
    :
        default
    : op
      loreattributes.mod.gems
    :
        default
    : op
      loreattributes.reload
    :
        default
    : op
      lores.lore
    :
        default
    : false
      lores.name
    :
        default
    : false
      lores.owner
    :
        default
    : false
      lores.color.0
    :
        default
    : false
      lores.color.1
    :
        default
    : false
      lores.color.2
    :
        default
    : false
      lores.color.3
    :
        default
    : false
      lores.color.4
    :
        default
    : false
      lores.color.5
    :
        default
    : false
      lores.color.6
    :
        default
    : false
      lores.color.7
    :
        default
    : false
      lores.color.8
    :
        default
    : false
      lores.color.9
    :
        default
    : false
      lores.color.a
    :
        default
    : false
      lores.color.b
    :
        default
    : false
      lores.color.c
    :
        default
    : false
      lores.color.d
    :
        default
    : false
      lores.color.e
    :
        default
    : false
      lores.color.f
    :
        default
    : false
      lores.color.l
    :
        default
    : false
      lores.color.n
    :
        default
    : false
      lores.color.o
    :
        default
    : false
      lores.color.k
    :
        default
    : false
      lores.color.m
    :
        default
    : false
      lores.color.r
    :
        default
    : false
      lores.color
    :
        default
    : false
        children
    :
          lores.color.0
    : true
          lores.color.1
    : true
          lores.color.2
    : true
          lores.color.3
    : true
          lores.color.4
    : true
          lores.color.5
    : true
          lores.color.6
    : true
          lores.color.7
    : true
          lores.color.8
    : true
          lores.color.9
    : true
          lores.color.a
    : true
          lores.color.b
    : true
          lores.color.c
    : true
          lores.color.d
    : true
          lores.color.e
    : true
          lores.color.f
    : true
      lores.format
    :
        default
    : false
        children
    :
          lores.color.l
    : true
          lores.color.n
    : true
          lores.color.o
    : true
          lores.color.k
    : true
          lores.color.m
    : true
      lores.admin
    :
        default
    : op
        children
    :
          lores.lore
    : true
          lores.name
    : true
          lores.owner
    : true
          lores.color
    : true
          lores.format
    : true

    [​IMG]

    Damage
    Damage boosting can be applied to items in one of two ways - a random range, or a fixed increase.

    "+5 Damage" on an item will increase damage dealt by 5 "2-6 Damage" on an item will set the player's damage to be a minimum of 2, maximum of 6.

    Damage looks at the sum of all items equipped, and the item in the player's hand. Every range applied to an item is summed together, and then boosts are applied afterwards.

    Health
    Max health can be increased by fixed values and can be applied to any item the player has equipped.

    +50 Health
    This will increase the player's health by 50. This action just sets the max health, not current health. If the player removes boosting armor and would have more health than their new max, their health will be lowered to their new max.

    ❗ This does NOT work with SkillAPI yet!

    Regeneration
    Health regeneration can be increased by fixed values and can be applied to any item the player has equipped.

    +50 Regen will increase their regeneration by 50.
    Regeneration boosts are applied when health would naturally be regenerated (the player is satiated / has a high food bar).

    Dodge
    A player can gain a % chance to dodge damage taken from another entity. The dodge attribute can be applied to any equipment the player is wearing, and the item in the player's hand.

    Example: +5% Evasion
    This will increase the chance to dodge damage from another living entity (such as monster or another player) by 5% (players start at 0%).

    Critical Chance and Critical Damage
    On dealing damage to another player or entity, players can be given a chance to have a critical attack - which deals critical damage. Players will need both the critical chance lore and the critical damage lore for crits to be noticable.

    Example:
    +5% Critical Chance
    +10 Critical Damage

    Means the player will deal an extra 10 damage on average 5% of the time.

    Life Steal
    Life steal lore gives players and monsters the ability to heal when they attack. Anyone with the life steal attribute will heal a maximum of their life steal bonus or the damage dealt, whichever is smaller.

    Example: +10 Life Steal
    Any attacks done by this player will heal the attack damage, up to a maximum of 10.

    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

    Armor
    Armor lore adds defensive traits to the player or monster, and reduces damage done by other entities based on the armor value.

    Example: +10 Armor
    Any damage this player would have taken from another player or monster will be reduced by 10.

    Unbreakable
    Makes the item unbreakable (infinite durability) and hides the attributes. Lore will stay there.

    [​IMG]

    In the config.yml, you can assign a material to act as a gem. This is Emerald by default.
    Code (YAML):
    gems:
        enable-drag-drop
    : true
        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,DIAMOND
    enable-drag-drop: 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.
    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 and Diamond by default

    We first want to create a gem. The names and lores can be as fancy as you'd like.
    After creating the item, you want to make sure the gem carries has 1 lore attribute and value in its lore, like so:

    [​IMG]

    To apply this to an item, you'll have to use the anvil for this.
    An item cannot be gemmed if it doesn't have a gem slot. A command will do the lore work for you. Simply use /lar gems addslot.

    [​IMG]

    Put the item first (in this case a weapon), and the gem second;

    [​IMG]

    Upon inserting the gem into the second slot, it'll result in this:

    [​IMG]

    In this case, the sword is now socketed with +4 Damage. As easy as that!

    [​IMG]

    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!)

    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
    - Weakness
    - Mining Fatigue
    - Glowing
    - Blindness
    - Wither
    - Poison

    Item Restrictions
    You can use item restrictions to prevent players from using certain items based on their permissions! Restrictions are checked for players only (so mobs are safe), and are checked: on inventory close, when they try to shoot a bow or damage another entity, and when they craft.

    Players trying to equip a restricted armor piece will find the armor moves to their inventory when they close the screen. If their inventory is full it will be dropped at their feet.

    Players trying to shoot a bow or deal damage with an item that is restricted will find they deal no damage (though arrows will still be used when trying to shoot a bow).

    Players trying to craft using a restricted item will find they're unable to and the items will be reverted. The MineCraft client briefly lets the player think the item has been crafted, but it will change back.

    Anytime a player tries to use a restricted item, if enabled the plugin will send them the message from the config. %itemname% will be replaced with the item name that is restricted.

    The default permissions to use are "loreattributes." + whatever the restriction is in the lore. The default keyword in the configuration is "type", and the keyword will need to be followed with a colon.

    Example:
    Type: Thief Player will need the "loreattributes.thief" permission.
    Type: Super.Thief Player will need the "loreattributes.super.thief" permission.

    How do I change the keywords the plugin is searching for to apply lore attributes?
    In the configuration file, under each type of lore there is a "keyword" attribute. The plugin will search for the keyword (with a few other conditions, such as + or % based on the type of lore it is).
    Dodge and critical chance require a % sign after the value.

    Can I stack multiple lore / have other words in my lore?
    Yes, however; the plugin will search the entire lore for the particular strings mentioned above, but will only apply the first of each type.

    Example
    Chestplate:
    +50 Health
    +2 Armor
    Would apply +50 Health, +2 Armor
    Chestplate:
    +50 Health
    +500 Health
    Would only apply +50 Health

    Permissions
    Permissions are used dynamically based on the item restrictions you add to items, as mentioned above. There are no other restrictions in this plugin - anyone that can use the item that has lore will have the lore applied to them.

Recent Updates

  1. Update v5.0.5
  2. Update v5.0.4
  3. Update v5.0.3

Recent Reviews

  1. BlueOc_
    BlueOc_
    4/5,
    Version: 5.0.5
    Great plugin, got 1 problem though I don't know if this is a feature or not but when you add like example +10 Damage the Attack Cooldown doesn't get affected so you could just spam and it will do the same damage no punishment for spamming at all.
    1. zThana
      Author's Response
      Thank you. The plugin was originally made before the combat update which hasn't been taken into consideration so far.
  2. dzzduc
    dzzduc
    5/5,
    Version: 5.0.5
    can you customize the lore please
    For example:
    Damage: +10 (I can set it to my national language, please help me)
    1. zThana
      Author's Response
      I offer support through the discussion thread and my Discord server. Feel free to join and I'll help you out
  3. lzxhero250
    lzxhero250
    5/5,
    Version: 5.0.4
    This plug-in must be given 6 stars. I like its simple and crude way, unlike other plug-ins that push files and push questions. I hope the author can show more lightweight plug-ins and like your simple and crude way
    1. zThana
      Author's Response
      Thanks a lot, I appreciate it
  4. toony0531234
    toony0531234
    5/5,
    Version: 5.0.4
    Bugs Hp mmocore level Health has been reset.
    When opening the storage compartment
    1. zThana
      Author's Response
      I provide support in my Discord server, not here
  5. stone_sword
    stone_sword
    5/5,
    Version: 5.0.3
    very good! 0 bugs.
    I recommend adding other configurable attributes especially attack speed and range. great plugin.
    1. zThana
      Author's Response
      Thank you, I'll consider it!
  6. king09075
    king09075
    5/5,
    Version: 5.0.3
    really like that plugin idea, its like hypixel skyblock! wait bro when the 1.17 update comes can you update also the plugin? please
    1. zThana
      Author's Response
      Yes of course!
  7. chanhee
    chanhee
    4/5,
    Version: 5.0.3
    I really like this plugin, but there are some things I would like to see added -ex(movementspeed, attack speed)
    plz add soon ..
    1. zThana
      Author's Response
      Thank you for the review. I'll consider it
  8. INeverMiss2
    INeverMiss2
    5/5,
    Version: 5.0.3
    Great plugin but I don't understand how you get a gem :/. When I do /lar gem usg it gives me a unsocket token. It says use in anvil to unsocket a gem but when I put it in an anvil nothing happens pls help

    Otherwise amazing plugin!
    1. zThana
      Author's Response
      Thank you! Join the support server on Discord and I'd love to help you out
  9. thaithien
    thaithien
    5/5,
    Version: 5.0.3
    Nice plugin but vers 5.0+ does not support 1.14.x , and can't disable the Health modifier , heatlh error when open inventory .
    1. zThana
      Author's Response
      Join my Discord server for support
  10. Yasss
    Yasss
    5/5,
    Version: 5.0.3
    A VERY NICE PLUGIN ! thnx !
    I really enjoy it
    Lite easy and fun to use
    greate Work !
    1. zThana
      Author's Response
      Thank you! Glad you like it