Item Lore Stats

Thanks to BrightDanny for the logo.
Add functioning stats to your items to allow players to increase their player stats. Any gear/weapons that contain the correct lore that the plugin can detect (list below) will affect the wearer/wielder. ItemLoreStats helps you create an epic RPG experience. Will add more stats/options based on requests.
Description
This is the Item Lore Stats plugin you can add to your server to get players farming/trading/looting gear to get the perfect stats for their character. Item Lore Stats offers random and unique loot tables for all of the default mobs and custom mobs. WorldGuard 6+ is required for WorldGuard support. Vault is required for currency support.
I will continue to support this and add many more features. If you have any suggestions please let me know through a ticket.
Installation and configuration
Place the ItemLoreStats.jar into your plugins directory. Then all you need to do is run your server.
Commands
| /ils | Show a list of available commands. |
| /ils version | Show the version of Item Lore Stats that's running. |
| /ils reload | Reload the Item Lore Stats config. |
| /ils stats | Will display the total stats of your armour and item in your hand. |
| /ils createlore | Creates a set of gear with lore to test the plugin. |
| /ils repair | Repair your gear. |
| ils sell | This will sell the item in your main hand for the price listed in the tooltip of the item. |
| /ils name <text> | Sets the name of the item currently in your main hand. Supports all text formatting. |
| /ils setMultiplier |
All of the mobs health and damage will be scaled by their distance from the location that you type this command. The health is calculated using (distance(when spawned) x multiplier) + base health = new health. The damage is calculated using (distance x multiplier) = new damage. Mobs will also receive a level based on the distance they are from the location that the command is entered. By default a mobs level will increase every 10 blocks but this can be changed by using the command below. |
| /ils blocksPerLevel <number> | ILS will increase the mobs level every X blocks from wherever the /ils setMultiplier command was entered. |
| /ils lore <player_name> <line#> <text> | Adds or sets the lore line to the item currently in the players main hand. If you don't include a <player_name> it will apply it to your own item in your main hand. <player_name> must be online. |
| /ils give <player_name> <item_name> | This will generate an item from the specified file name (plugins/ItemLoreStats/SavedItems/<item_name>) and give it to the specified player (more info on the config here). The item can be given to a player with a different name with /ils give <player_name> <item_name>, <new_item_name>. |
| /ils export <item_name> | This will export the item in your main hand to a file (plugins/ItemLoreStats/SavedItems/<item_name>) with the specified name so that it can be imported at a later date (more info on the config here). |
| /ils upgrade hand | This will upgrade the item you're currently holding in your main hand. Item requires Level Lore to upgrade. |
| /ils upgrade armour | This will upgrade the armour you're currently wearing. Items require Level Lore to upgrade. |
| /ils upgrade all | This will upgrade the item you're holding in your main hand and armour you're currently wearing. Items require Level Lore to upgrade. |
| /ils combatlog | This will enable/disable the ILS combat log that is displayed in chat (You hit a Zombie for X damage.). |
Stats
Click here for a description of each stat.
The text on the tooltip has to contain they keyword of the stat.The text can contain any colour.The lore it can read as stats are;
| Damage: +<MIN_VALUE>-<MAX_VALUE> | Damage +12.4-23.9 |
| Armour: + or -<VALUE>% | Armour +3.7% |
| Dodge + or -<VALUE>% | Dodge +8.2% |
| Block + or -<VALUE>% | Block -1.7% |
| Crit Chance: + or -<VALUE>% | Crit Chance +2.8% |
| Crit Damage: + or -<VALUE>% | Crit Damage +31.6% |
| Health: +<VALUE> | Health +67.2 |
| Health Regen: + or -<VALUE>% | Health Regen +5.7% |
| Life Steal: + or -<VALUE>% | Life Steal +13.5% |
| Ignition: + or -<VALUE>% | Ignition +6.3% |
| Reflect: + or -<VALUE>% | Reflect +4.7% |
| Slow: + or -<VALUE>% | Slow +3.8% |
| Poison: + or -<VALUE>% | Poison +8.3% |
| Wither: + or -<VALUE>% | Wither +4.2% |
| Harming: + or -<VALUE>% | Harming +5.1% |
| Blind: + or -<VALUE>% | Blind +2.1% |
| Speed: + or -<VALUE>% | Speed +16.8% |
| XP Bonus: + or -<VALUE>% | XP Bonus +3.7% |
| PvE Dmg Modifier: + or -<VALUE> | PvE Dmg Modifier +34 |
| PvP Dmg Modifier: + or -<VALUE> | PvP Dmg Modifier -27 |
| Level: <VALUE> | Level 4 |
| Class: <VALUE> (Requires permission ils.use.<VALUE>) | Class Mage, Priest,Warlock |
| Bound to <VALUE> | Bound to Supavitax |
| Weapon Speed: <Very Slow, Slow, Normal, Fast, Very Fast> | Weapon Speed: Slow |
| Right-click to cast Living Bomb | |
| Right-click to cast Lightning | |
| Right-click to cast Fireball | |
| Right-click to cast Frostbolt | |
| Right-click to cast Minor Heal | |
| Right-click to cast Major Heal |
The name of the stat can be changed within the config and if it has, then you must change that in the tooltip accordingly.
Config
Click here for help with the config.yml
Permissions
Negate these to restrict ops.
- ils.admin
description: Required for the /ils createlore, /ils name, /ils setMultiplier and /ils lore commands.
default: op - ils.use.<Class_Name>
description: This allows gear to be restricted to specific classes or groups that have the required permission. If an item contains the lore Class: Mage then that player would need the ils.use.Mage permission.
default: op
- ils.commandlist
description: This allows the player to see the ILS command list.
default: op
Recommended plugins
These are some plugins I recommend using with Item Lore Stats;
- BarAPI
This will allow the players health to be displayed visually as the boss bar like shown in the video here.
- AttributeHider
This will hide default attributes such as "+X attack damage" from swords.
- ProtocolLib
Adds extra support to ItemLoreStats. Creating a smoother, more enjoyable experience for the players.
Have a suggestion or need to report a bug?
Please use the ticket system if you have a suggestion or need to report a bug. This helps me find the problems/suggestions much easier and will also contain the required information I would need rather than looking through the comments.
Tutorials
Simple Weapon creation (Made for 1.7 so may be slightly incorrect with newer version of ILS)
Setting the name of an item (more of a guide than a tutorial)
Adding a blank line (more of a guide than a tutorial)
Adding the Damage stat (more of a guide than a tutorial)
Adding the Crit Chance stat (more of a guide than a tutorial)
Adding the Life Steal stat (more of a guide than a tutorial)
Adding the Movement Speed stat (more of a guide than a tutorial)
Adding the Soulbound stat (more of a guide than a tutorial)
Adding the Level stat (more of a guide than a tutorial)
Adding the Spell stat (more of a guide than a tutorial)
Adding Durability (more of a guide than a tutorial)
Thai Tutorial by ShakeStudioMC
Changelog
Click here for the full Changelog
Metrics
As of v1.759 this plugin sends statistics about the usage to the server www.mcstats.org/. You can disable it by setting "opt-out" to true in \plugins\PluginMetrics\config.yml.

