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 21, 2014@Supavitax:
When I hit mobs the durability isn't going down. I think the system is fine as is where armor goes down when you take hits and weapons go down when you hit mobs.
-
View User Profile
-
Send Message
Posted Apr 21, 2014@Kyren_Leah
Yes only ILS items.
-
View User Profile
-
Send Message
Posted Apr 21, 2014@Supavitax
Hmm, does this leveling only work with items that were generated by Item Lore Stats? Or with any item spawned by other plugins or crafted too?
-
View User Profile
-
Send Message
Posted Apr 21, 2014@adw123
The durability will only lower on weapons when you hit something with it. Being hit doesn't cause both the armour and weapon to reduce durability, instead only the armour durability is reduced. Though I guess it would make sense for both of the durabilities to be reduced. Maybe that's where the issue is?
-
View User Profile
-
Send Message
Posted Apr 21, 2014@Supavitax:
Latency should be non-existent. I'm logging into a server that is running on the same machine as the client. Maybe that's the issue though if there is some sort of conflict with both Java apps running simultaneously. I'll try to set things up on a different system and test it that way to verify further although I've been running this way for a long time without issues.
I have seen the issue you're explaining before where one mob can hit you multiple times without you realizing it due to latency, but I did test multiple times to verify that I was being hit just once by one mob, so I don't think that is the case.
The greater issue to me is that the durability still isn't dropping on weapons. If the armor durability is inconsistent that's not such a big deal cause I can adjust my durability amounts to accommodate.
Tonight I'll do some more tests, removing plug-ins until I can get things to work, or rolling back ILS to a pre 3.72 version and see if I can make any sense of things. Thanks for your help.
-
View User Profile
-
Send Message
Posted Apr 21, 2014@adw123
Are you being hit by more than 1 mob? Is the latency between you and the server high? I done more tests and everything is working as intended for me.
The error you saw in console was caused by ILS trying to add durability to a null item that had dropped when you killed a mob, but I've fixed that.
-
View User Profile
-
Send Message
Posted Apr 20, 2014@Supavitax:
I did more testing regarding Durability loss and found that it is indeed working for armor, but weapon durability is still not going down. I played around for about 15 minutes and noticed that the follow error was being logged in my console. It appears to be related to Durability.
Edit: durability loss on armor does not appear to be accurate as well. Sometimes I lose one point, sometimes three or four...
http://dev.bukkit.org/paste/dvfwbqcr8s7t1904/
When you have a moment, can you investigate please?
Thanks!
-
View User Profile
-
Send Message
Posted Apr 19, 2014@ferrago:
That is the case, but setting it to 0 turns it off for everything. No matter how high I set regen to in ILS config file or in items, regen doesn't work. I believe ILS regen works with 8/10 or above as well, so I'm not really trying to fix this aspect of things though a regen that worked without a tie in to the hunger bar would be cool and probably fix the issue as well.
Thanks.
-
View User Profile
-
Send Message
Posted Apr 19, 2014@adw123
So I was looking into coding the plugin and while looking through to make sure it would work correctly I realized that heroes only heals whenever the person has 8/10 or higher food bars. I also noticed a setting food-heal-percent: 0.05 I put one and one together, set that to 0.00 and no more regen through heroes now.
-
View User Profile
-
Send Message
Posted Apr 19, 2014@Supavitax
Trust me my friend I understand why you were doing it :). Because a lot of plugins do alter damage of vanilla items. I am having the issue of anti-pvp/damage plugins setting the damage to 0 rather than canceling the event that is creating all kinds of headaches for me with a project I am working on.
-
View User Profile
-
Send Message
Posted Apr 19, 2014@ferrago
Yea I included the vanilla damage to try and add support for more plugins that alter the damage, though I guess I could add an option to remove the vanilla damage.
-
View User Profile
-
Send Message
Posted Apr 19, 2014@Dhuster
/ils lore 1 Damage: +1
haha kidding. I am sure he would be willing to add a configuration for it if there isn't already I know he recently specifically made item damage to calculate this way.
-
View User Profile
-
Send Message
Posted Apr 19, 2014LOLOLOLOLOLO
-
View User Profile
-
Send Message
Posted Apr 19, 2014@Kyren_Leah
You just need to level up with the items in your hand/equipped and it will level with you. I forgot to add a command but I'll add that in the next update.
-
View User Profile
-
Send Message
Posted Apr 19, 2014I'd like to try out the upgradeable items, they're activated in my config, but I can't seem to add them ingame - e.g.; when I try /ils lore add Level: 1 the lore added works as the required level to hold the item. What's the lore for making it upgrade?
Thanks already!
-
View User Profile
-
Send Message
Posted Apr 18, 2014@Supavitax
Thanks! :)
So......how about the stats of potion effect?
I want to control that how many levels of effect but always fixed to a levels.
Start is good but that's unsustainable because players are growing.
-
View User Profile
-
Send Message
Posted Apr 18, 2014Thanks Supavitax!
-
View User Profile
-
Send Message
Posted Apr 18, 2014@adw123
I'll try and come up with something for that issue.
@z65703071
I'd rather try and balance the other mitigation stats rather than adding something like that as it's very similar to the current 3.
@Dazeheart
Thanks and yes you should be able to as Flint is now classrd as a tool but to have the ils durability stat work correctly I'll need to add that in the next update but I'll have another update out fairly soon so that will be sorted.
-
View User Profile
-
Send Message
Posted Apr 18, 2014Hey Supavitax, I just wanted to login to say that this is by far the most spectacular, well-designed and updated plugin out of aboslutely everything.
The fact that you allow support for 1.6.4 users as well as continuously adding top-notch content. Just.. thankyou very much. I really appreciate it.
There's been a lot of patching since I last updated so I must ask, is flint now possible to use as an item? For spout custom items :) If not that's totally okay, this plugin is still amazing.
-
View User Profile
-
Send Message
Posted Apr 17, 2014@adw123
Thanks for you:)
@Supavitax:
Please add a stat which name is "Damage Reduced'?
I can't produce more differently shields and player said "Currently this feature is pretty unitary and sometimes useless because dodge is better than block ability".
I like to use value and not the percentage for producing my weapon because this way can targeting each shields to set how many damage you've blocked.(Damage Reduced: 10)?That is more configurable. :)
Sorry, I forget to say I was talking about the block stat. Using a shields to blocked the part of damage from enemy also depleting the weapon durability is pretty awesome.