Item Lore Stats

Logo

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.

This has only been tested on v1.6.4, v1.7.2, v1.7.9 and v1.8.1 (May work on other versions but those are untested).

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. It is currently v5.25 and was designed for Minecraft V1.6.4, V1.7.2, V1.7.9 and V1.8.1. 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.

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 - Will show a list of available commands.
  • /ils version - Will show the version of Item Lore Stats that's running.
  • /ils stats - Will display the total stats of of your armour and item in your hand.
  • /ils createlore - Creates a set of gear with lore to test the plugin.
  • /ils reload - Reloads the config.yml.
  • /ils repair - Repairs the item in hand (Requires op or ils.admin).
  • /ils sell - This will sell the item in your hand for the price listed in the tooltip of the item.
  • /ils name <text> - Sets the name of the item currently in your 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.
  • /ils lore <player_name> <line#> <text> - Adds or sets the lore line to the item currently in the players hand. If you don't include a <player_name> it will apply it to your own item in your hand. <player_name> must be online.
  • /ils give <player_name> <item_name> - This will generate a weapon 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 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. 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 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 be exactly how they are below, except <VALUE> is the amount/name you wish to add. The text can contain any colour.The lore it can read as stats are;

Damage: +<MIN_VALUE>-<MAX_VALUE>
Armour: + or -<VALUE>%
Dodge: + or -<VALUE>%
Block: + or -<VALUE>%
Crit Chance: + or -<VALUE>%
Crit Damage: + or -<VALUE>%
Health: +<VALUE>
Health Regen: + or -<VALUE>%
Life Steal: + or -<VALUE>%
Ignition: + or -<VALUE>%
Reflect: + or -<VALUE>%
Slow: + or -<VALUE>%
Poison: + or -<VALUE>%
Wither: + or -<VALUE>%
Harming: + or -<VALUE>%
Blind: + or -<VALUE>%
Speed: + or -<VALUE>%
XP Bonus: + or -<VALUE>%
PvE Dmg Modifier: + or -<VALUE>
PvP Dmg Modifier: + or -<VALUE>
Level: <VALUE>
Class: <VALUE> (Requires permission ils.use.<VALUE>)
Bound to <VALUE>
Weapon Speed: <Very Slow, Slow, Normal, Fast, Very Fast>
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

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 remove the "+X attack damage" from swords.

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.

stats

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.

https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Supavitax Supavitax Jul 07, 2015 at 13:08 UTC - 0 likes

    @samueli5750: Go

    I've just tested this and it's working as intended. Have you tried resetting the config?

  • Avatar of Supavitax Supavitax Jul 07, 2015 at 10:35 UTC - 0 likes

    @yyeerai: Go & @Florinmohican: Go

    Fixed in the next update.

    @samueli5750: Go

    Which server version are you using? I haven't touched damage or durability in a while so it might be caused by a newer version but I'll have a quick look at it.

  • Avatar of hsndmrts hsndmrts Jul 07, 2015 at 08:20 UTC - 0 likes

    @Florinmohican: Go

    yes it is :/

  • Avatar of Florinmohican Florinmohican Jul 07, 2015 at 08:10 UTC - 0 likes

    other bug : if you try to combine 2 item like an 2 bow, new crafted bow, apper on box but disappear imediatly + console error: http://pastebin.com/0EBq41wE

    Last edited Jul 07, 2015 by Florinmohican

    ZBDH2362ca7aa2c914e08e6fa8efd085f5d9

  • Avatar of hsndmrts hsndmrts Jul 07, 2015 at 05:49 UTC - 0 likes

    @ketchupcoke: Go

    yea use hastebin.com

  • Avatar of samueli5750 samueli5750 Jul 07, 2015 at 02:43 UTC - 0 likes

    Huge Bug : if the tool has durability II III then the durability function will not reduce the value... if you give the tool with durability: 100/100 to the player then the player use enchanted book to add the durability II III to the those tool that mean they not need repair it forever. it is a bug ?

    durability I work fine. durability II III .... and so on broken

    Last edited Jul 07, 2015 by samueli5750
  • Avatar of ketchupcoke ketchupcoke Jul 07, 2015 at 00:53 UTC - 1 like

    @yyeerai: Go

    Please don't post huge console logs in the comments.. Instead upload it to a site like pastebin and send a link :)

  • Avatar of yyeerai yyeerai Jul 07, 2015 at 00:16 UTC - 0 likes

    1or2

    This error occurred

    [14:46:11] [Server thread/ERROR]: Could not pass event PrepareItemCraftEvent to ItemLoreStats v5.25 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at org.bukkit.craftbukkit.v1_8_R2.event.CraftEventFactory.callPreCraftEvent(CraftEventFactory.java:730) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.CraftingManager.craft(CraftingManager.java:298) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.ContainerPlayer.a(ContainerPlayer.java:67) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.InventoryCrafting.setItem(InventoryCrafting.java:129) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.Slot.set(Slot.java:55) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.Container.clickItem(Container.java:285) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:1625) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.PacketPlayInWindowClick.a(SourceFile:31) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.PacketPlayInWindowClick.a(SourceFile:9) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_45] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_45] at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:712) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] at java.lang.Thread.run(Unknown Source) [?:1.8.0_45] Caused by: java.lang.NullPointerException at com.github.supavitax.itemlorestats.Crafting.AddedStats.addStatsToCraftedItem(AddedStats.java:108) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.8.0_45] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.8.0_45] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [spigot-1.8.3-R0.1-SNAPSHOT.jar:git-Spigot-870264a-0a645a2] ... 21 more

  • Avatar of hsndmrts hsndmrts Jul 06, 2015 at 23:40 UTC - 0 likes

    i try to find bug :)

  • Avatar of hsndmrts hsndmrts Jul 06, 2015 at 22:32 UTC - 0 likes

    i love it!

Facts

Date created
Oct 26, 2013
Categories
Last update
Jul 06, 2015
Development stage
Release
License
All Rights Reserved
Curse link
Item Lore Stats
Downloads
36,683
Recent files

Authors