Auto-checking for updates
As of v2.18 this plugin will check for updates using Curse's ServerMods API. It always checks the current version with the version on BukkitDev and will notify ops or any players/groups with the ils.admin permission that there is an update available. It will never automatically download an update without the user typing /ils update. All of the updates are downloaded from BukkitDev. These checks can be disabled in the config.yml by setting checkForUpdates to false.
Donate
As people have requested a donation button to help support the development of Item Lore Stats I've decided to add one. Thanks to the current and future donations I really appreciate it.
Patreon
You can now also help support the project and allow me to dedicate more time to keep Item Lore Stats up to date by pledging on Patreon.


-
View User Profile
-
Send Message
Posted Jan 15, 2015@l666deicide666l
1. Have you changed the internal cooldown in the config? The internal cooldown for each stat is 3 seconds. Which means that stat can only ever activate once every 3 seconds to prevent them from being spammed.
2. No I don't think so. I have to add the integration which is quite limited.
3. By hide do you mean that they would never appear on items? If so you can just remove the stat you don't want to include from the mob configs and that stat will never appear on an item.
-
View User Profile
-
Send Message
Posted Jan 15, 2015Hi, i have two questions and one suggestion here.
1. Is there a way to let the damage event listener listen more often?
- My problem here is: even if i have 100% Crit Chance i won't crit every hit. Only every like 10 ticks or so. (I bet this was asked often but i couldnt find an answer on the last 20 pages)
2. How is the status regarding SkillAPI
- Will he support your plugin? - Your plugin does support interaction between skills and stats so far (whats rly nice) but is there some stat like "intelligence" or "SkillAPI Skill Dmg" planned? (The better way would be that Skillapi looks for the stats and adds a percentage of the value to the damage or duration.)
3. Hiding stats
I would suggest an option in the config.yml that let you hide certain stats. e.g.
primaryStats:
armour:
name: Damage-Reduction
(...)
Implement: true
This would also be usefull if someone doesn't use SkillAPI. You could set the default boolean to false.
PS: The formatting in this forum is so... moderate, btw worst english skills EU
-
View User Profile
-
Send Message
Posted Jan 14, 2015@Supavitax:
Thanks for fixing!
Just for anyone else that is wondering, I have been using ILS on 1.8 and have found it to be for the most part compatible w/o an official 1.8 update from Supavitax. The duplication bug described below was one of the few issues that I had discovered but that will be fixed soon. Give it a try and see if it works for you.
-
View User Profile
-
Send Message
Posted Jan 13, 2015@Supavitax
Are you, by any chance, going to update to 1.8?
Also did you see my suggestion about the combo stat? I would really like if you would consider adding it :D
-
View User Profile
-
Send Message
Posted Jan 12, 2015Ok very cool :D When will the update come out please ? If you have a date..?
-
View User Profile
-
Send Message
Posted Jan 12, 2015@Xhatz
Item duplication has been fixed in the next update.
-
View User Profile
-
Send Message
Posted Jan 11, 2015@Supavitax:
Seems to be a duplication bug with new release and 1.8...right-clicking a class restricted item while in hotbar and while player is in survival mode duplicates the item if the player isn't the right class.
This doesn't seem to occur if the player is in creative mode.
Thanks.
-
View User Profile
-
Send Message
Posted Jan 11, 2015@nsound2006
"This has only been tested on v1.6.4, v1.7.2 and v1.7.9 (May work on other versions but those are untested)."
-
View User Profile
-
Send Message
Posted Jan 11, 2015server 1.8
ERROR [20:34:31] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to ItemLoreStats v4.82 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [spigot.jar:git-Spigot-47b1dff-f233e7d] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-47b1dff-f233e7d] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-47b1dff-f233e7d] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-47b1dff-f233e7d] at org.bukkit.craftbukkit.v1_8_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:85) [spigot.jar:git-Spigot-47b1dff-f233e7d] at org.bukkit.craftbukkit.v1_8_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:538) [spigot.jar:git-Spigot-47b1dff-f233e7d] at org.bukkit.craftbukkit.v1_8_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:451) [spigot.jar:git-Spigot-47b1dff-f233e7d] at org.bukkit.craftbukkit.v1_8_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:570) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.EntityLiving.d(EntityLiving.java:1064) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.EntityLiving.damageEntity(EntityLiving.java:705) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.EntityMonster.damageEntity(EntityMonster.java:44) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.EntityZombie.damageEntity(EntityZombie.java:168) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.EntityHuman.attack(EntityHuman.java:1002) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.EntityPlayer.attack(EntityPlayer.java:1050) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:1312) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:52) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:11) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot.jar:git-Spigot-47b1dff-f233e7d] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_71] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_71] at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot.jar:git-Spigot-47b1dff-f233e7d] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot.jar:git-Spigot-47b1dff-f233e7d] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_71] Caused by: java.lang.NumberFormatException: For input string: "+200-300" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1250) [?:1.7.0_71] at java.lang.Double.parseDouble(Double.java:540) [?:1.7.0_71] at com.github.supavitax.itemlorestats.GearStats.getCritDamageItemInHand(GearStats.java:777) [?:?] at com.github.supavitax.itemlorestats.Damage.DamageSystem.attackerDamage(DamageSystem.java:638) [?:?] at com.github.supavitax.itemlorestats.Damage.DamageSystem.onEntityDamage(DamageSystem.java:449) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_71] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_71] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [spigot.jar:git-Spigot-47b1dff-f233e7d] ... 24 more
-
View User Profile
-
Send Message
Posted Jan 9, 2015Hi, it's me again. I've noticed some issues with the latest version of your plugin.
When an armor is marked as "Bound to" or if the armor is only available for a certain class and we are not part of this class, when we try to equip this piece of armor from our hotbar, it duplicates the armor.
The second thing is : everyone can hold a weapon bound to someone else.
Thank you for reading and for your super plugin!
-
View User Profile
-
Send Message
Posted Jan 9, 2015I can't get spells to work.. I did exactly what the tutorial said, I did not even change anything in the config file :(
Using 1.7.10 .. which might be the issue
-
View User Profile
-
Send Message
Posted Jan 7, 2015Has anyone noticed PvE Dmg Modifier not working?
-
View User Profile
-
Send Message
Posted Jan 1, 2015@killer5362
No problem :D I'm planning on using it on my role play server, but it would work a lot better if my suggestion for the combo stat gets accepted. It can be tricky to get it to work right with the damage stat.
-
View User Profile
-
Send Message
Posted Jan 1, 2015@TheMinecrafter606
I want to thank you for this. Even though it is a necro post, I find the "armor" to be of much use and soo helpful
-
View User Profile
-
Send Message
Posted Dec 31, 2014@Iwitrag
You want to know what I did? I renamed the health stat to 'Armor, than textured the health-hearts into armor/shield icons. So basically if you have a chestplate with the lore "Armor: +10" It gives you 10 health/armor. But that's just the way I did it, hopefully this will help :D
-
View User Profile
-
Send Message
Posted Dec 28, 2014Does anyone know other plugin like this with armour not in % ??
I need something like defense like on other RPG games..
For example: You get hit 20 dmg, your armor is 15 so you will get 5 dmg.
Thx
-
View User Profile
-
Send Message
Posted Dec 26, 2014Any plans on 1.8 ? :)
-
View User Profile
-
Send Message
Posted Dec 24, 2014Hello, Im still having the problem where armor is much stronger than vanilla armor, I have enabled vanilla armor as true, is there a way to make armor weaker though? Another thing, after adding this plugin, players cannot drown in water, or take damage from it. When their bubbles reach 0, they refresh back to full, I checked the config, but could not find a way to fix it, could you lead me in the right direction?
Thanks in advance.
Z
-
View User Profile
-
Send Message
Posted Dec 21, 2014im having this issue if anyone can help me http://pastebin.com/vJQ1EjsY
-
View User Profile
-
Send Message
Posted Dec 19, 2014@krapcher
Ok I will try that and just to clarify I deleted all the weapons made using the plugin then deleted world/players and essentials/userdata not sure if there is anything else i can delete but it's just not working for pvp for the 3 people who used the itemlorestats custom weaponry.