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 Jun 15, 2014Hey! I love your plugin ! :D But i use Heroes plugin and both can change environmentalDamage for example. Which plugin keeps the priority ?? And there isn't any conflict whith Heroes in global ? Thank a lot for this awesome plugin.
ps: I have a bug on my server, when an item have the stat Health or Damage in a "Double" value, the item bug and doesn't work anymore.
Thank again and sorry for my bad english :p
-
View User Profile
-
Send Message
Posted Jun 15, 2014@samueli5750
Thanks, seems to be a bug with the current version which I've just fixed for the next update.
-
View User Profile
-
Send Message
Posted Jun 15, 2014@Supavitax
thx
http://pastebin.com/CU76Qffi
-
View User Profile
-
Send Message
Posted Jun 15, 2014@deitytowns
Have you set usingMcMMO to true in the config? If yes then that's why durability doesn't work. There is a conflict with McMMO so the durability stat has to be disabled.
-
View User Profile
-
Send Message
Posted Jun 15, 2014The durability doesnt go down on armour... It is being dropped by MythicMobs mobs i made and i put it on and the dura for the weapons/armour doesnt go down..
-
View User Profile
-
Send Message
Posted Jun 14, 2014how can I add a commando to a item which gets activated when I worn/hold it?
and for what works the /ils sell command
-
View User Profile
-
Send Message
Posted Jun 13, 2014@samueli5750
Pm me your config.yml and language.yml in the ItemLoreStatsFolder
-
View User Profile
-
Send Message
Posted Jun 12, 2014@Supavitax
this is my first time to install. but i try many many time also got this issue...
[11:34:13 WARN]: java.lang.NullPointerException [11:34:13 WARN]: at com.github.supavitax.itemlorestats.Util.Util_GetRespo nse.getResponse(Util_GetResponse.java:29) [11:34:13 WARN]: at com.github.supavitax.itemlorestats.ItemLoreStats.onCo mmand(ItemLoreStats.java:841) [11:34:13 WARN]: at org.bukkit.command.PluginCommand.execute(PluginComman d.java:44) [11:34:13 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo mmandMap.java:175) [11:34:13 WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCo mmand(CraftServer.java:706) [11:34:13 WARN]: at net.minecraft.server.v1_7_R1.PlayerConnection.handleC ommand(PlayerConnection.java:984) [11:34:13 WARN]: at net.minecraft.server.v1_7_R1.PlayerConnection.a(Playe rConnection.java:829) [11:34:13 WARN]: at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(Packe tPlayInChat.java:28) [11:34:13 WARN]: at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle( PacketPlayInChat.java:65) [11:34:13 WARN]: at net.minecraft.server.v1_7_R1.NetworkManager.a(Network Manager.java:147) [11:34:13 WARN]: at net.minecraft.server.v1_7_R1.ServerConnection.c(Serve rConnection.java:77) [11:34:13 WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.u(Minecr aftServer.java:700) [11:34:13 WARN]: at net.minecraft.server.v1_7_R1.DedicatedServer.u(Dedica tedServer.java:273) [11:34:13 WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.t(Minecr aftServer.java:562) [11:34:13 WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.run(Mine craftServer.java:469) [11:34:13 WARN]: at net.minecraft.server.v1_7_R1.ThreadServerApplication. run(SourceFile:617) [11:34:13 INFO]: *** Failed to load message from language file! ** *
-
View User Profile
-
Send Message
Posted Jun 12, 2014@samueli5750
Did you delete your language file before updating to v4.25? I'm 99% that will be the issue.
-
View User Profile
-
Send Message
Posted Jun 12, 2014The latest version spam error msg when /ils repair
[19:12:16] [Server thread][WARN]: java.lang.NullPointerException [19:12:16] [Server thread][INFO]: *** Failed to load message from language file! ***
-
View User Profile
-
Send Message
Posted Jun 10, 2014@deadlymaul
The issue with pvp and mobs has been fixed in the next update. The set bonus was a feature I started a while back but never worked as well as intended so I disabled it.
@Mexbotdude
Not at the moment
-
View User Profile
-
Send Message
Posted Jun 9, 2014World Guard seems to conflict with ILS when coming to some stats not working. As example: if a region has the pvp flag set to deny (global region tested), ILS seems to not work regarding damage taken from mobs. Yes, from mobs. I am not sure if it's set to be like that or it's a bug, but as I said above, if the pvp of a region is set to deny, damage received from mobs won't trigger any defensive effect (such as dodge/block), and when the pvp flag is set to allow, it works. Also, could you explain the "Set Bonus" attribute? I've ran accros it in the config file but couldn't find anything related to it on the bukkit dev page. Is it not implemented yet or you didn't have the time to update the page with info?
-
View User Profile
-
Send Message
Posted Jun 7, 2014@Supavitax:
Hi again!
Is there any way to config objects which you can use to repair some items?
example:
"you need 1 iron ingot to repair 10 points of damage to armor or weapons"
Durability: 350/400 it goes to Durability: 360/400
-
View User Profile
-
Send Message
Posted Jun 7, 2014Magic spell damage is not applied
-
View User Profile
-
Send Message
Posted Jun 6, 2014@Supavitax:
Ah ok, you're right...I thought it was ILS doing that all this time...I guess I'll need to figure out a way to disable the health bar some other way. I appreciate the offer to disable the custom name but I wanted to have that there as well.
It's amazing how few good health bar mods are out there...seems like something that every server would want to implement....
Thanks.
-
View User Profile
-
Send Message
Posted Jun 5, 2014@adw123
Oh that's actually a conflict with the HealthBar plugin. I think the way HealthBar works to display health is it alters the name of the mob to its health and then because the name is not null, ILS thinks it's a custom mob so it returns that name which ends up being the mobs health.
I could make an option to never return a custom name.
-
View User Profile
-
Send Message
Posted Jun 5, 2014@Supavitax:
Not a problem...I just mean being able to turn off the health bar that is displayed in the chat window after the mob takes more than one hit. So for instance if I hit a mob 5 times currently it will display something like this:
I'd like an option to turn off the health bar so it looks like this:
Hope that makes sense. Thanks.
-
View User Profile
-
Send Message
Posted Jun 5, 2014@adw123
Sorry I forgot that one, just to confirm what do you mean about removing the health bar?
-
View User Profile
-
Send Message
Posted Jun 5, 2014@Supavitax:
Did the changes to damage messages where you can remove the health bar make it into the last update? I checked the config and language files but don't see where this can be enabled/disabled.
Thanks.
-
View User Profile
-
Send Message
Posted Jun 5, 2014@Supavitax
The same base damage they would do if the plugin wasn't installed. With a wood sword it does 4, a diamond sword does 7.