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 Mar 16, 2014@Akiume
"Unsupported major.minor version 51.0"
You need to update Java on the server.
@z65703071
How many hearts do you want displayed because the default is 20 and you have it set to 10.
@adw123
Sticks will work but I'll add Blaze rod in the next update.
-
View User Profile
-
Send Message
Posted Mar 16, 2014http://www.hastebin.com/forijayewa.profile The Problem
-
View User Profile
-
Send Message
Posted Mar 16, 2014i placed the .jar in my plugins folder but when i run the server and stuff commands wont work and there is no Folder of the Item Lore Stats In The Plugins Folder theres only the Item :pre Stats.jar
-
View User Profile
-
Send Message
Posted Mar 15, 2014@Supavitax Here is my config link : http://pastebin.com/tzMWSUmJ
-
View User Profile
-
Send Message
Posted Mar 15, 2014Is it possible to create weapons with non-weapon item types to simulate blunt weapons or staffs? I tried adding damage to sticks, blaze rods, and arrows but non of them seem to work..,
Thanks.
-
View User Profile
-
Send Message
Posted Mar 15, 2014@adw123
It's a % amount that the incoming damage is reduced by (if armour stat is 25% it means you would be hit for 3/4 of the original damage).
The durabilityLoss is the % chance that you will lose 1 durability. So you just need to remove the 1 from durabilityLoss: 1
So with Unbreaking I you would have a 33% chance of preventing durability loss, with Unbreaking II you would have a 66% chance of preventing durability loss and with Unbreaking III you would have a 100% chance of preventing durability loss.
@Mike0so
It only grabs 3 specific values (BaseMaxHealth, MaxHealthPerLevel and the hero Level) from Heroes. At the moment I don't have any desire to put it on github.
-
View User Profile
-
Send Message
Posted Mar 15, 2014@Supavitax:
If the armour bar isn't completely accurate, that's fine, I just wanted to get a better understanding as to how armour affects hits taken by mobs behind the scenes so I can scale my items correctly. If 10 armor = 10 shields that I'm essentially adding 75% mitigration just from one stat and I would want to use a much smaller value (if that makes sense)
Another question (then I'll leave you alone lol)...How do I set durabilityloss?
I set my config to
durabilityLoss: 1
enchant:
unbreakingOne: 33
unbreakingTwo: 66
unbreakingThree: 100
Thinking it would remove 1 durability from my armor when they took a hit but it doesn't seem to be working. Maybe I'm not writing it correctly though...
Thanks again.
-
View User Profile
-
Send Message
Posted Mar 15, 2014Could you explain me how to use the hero hook? My decompiler is such messed up.
I wanted to ask you if ur having a github project for item lore stats? because i want to include some more heroes stuff and rpg stuff for my rpg server.
By the way its a nice plugin. I updated the LoreAttributes plugin and it is full of bugs. So i would like to use Item Lore Stats. Will avoid me from a lot of work hehe..
-
View User Profile
-
Send Message
Posted Mar 15, 2014@adw123
I haven't found a decent way of modifying the armour bar so the armour stat isn't displayed on the armour bar. The value that is displayed on the armour bar is the vanilla armour value.
-
View User Profile
-
Send Message
Posted Mar 15, 2014@Supavitax:
Can you explain the armour stat a bit?
Does +1 armor equate to +1 shield?
Does +10% armor add 10% to total shields or just the value of the shields for the piece that the stat is on?
For instance a full set of diamond armor adds 10 shields. If the diamond chestplate (4 shields) has a 10% armour bonus does that equate to 0.4 extra shields or 1 extra shield (total)
Thanks.
-
View User Profile
-
Send Message
Posted Mar 15, 2014@adw123
Hmm that's strange but at least it sorted now and thanks.
-
View User Profile
-
Send Message
Posted Mar 15, 2014@Supavitax:
It looks like I managed to get it working. I'm not sure how though. What I did was:
FYI, below is the configuration of my item. I think the durability looks that way because of I used it a bit already.
Item:
==: org.bukkit.inventory.ItemStack
type: WOOD_SWORD
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: Sharp Stick
lore:
- '§aWeapon Speed: Slow'
- '§aDamage: +25-32'
- 'Health: +100'
- '§5§oDurability: §5§o85§5§o/§5§o100'
Thanks again for your help. I donated a few bucks to future development. I hope you continue to support this mod!
-Alan
-
View User Profile
-
Send Message
Posted Mar 15, 2014@adw123
Are you able to hold the item? If you can could you hold the item in your hand and type /ils export Item and then link the Item.yml found in /SavedItems/ just so I can test it to find the error. I have an idea what might be causing the error but I just want to make sure it's that before I change anything.
-
View User Profile
-
Send Message
Posted Mar 15, 2014@ Supavitax:
Here is the rest of the original error message:
http://dev.bukkit.org/paste/9513/
Thanks.
-
View User Profile
-
Send Message
Posted Mar 15, 2014@Supavitax
Ok, now it's flagging an exception and causing my server to restart as soon as I log in.
2:49:18 PM CONSOLE: [INFO] awalker520 lost connection: Server is restarting
2:49:18 PM CONSOLE: ERROR]: Could not pass event InventoryCloseEvent to ItemLoreStats v2.91
2:49:18 PM CONSOLE: java.lang.NumberFormatException: For input string: "100/100"
2:49:18 PM CONSOLE: Source) ~[?:1.7.0_13]
2:49:18 PM CONSOLE: Source) ~[?:1.7.0_13]
2:49:18 PM CONSOLE: Method) ~[?:1.7.0_13]
2:49:18 PM CONSOLE: Source) ~[?:1.7.0_13]
2:49:18 PM CONSOLE: Source) ~[?:1.7.0_13]
2:49:18 PM CONSOLE: Source) ~[?:1.7.0_13]
2:49:18 PM Heroes: Saved hero: awalker520
2:49:18 PM CONSOLE: [INFO] awalker520 left the game.
2:49:18 PM CONSOLE: WARN]: [ItemLoreStats] Task #35 for ItemLoreStats v2.91 generated an exception
2:49:18 PM CONSOLE: [INFO] Stopping server
If I remove the plug in the server boots fine.
-
View User Profile
-
Send Message
Posted Mar 15, 2014@adw123
The - 'Durability: 100' might be causing an error as there is no max amount set so you could try - 'Durability: 100/100'.
Edit: What was the rest of the error?
-
View User Profile
-
Send Message
Posted Mar 15, 2014@Supavitax:
Hey,
I've tried that as well, no damage range seems to have an affect. I just get that error message and then it doesn't do any damage.
Thanks.
-
View User Profile
-
Send Message
Posted Mar 15, 2014@adw123
Try changing
- '&aDamage: +25'
to a range like
- '&aDamage: +25-32'
@OniEks
From a ranged attack?
-
View User Profile
-
Send Message
Posted Mar 15, 2014I'm using the MythicMobs plug in to set up mobs, items and drop tables, but wanted to add special attributes using the ItemLoreStats. For most of the stats I add to the lore section of my item they work fine but I can't get the damage or weapon speed stats to update. Within my log i keep getting the following error.
Could not pass event EntityDamageByEntityEvent to ItemLoreStats v2.91
Here is an example item config from within my MythicMobs configuration
C_SharpStick:
Id: 268
Data: 0
Display: 'Sharp Stick'
Lore:
- '&aWeapon Speed: Slow'
- '&aDamage: +25'
- 'Health: +100'
- 'Durability: 100'
I know this can be done because others have commented that they are using both of these together. If anyone can point me in the right direction, I'd appreciate it.
Thanks.
-
View User Profile
-
Send Message
Posted Mar 15, 2014I am having issues with Bow damage, it is only doing the Vanilla damage, but all other items with the Damage: lore work just fine.