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 24, 2014@darkkkkkkk
If you have mcmmo set to true then the repairing and durability used by ILS is disabled to due to conflicts with mcmmo.
-
View User Profile
-
Send Message
Posted Apr 23, 2014@supav
-
View User Profile
-
Send Message
Posted Apr 23, 2014@adw123
The repair is not working i have a damaged gold pickaxe near like the yellow on a bar and I have tested right clicking and left clicking with like 20 gold ingots in my inv as well as sticks and still nothing :/...
Durability stats don't even seem to appear on tools found as drops either and seem to break ridiculously fast:/ hmm... Not sure if thats cuz i have mcmmo set to "true" in the config because i am running mcmmo as well. IS there something i need to change about the mcmmo config as well maybe?
For me the vanilla items don't really even appear to have stats at all just says the name really like "diamond chestplate" not stats under it or around it.
-
View User Profile
-
Send Message
Posted Apr 23, 2014@Darkkkkkk:
Few things to try:
Are you using ingots as opposed to ore?
Try using a custom item with durability lore stats on it and see if that works. /ils createlore will give you a few to test with if you want something quick. Vanilla items may not work since they don't' have a durability stats that is visible.
-
View User Profile
-
Send Message
Posted Apr 23, 2014@supavitax
Hey so I have ils added but cannot figure out why the repairing is not working... :/ Everything else seems to be working fine except that I have all of the items in my inventory for the vanilla item when i left click on the workbench its like nothing happens... I just hit it lol
Also there is no way to make it so items that are crafted have random lores added onto them?
Just found another thing too >.< for some reason people are dropping there inventories... any way to change that as well.. haha sorry xD
Is there something I'm doing wrong or something wrong with the setup, i mean there could be a plugin interfering with this I'm not sure exactly...
-
View User Profile
-
Send Message
Posted Apr 22, 2014@Supavitax:
Ok, so I created a brand new server from scratch. Installed craftbukkit then ILS. ILS is the only plugin running, not even Essentials is installed. Ran a /ils createlore command.
Same results with the exception of one strange occurrence...I was in survival mode and I killed a dozen or so mobs. Durability didn't drop. I switched the game to creative mode and I noticed that the weapon lost 1 point of durability. Killed a bunch of mobs in creative mode but it didn't drop any more. Switched back and forth between modes trying to figure something out but couldn't replicate what happened. As before, when I rolled back to 3.35 it started working.
I feel like I'm going crazy because this just doesn't make any sense...I don't know what else it could be...Virtually everything is at the default settings and configuration. No mods can possibly be conflicting at this point. I'm running with most up to date Java (7.55) on Windows 8.1 64 bit and using CraftBukkit 1.7.2 R03. Everything should be working.
-
View User Profile
-
Send Message
Posted Apr 22, 2014@Supavitax:
I disabled all of my plug-ins last night one at a time and couldn't get it to work. Tonight I'm gonna build a server from scratch, install just craftbukkit, essentials and ILS and see if I can get it working.
-
View User Profile
-
Send Message
Posted Apr 22, 2014@ChazimOne
http://dev.bukkit.org/bukkit-plugins/item-lore-stats/pages/saved-mobs-example/
Drop chance, 15 would be 15% chance of dropping.
-
View User Profile
-
Send Message
Posted Apr 22, 2014In the SavedMobs files, what is the first number indicating? (In this case, the '15'
'15':
'1':
itemId: 298
nameColour: '&f&l'
prefix: random
suffix: random
properties:
-
View User Profile
-
Send Message
Posted Apr 22, 2014@WAP2011
Armour should work fine but I've heard that regen doesn't work correctly with Heroes installed but I'm looking into fixing that. Had a look at that log and it doesn't have anything to do with that.
-
View User Profile
-
Send Message
Posted Apr 22, 2014Armour and Life Regen doesn't work for me :/ I tested few others and it was okey. Does it have anything to do with Heroes error? http://pastebin.com/isqHbhmq
-
View User Profile
-
Send Message
Posted Apr 22, 2014@ferrago
Yea this is something I want to add but I need to put a list of everything first.
@adw123
My only guess would be that it could be caused by MythicMobs cancelling the event as the rest of the plugins couldn't really cause that to happen but I'll check to make sure.Tested with MythicMobs and durability is reduced on the item in hand.@Executerz666
In the config.yml
@ferrago
This looks like Heroes is causing the null error but I'll put a small check in before returning the value to make sure it doesn't return a null.
@Executerz666
Some plugins restrict classes to specific permissions. Will possibly add something soon.
-
View User Profile
-
Send Message
Posted Apr 21, 2014I notice a lot of people using your plugin also use heroes. I myself take advantage of your lore stats when coding my hero skills, and had to implement my own method to get the weapon damage, it would be super nifty if you added an API to your plugin to fetch that weapon data/damage since you have a nice simple method for it already :)
-
View User Profile
-
Send Message
Posted Apr 21, 2014@Supavitax:
Just tested /ils createlore and with the weapon created and durability is not going down. :-(
I rolled back to version 3.35 and tested. Durability works. Upgrading back to 3.72 breaks it again.
I'm really at a loss as to why its not working at this point...Below are the mods I'm using. Pretty standard stuff I believe.
Essentials, HealthBar, Heroes, HungerPlusPlus, ItemLoreStats, MythicMobs, PhatLoots, StructureSaver, Telepads, Vault, WorldEdit, WorldGuard
Any other ideas?
-
View User Profile
-
Send Message
Posted Apr 21, 2014Also Were can we find or get Random Lore
-
View User Profile
-
Send Message
Posted Apr 21, 2014Supa I am getting an issue with players on their first ever log in, or if server is whitelisted when they attempt to log in and they immediately get kicked. http://pastie.org/9098807
-
View User Profile
-
Send Message
Posted Apr 21, 2014In the Config File why is there Classes? And How can we choose a Class or Edit it?Is there a Command for this>?
-
View User Profile
-
Send Message
Posted Apr 21, 2014@WAP2011
Check out the mob configs for each mob type/custom mob, they offer a huge amount of control on the dropped items.
http://dev.bukkit.org/bukkit-plugins/item-lore-stats/pages/saved-mobs-example/
-
View User Profile
-
Send Message
Posted Apr 21, 2014Is it possible to have any bigger control over the plugin? Im using Heroes, and i set maximum level to 30, and i got bow with 34 minimum level. Also, it would be cool if I could create own tiers of weapons with for example minimum and maximum damage per tier, minimum and maximum blind chance and make it random when generating. For now i cant change any of it, cant change lore color, damage, chances for every weapon that is generated. I want people to find diffrent tiers with diffrent lore. Doing it like custom weapons would take ages. I really want this plugin, it offers many stats and cool features, but unfortunately it would break my whole server ;/
-
View User Profile
-
Send Message
Posted Apr 21, 2014@adw123
If you type /ils createlore and then use that weapon does is still not work?