Spigot MCStatTrak 1.0

A plugin that counts the amount of kills with an item, like StatTrak in CS:GO or Strange in TF2

  1. Dan_Overflow submitted a new resource:

    MCStatTrak - A plugin that counts the amount of kills with an item, like StatTrak in CS:GO or Strange in TF2

    Read more about this resource...
     
  2. Is it possible to combine a StatTrak weapon with a non-StatTrak weapon in an anvil in order to combine the enchants but keep the StatTrak? If not, could that be a feature? Also, can you add this for the Pickaxe, Shovel and Axe too? To count mined blocks?
     
    #2 PotatoTears, Jul 2, 2015
    Last edited: Jul 2, 2015
  3. Hmm I haven't tried... I'll try it out and add it to the plugin if it doesn't work. I'll add it to the other items too to make it count mined blocks.
     
    • Like Like x 1
  4. Error:
    Could not pass event PlayerDeathEvent to MCStatTrak v1.0
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:509) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:494) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:397) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.EntityPlayer.die(EntityPlayer.java:386) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.EntityLiving.damageEntity(EntityLiving.java:745) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.EntityHuman.damageEntity(EntityHuman.java:765) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.EntityPlayer.damageEntity(EntityPlayer.java:465) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.EntityHuman.attack(EntityHuman.java:950) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:1204) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:37) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.PacketPlayInUseEntity.handle(PacketPlayInUseEntity.java:49) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at java.util.ArrayList.rangeCheck(ArrayList.java:635) ~[?:1.7.0_79]
    at java.util.ArrayList.get(ArrayList.java:411) ~[?:1.7.0_79]
    at com.danoverflow.mcstattrak.StatHelper.isStatEnabled(StatHelper.java:119) ~[?:?]
    at com.danoverflow.mcstattrak.StatListener.onPlayerKill(StatListener.java:43) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    ... 19 more
     
  5. Hi i love this plugin works how its supposed to no errors smooth lightweight and just good over all my only request is that you add a way to have stattrak like... auto work. so on my factions server i have a auction plugin. can you make it so we can sell the ST and have it auto work. or so that you can spawn a sword and you cant just type /ST Enable for it to work... i hope this makes sense! :p

    EDIT: I just found out this works.... so NVM great plugin!! 5 stars
     
    #5 wantsmack, Aug 29, 2015
    Last edited: Aug 29, 2015
  6. Does this work with 1.8 ?
     
  7. You should add so you dont lose the stattrat on death and it makes and explosion when enable the stattrak... also it doesn't lose durability and under kills:0 you should have Owner:[playername]
     
  8. This does not allow traking on an axe, care to explain why its not working on enabled items?
     
  9. dub

    dub

    Please update I would love to use this plugin again! currently it's generating some errors and the axes/bows do not work even though they are on the enabled list, thanks!