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 Jul 24, 2014Is there a way to enable head placing again?
Great plugin, keep on the good work!
-
View User Profile
-
Send Message
Posted Jul 23, 2014Is there a way to get this plugin to work on mod implemented items? What I mean is, I have CustomNpcs and I would like to attach these bonuses to the weapons that the mods add. How can I do this?
-
View User Profile
-
Send Message
Posted Jul 23, 2014@Mexbotdude
That is an error with your language file. If you were to read you would see that. Try deleting your lan file and see what happens. If that doesn't work, delete the config.
@dadee971
READ READ READ! This plugin is untested with 1.7.9! I would try your tests again but on 1.7.2 or 1.6.4
And for the rest of you: I have submitted tickets with your suggestions and errors on your behalf. Hopefully we will see some improvement soon!
-
View User Profile
-
Send Message
Posted Jul 22, 2014Please create a ticket with any bugs/suggestions.
-
View User Profile
-
Send Message
Posted Jul 22, 2014@dadee971
Try this, work fine for me!
armour:
leather: '&b7.3-7.3'
iron: '&b15.6-15.6'
chainmail: '&b12.5-12.5'
gold: '&b11.4-11.4'
diamond: '&b20.8-20.8'
-
View User Profile
-
Send Message
Posted Jul 22, 2014@ReeferX7
And how to get the default armor with the config?
-
View User Profile
-
Send Message
Posted Jul 22, 2014Hi, please update this plugin to work with items from mods
-
View User Profile
-
Send Message
Posted Jul 21, 2014@dadee971
With plugin instal all armors with out stats are the same!
-
View User Profile
-
Send Message
Posted Jul 21, 2014Forget it all, armors are bugged! I'll remove this.
-
View User Profile
-
Send Message
Posted Jul 21, 2014I 've found a bug. When i install this plugin, lether armor become stronger than diamond. Without any enchant or stats, when i hit someone with leather, it took 1/2 heart damage, and when i hit the same person with diamond, it die in one shot. Armour resistance is inverted. Lether>iron>diamond ... I really need to know how to solve this, otherwise i'll oblige to stop using that. Plugins for the test: Essentials, Worldguard, Worldedit, Multiverse. Server version 1.7.9
-
View User Profile
-
Send Message
Posted Jul 21, 2014Please add it so we can give out more than one at a time it is tiresome to spawn in stacks of items. ./ils give <name> <item> <amount>
-
View User Profile
-
Send Message
Posted Jul 18, 2014@akomboo
I doubt these two plugins will be compatible. SkillApi's developer is short on time and seems unwilling to collaborate with other plugin developers. This is how ILS currently interacts with SkillAPI.
1. Damage from ILS is applies to SKillAPI Target and Target Area skills at a 1:1 ratio.
2. Damage from ILS is applied after calculations by SkillAPI.
Ex. I have a skill that adds 1% damage per skill level and a flat +5 damage. If I have 10 points in this skill and a weapon Diamond Sword that reads "Damage: +50" I would deal ((Base Weapon damage+SkillAPI flat damage modifications) * SkillAPI Damage Percent Skills) + ILS lore damage) or ((7 + 5) * 1.1) + 50) = 63.2
This is frustrating, because you would expect the damage from ILS to be calculated with the damage from SkillAPI (above example would be 68.2 damage if calculated appropriately)
3. SkillAPI skills that add armor and the Armour from ILS are compatible. This is unconfirmed, but from my tests it seems ILS armour reductions are calculated first, followed by SkillAPI armor calculations.
Ex. I have a SkillAPI skills that adds 1% Defense per skill level and I have 15 points in it. I also have an ILS chestplate that adds 30% armour. If a mob with a damage of 40 hits me, I would receive -30% damage from ILS Armour = 28 and then that number would be reduced by the 15% armor from SkillAPI skills = 23.8 damage received.
TL;DR While the plugins are compatible in that one won't crash the other, the interactions aren't set up the way most developers would like them to be.
Edit: I've decided I'm going to contact Supavitax about paying for SkillAPI compatibility.
-
View User Profile
-
Send Message
Posted Jul 17, 2014Hey Supavitax check my ticket if u have time.
-
View User Profile
-
Send Message
Posted Jul 17, 2014Could you add support for every items, on my server people can attack with music discs but lores on disc do not work :(
-
View User Profile
-
Send Message
Posted Jul 17, 2014Hello, there's any idea(way) how to compatible this plugin with SkillApi?
-
View User Profile
-
Send Message
Posted Jul 17, 2014you need to update your plugin to 1.7.10 because is generating errors. Also theres a problem with Heroes plugin compatibility
-
View User Profile
-
Send Message
Posted Jul 16, 2014@NightHavoc
I'm doing exactly what you said and it's still bugged lmao (it doesn't matter that much as I only made like 2 items with health) And regarding the vanilla enchantments being disabled - is there any way to enable them? Currently I'm using vanilla protection, sharpness, fire aspect, etc (because people are more used to them), but also using the evasion, regeneration, life steal, and other stats from ILS. Can they possible coexist?
-
View User Profile
-
Send Message
Posted Jul 16, 2014@Supavitax How can i add your weapons to drop from mobs? for example MythicMobs plugin...Regards.
EDIT : Nevermind , I've found something in the MythicMobs plugin manual. Cheers!
-
View User Profile
-
Send Message
Posted Jul 16, 2014@jlewi14
This is part of the plugin.. The vanilla protection is removed, making it useless. It's meant so that people can't just enchant gear and be better than others. They have to specifically obtain certain higher stat items in order to be stronger.
If you try putting an armor rating on the piece, then letting the mobs hit you, you should see the damage done start to reduce. If you don't plan on using the protection set by the plugin, then you're at the wrong plugin page for your needs.
Also, as far as the health stat goes.. did you remember to put a + in front of it? It is vital to add health, format should be 'Health: (+/-)#.' If you have done this and still can't get it to work, then sorry I couldn't be of more help lol
-
View User Profile
-
Send Message
Posted Jul 15, 2014Was your error that you were getting with the health where your users lost health randomly? Like when throwing exp bottles or just randomly?