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 Apr 30, 2014@Kyren_Leah
Did they have the Level lore? if not, it won't upgrade. Though this is something I can "fix" in an update.
-
View User Profile
-
Send Message
Posted Apr 30, 2014Thanks for adding the upgrade command! We're using MythicDrops for our item tiers and drops and mob equipment, and ILS to make the items worth it! I'd like to give players the option to soulbind items found that way, and then make those weapons level up.
So I was testing the /ils upgrade hand command first with some random vanilla items and then with one from ILS (/ils createlore) but in both cases nothing happened. I made sure that I've got the permission to do it and I checked my server log, no message appears after using the command.
Am I doing something wrong?
-
View User Profile
-
Send Message
Posted Apr 30, 2014@Faldonboy
I can't view that first error. Do you have any other plugins adding/removing the haste/mining fatigue effects? It might work fine with McMMO now but when I first added durability it didn't work well with it and because I don't use it I don't know how well it interacts with it so it was easier for me to just disable it if McMMO is enabled.
@adw123
Fixed except the incoming damage message seems to be working fine for me.
@baksovic111
Fixed in the next update.
-
View User Profile
-
Send Message
Posted Apr 29, 2014A few things, first this error started showing up immediately when I updated to 3.93. Happens whenever a player levels up.
I'm also having the same issue with health regen.
And I'm having a problem with weapon speed not working correctly, it seems to be working randomly. Every few swings the weapon speed returns to "normal" if its set to "fast" or "slow" then it will change back to what its supposed to be several seconds later.
Also, I'd like to ask what about the durability stat is incompatible with mcMMO? I have mcMMO in the server and turned the setting in the config to false to see what would happen and durability seems to work fine, as long as I turn repairing off and increased durability loss from skills off I don't see any problems yet.
EDIT: This Error also started showing up. Happens when using any of the upgrade commands.
Also, the way you've changed the damage stat is a bit confusing because /ils stats still shows the original items damage AND the damage set by the stat. (so an iron axe normally has 6 damage, giving it a damage stat of 6 will show up as 12 in /ils stats even though the axe only does 6 damage.)
-
View User Profile
-
Send Message
Posted Apr 29, 2014@Supavitax:
Thanks for fixing the durability issues with tools for 3.93. Everything seem to be working good now. I also noticed an improvement with the outgoing damage messages seeming smoother and not duplicating the way the sometimes did before.
Unfortunately I've noticed that incoming damage message don't seem to be working when set to true.
Also, as baksovic111 mentioned below Health Regen seems to still be bugged. The issues we experienced before where Heroes mod would block all regen seems to be fixed so that ILS overrides things but items with the Health Regen stat aren't causing the player to regen more.
If you could take a look at those things, that would be great. Thanks.
-
View User Profile
-
Send Message
Posted Apr 29, 2014version v3.93 Does not work 'Health Regen' I do everything right! When entering / ils stats shows & 3Health Regen: +100% When replenished life given only one heart
-
View User Profile
-
Send Message
Posted Apr 29, 2014http://pastebin.com/RM6dnAVA
-
View User Profile
-
Send Message
Posted Apr 29, 2014Can I have it working with Mythic Mobs?
Like, I want to have some mobs in mythic mobs that wears Leather Armor. This type of leather can come with 5-10 Health and this lore would have 5% to be applied. How can I do that?
-
View User Profile
-
Send Message
Posted Apr 28, 2014I use version v3.76 and give me this error if some one throw splash potion of healing in mobs. Error: http://pastebin.com/2ZVA0UG2, my logs have a lot of this spam!
Edit: only in undead monsters like zombie,skeleton
-
View User Profile
-
Send Message
Posted Apr 28, 2014Strongly if your plugin load to the server when 150 players online?
-
View User Profile
-
Send Message
Posted Apr 28, 2014@ChazimOne:
This may not be an option at this point, but I use the item creation options in MythicMobs to create items with ILS stats. All you need to do is add lore fields to the meta data section, then these items can be added to drop tables and so forth.
If you would like help setting up your items that way, let me know.
-
View User Profile
-
Send Message
Posted Apr 28, 2014@ChazimOne
At the moment you will have to yes but I'll have that sorted in an update. I haven't tested it but you may need to set ILSLootFromNaturalSpawnsOnly to false in the Item Lore Stats config.yml and you may need to check MythicMobs for anything similar.
-
View User Profile
-
Send Message
Posted Apr 28, 2014Why is the configuration of SavedItems completely different than the configuration of an item in SavedMobs?
I made 124 Items in SavedItems and I want them to drop from some mobs<sub> so I have to completely re-write them to add them to mob drops, or am I missing something? </sub>
Also I haven't been able to get a Named MythicMob to drop a custom item using a yml file in the SavedMobs folder. The named mob and file name are the same. I've tried it using the Name in MythicMobs as well as the displayname in MythicMobs.
I.E. (MythicMob)
Havarni: Mobtype: angrypigzombie Display: '&6Queen Havarni'
(SavedMobs) I've tried:
havarni.yml, Havarni.yml, Queen Havarni.yml
-
View User Profile
-
Send Message
Posted Apr 27, 2014Is it possible to add support for repair things with npc and just for the money?
-
View User Profile
-
Send Message
Posted Apr 27, 2014This plugin is growing. I give you a suggestion for your development. A new stats.
That will work on weapon to lower durability from your enemy equipment. "attrite: +5 ?" Thanks. :)
-
View User Profile
-
Send Message
Posted Apr 26, 2014I know i'm asking too much, but, could u make another mod only with the class functionality? or maybe add options to disable everything, cause i'm having a lot of "Could not pass" errors, and i'm not even using the lores, just the class one =/ (ls.use).
-
View User Profile
-
Send Message
Posted Apr 25, 2014@Bydon
The durability issue is fixed in the next update. I'll look into the problem with the health not increasing on armour. I'll add an option in the config to include/exclude vanilla damage. The group based configs for levelling items should be possible which could be selected based on the prefix, suffix.
@adw123
It was a change I forgot to add to the change log so I didn't realise I had added that line to the code so that's why I wasn't able to recreate the issue.
-
View User Profile
-
Send Message
Posted Apr 24, 2014Not sure if it applies to what you were talking about durability not being reduced on tools, the durability is not reduced when attacking, but mining blocks will reduce it like it's supposed it. Also, the health stat doesn't increase when the armor levels up. And is there any way to make it so the damage stat is the actual damage of a weapon, and the vanilla damage isn't applied? One last thing, would it be possible to set different 'sets' of armor/weapons with different level-up settings? Let's say there's 'group a' and 'group b' Group a would be given 20 level-ups with high stats each time Group b would be given 100 level-ups, but are lesser in stat increases
Group a would have a lot of health but low attack Group b would have little health, yet high attack
-
View User Profile
-
Send Message
Posted Apr 24, 2014@Supavitax:
That's awesome! May I ask what it was? It seems really strange that my default setup was failing but yours was not...
-
View User Profile
-
Send Message
Posted Apr 24, 2014@adw123
I've managed to find the bug for the durability not being reduced on tools so that will be fixed in the next update which I'm hoping to have out by the end of the week. Still have a few more things to add/finish.