MC-Kill-Count-Bukkit
Intro
This is the server side for a bukkit plugin for the kill count mod.
It uses the scoreboard system for displaying kills and deaths!
NOTE: REQUIRES THE SCOREBOARD API PLUGIN!
Explanation
To use this plugin, you need to drop it in your plugins folder.
When you start up the server, you should notice that there is an error that there is no kills.bin and deaths.bin, this is normal on the first run.
That's all, you are done!.
If you would like to clear your kills and deaths, just type /kdclear
Pikturez

-
View User Profile
-
Send Message
Posted Apr 3, 2013@beastlike56
There's nothing in the code to do that and I do not seem to have the problem on my server. are you getting any errors?
-
View User Profile
-
Send Message
Posted Apr 3, 2013@hunterboerner
Players get kicked from my server when they kill/get killed
-
View User Profile
-
Send Message
Posted Apr 2, 2013@beastlike56
That is a normal error it does not break anything. However i am going to add a feature that pretends the deaths are 1 if they are actually zero so you can always have a score.
-
View User Profile
-
Send Message
Posted Apr 2, 201311:37:25 CONSOLE: [SEVERE] Could not pass event PlayerJoinEvent to Kill Count v1.9 11:37:25 CONSOLE: java.lang.ArithmeticException: / by zero
-
View User Profile
-
Send Message
Posted Mar 31, 2013@gccruz
I have fixed that but the later builds had to be approved.
-
View User Profile
-
Send Message
Posted Mar 30, 2013Had this error. I have updated to the latest version of ur plugin, but it still spams on every death. Also reads that it is v1.0 when it should be 1.5
[SEVERE] Could not pass event PlayerDeathEvent to Kill Count v1.0 02:51:25 org.bukkit.event.EventException 02:51:25 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 02:51:25 at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 02:51:25 at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 02:51:25 at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 02:51:25 at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:335) 02:51:25 at net.minecraft.server.v1_5_R2.EntityPlayer.die(EntityPlayer.java:285) 02:51:25 at net.minecraft.server.v1_5_R2.EntityLiving.damageEntity(EntityLiving.java:766) 02:51:25 at net.minecraft.server.v1_5_R2.EntityHuman.damageEntity(EntityHuman.java:683) 02:51:25 at net.minecraft.server.v1_5_R2.EntityPlayer.damageEntity(EntityPlayer.java:350) 02:51:25 at net.minecraft.server.v1_5_R2.EntityLiving.a(EntityLiving.java:988) 02:51:25 at net.minecraft.server.v1_5_R2.EntityHuman.a(EntityHuman.java:1275) 02:51:25 at net.minecraft.server.v1_5_R2.Entity.a(Entity.java:779) 02:51:25 at net.minecraft.server.v1_5_R2.EntityLiving.a(EntityLiving.java:243) 02:51:25 at net.minecraft.server.v1_5_R2.EntityPlayer.b(EntityPlayer.java:455) 02:51:25 at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:425) 02:51:25 at net.minecraft.server.v1_5_R2.Packet10Flying.handle(SourceFile:136) 02:51:25 at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) 02:51:25 at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) 02:51:25 at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) 02:51:25 at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) 02:51:25 at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:578) 02:51:25 at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 02:51:25 at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) 02:51:25 at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) 02:51:25 at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 02:51:25 Caused by: java.lang.NullPointerException 02:51:25 at me.hunterboerner.killCount.main.onPlayerDeath(main.java:75) 02:51:25 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 02:51:25 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 02:51:25 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 02:51:25 at java.lang.reflect.Method.invoke(Method.java:601) 02:51:25 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 02:51:25 ... 24 more
-
View User Profile
-
Send Message
Posted Mar 29, 2013@xLeonHDx
Fixed in latest release
-
View User Profile
-
Send Message
Posted Mar 29, 2013@xLeonHDx
Yes i have noticed that, the kdclear does not send new data to the client currently so it doesnt update. I can fix this soon. Also, i will have to change it because the kills and deaths are a global scoreboard system so i will make it a list of all players and their k/d ratio so at least you can see "both" scores instead of just kills or deaths, this is due to the scoreboard not being able to have a different one for each player.
-
View User Profile
-
Send Message
Posted Mar 29, 2013Very Nice Plugin. The Kill Counter works perfectly! But the /kdclear doesnt work for me?!
-
View User Profile
-
Send Message
Posted Mar 27, 2013@zeshan321
I think that is a good idea, I'm probably going to make a sidebar scoreboard call KillCount with two kills and deaths as the "players".
-
View User Profile
-
Send Message
Posted Mar 23, 2013Use 1.5 scoreboard