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 Jan 12, 2014One more thing,
i want multiple lore's on the mythic items (from mythicdrops) and so i use the bonus lore's in the tiers.yml folder. But i change the color to &a&o but it's automatic purple ingame, so it says in purple: &a&oHealth: +20
Is there a way to fix it?
-
View User Profile
-
Send Message
Posted Jan 12, 2014There's just one option I'd like to see:
Custom durability.
For example: Diamond sword #1 has +100 damage and a durability of 20 hits Diamond sword #2 has +200 damage and a durability of 15 hits
If you add that option, this plugin will be absolutely perfect :)
-
View User Profile
-
Send Message
Posted Jan 12, 2014@Supavitax
If you could add those, that would be epic! & thanks!
-
View User Profile
-
Send Message
Posted Jan 12, 2014@Xeroxo135
To hide the default attributes you can use something like http://dev.bukkit.org/bukkit-plugins/attributehider/
and I'll look into adding some of those.
-
View User Profile
-
Send Message
Posted Jan 12, 2014@Supavitax
Never mind, reinstalled them both and it's working now. Is there a way to make it so to hide the +7 damage on a diamond sword for example? Or to lower the damage rates, so 7 damage in your plugin is 7 damage in vanilla minecraft?
+ can you also make these stats?:
Knockback % Dodge % Reflection %
Would be epic!
-
View User Profile
-
Send Message
Posted Jan 12, 2014I tried doing ils stats on the blessed sword and I got:
it displayed 4% armor and then
"internal server error occurred" and this was the console output:
2014-01-12 23:45:14 [INFO] Alurn issued server command: /ils createlore 2014-01-12 23:45:25 [INFO] Alurn issued server command: /ils stats 2014-01-12 23:45:25 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'ils' in plugin ItemLoreStats v1.446 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:528) at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:968) at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:886) at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:837) at org.getspout.spout.SpoutPlayerConnection.a(SpoutPlayerConnection.java:120) at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116) at org.getspout.spout.SpoutPlayerConnection.e(SpoutPlayerConnection.java:195) at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.NumberFormatException: For input string: "Min450" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at com.github.supavitax.itemlorestats.GearStats.getDamage(GearStats.java:141) at com.github.supavitax.itemlorestats.CharacterSheet.returnStats(CharacterSheet.java:27) at com.github.supavitax.itemlorestats.ItemLoreStats.onCommand(ItemLoreStats.java:760) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 17 more
-
View User Profile
-
Send Message
Posted Jan 12, 2014@tomori_peti
I've tested it with HealthBar and it works fine with it. Citizens is supported in the next update and Residence I'll look into that for the next update.
-
View User Profile
-
Send Message
Posted Jan 12, 2014This plugin conflicts with lots of other plugins. Like HealthBar, IcePvPControl, Citizens, Residence and everything witch have impact on damage. ...
-
View User Profile
-
Send Message
Posted Jan 12, 2014@Dazeheart
If you equip the gear and type /ils stats does that return anything?
@Xeroxo135
You said you was going to try something else. As the plugin is working for others the only thing I can suggest is to try it with only MythicDrops and Item Lore Stats. This is it working for me http://www.youtube.com/watch?v=tkCWopHHDAU
-
View User Profile
-
Send Message
Posted Jan 12, 2014V1.446 for 1.6.4
-
View User Profile
-
Send Message
Posted Jan 12, 2014@Supavitax
Don't ignore me? :O
"Nope? But it also didn't work with armour. Let me try it with some thing else.:
Edit: Life steal doesn't work also"
-
View User Profile
-
Send Message
Posted Jan 12, 2014@Dazeheart
Which version of ILS are you using?
@BeYondZer
Do you know which version of ILS you was using with 1.6.4?
@XeonG8
If the stat doesn't exist for ILS then it will be ignored, if you entered the value of the stat incorrectly then it will throw an error. That's why I asked for a screenshot of the tooltip of the item.
-
View User Profile
-
Send Message
Posted Jan 12, 2014For some reason, the stats do not apply to me no matter what. I did everything and I tried /ils createlore and the stats do not apply. +450 damage, anything. Why is this?
I'm using the latest stable build of 1.6.4 craftbukkit and version b9 of spoutcraft 1.6.4 and do not have conflicting plugins (that I know of) Nothing is modifying the same stats.
-
View User Profile
-
Send Message
Posted Jan 11, 2014@Supavitax
the plugin did generate the error though plenty of times..
if someone else has a weapon with a stat name that doesn't exist then what.. that error?
-
View User Profile
-
Send Message
Posted Jan 11, 2014Nope? But it also didn't work with armour. Let me try it with some thing else.:
Edit: Life steal doesn't work also
-
View User Profile
-
Send Message
Posted Jan 11, 2014@Xeroxo135
Oops. Just tried the newest version and it reads the lore fine.
Are you using another plugin that alters the players health?
-
View User Profile
-
Send Message
Posted Jan 11, 2014@Supavitax
Doesn't work for me. btw your ranking isn't the same as me, wth? It just gives this in signs: ??a??o??Crit....
Color codes are done with & in mythicdrops. Do you have the latest version? http://dev.bukkit.org/bukkit-plugins/mythic/ B: MythicDrops v3.0.0-SNAPSHOT for CB 1.7.2-R0.2 Jan 06, 2014
Is it your plugin that doesn't want's to read the lore, or?
-
View User Profile
-
Send Message
Posted Jan 11, 2014@Xeroxo135
This was my customItems.yml;
-
View User Profile
-
Send Message
Posted Jan 11, 2014@Supavitax
Nope, tried what you said and when i use those signs they appear ingame. &a&o made it italicgreen but what u said made a purple color and some asking signs. How then? :(
-
View User Profile
-
Send Message
Posted Jan 11, 2014@Xeroxo135
Had a quick look at MythicDrops and the colour codes in that are § instead of &. So if you replace the &a&o with §a§o it will work.