killStats
killStats
killStats v3.0 is in development stages
Version 3.0 is UUID aware. Unfortunately with the implementation of UUID support and the complexity of making it possible I was unable to save all of the data that has already been created with this plugin. All data is now handled via SQLite or MySQL instead of flat file. Because of this combined with the UUID update it would cause too much lag etc to try and migrate all player data to the new format especially for larger servers. I'm very sorry if this causes a problem.
Please be aware of this before you put this plugin into your server, if your not ready to delete all player data.
killStats 3.0 is a complete rebuild of killStats where I have optimized code for better performance and added alot more features.
I have done the best I can with testing this on my home server by myself. There are going to be bugs and I will be doing my best to get these bugs and errors fixed as soon as I can. Please bare with me as this process takes place.
Please report and errors you find so I can get them fixed.
Thanks
Description
Features:
- PVP based statistics.
- Keep track of a players kills, deaths, killstreak, and kill/death ratio!
- Ability to drop a players head upon death.
- Full mySQL support.
- Show top players on leaderboard signs.
- Reward players for reaching killstreaks.
- You choose what streak the receive the item on, and what to give the player.
- You can also execute a command upon a streak to award the player XP or maybe a group rank. All commands are run as OP.
- Broadcast messages when a player reaches a certain killstreak or when a player's killstreak is broken.
- You can choose what killstreak to broadcast on and what to say!
- Anti-Boost
- A player can only kill another player X amount of times per X number of minutes.
- This cuts down on players boosting from their friends to get higher k/d and reward items.
- Multi-World Support
- Each world can have its own set of statistics.
- Any world that is not in the 'seperate world' list will all have the same stats
- Disable Certain Worlds
- You can disable certain worlds from keeping up with any type of stats or streaks etc.
- Maybe you have a hunger games world but don't want your players killStats to be ruined because of HG. This works great!
- Included is a lang.yml that can be used to translate all messages inside killStats to any language you need.
- Players can choose to show stats in chat or scoreboard
- The entire configuration has changed. The plugin will automatically update this for you. All your settings will be set to default, but your old config can be found in the folder "old_data_files" and you can change what you need to manually.
Extra
View a the list of commands associated with this plugin
Learn how to make leaderboard signs.
View a list of the permissions associated with this plugin
View a list of replacement varisables associated with this plugin
@ImDeJay
Thanks for doing this for me. I think the reason I couldn't look at it is because the programs I am attempting to use don't work on linux, as when I used it in windows, it seemed to work. Thanks again for fixing this. It's saving me a lot of trouble.
@bugattikid2012
I havnt released the source to this plugin so there is a way to change stuff like that.
But i plan on changing a few things tonight, because there are a few bugs that have been brought to my attention, and i will add that feature for you.
@Yoyuyi999
@alanthya
I have been brought aware of this, but I havnt had time to dip into the code to fix it, I will have time to do this tonight, and hopefully have a new version posted tomorrow.
I'm attempting to learn some java coding and junk. I was attempting to take your plugin to look at the codes to learn a bit about it, but I can't figure out how to open the file in eclipse. One thing I really wanted to do was make this plugin use the <victim> work on the killstreak commands. In other words, I want to have this plugin say who killed you when you die, and tell you who you killed when you kill someone. I want to disable deathmessages in essentials, so my players don't get spammed by junk, but still be able to see who they killed/who killed them. If someone can tell me how to look at the coding in this plugin, I may be able to do this on my own. Thanks.
http://pastie.org/8133155 That happens when a player is killed by natural stuff like falling...
This happens sometimes when a player is killed by a mob.
http://pastie.org/8121443
Would be AWESOME if you could view the kills of offline users in-game.
This plugin is great!!! One problem though, the commands aren't working :/. Because of this, I'm having to use two plugins to do the job of one. Could you help me out on the commands and send me a message at REDACTED? I am trying to run my server off of minimal recourses, and using two to do the job of one isn't helping. What I'm trying to do is every kill give the player 10 dollars with essentials money. I have the command: /eco give <player> 10 and it does nothing. I have it in the correct yml format, and everything else. The default commands don't even work! It doesn't even send anything to console, so I believe that the problem is in the plugin, and not on my side. I need help asap! Someone please help!
Is that it would be possible to save the data to a mysql database?
always when someone die from fall dmg or something like that it type in the console: [SEVERE] Could not pass event PlayerDeathEvent to killStats v1.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callPlayerDeat hEvent(CraftEventFactory.java:340) at net.minecraft.server.v1_5_R3.EntityPlayer.die(EntityPlayer.java:293) at net.minecraft.server.v1_5_R3.EntityLiving.damageEntity(EntityLiving.j ava:750) at net.minecraft.server.v1_5_R3.EntityHuman.damageEntity(EntityHuman.jav a:684) at net.minecraft.server.v1_5_R3.EntityPlayer.damageEntity(EntityPlayer.j ava:358) at net.minecraft.server.v1_5_R3.EntityLiving.a(EntityLiving.java:978) at net.minecraft.server.v1_5_R3.EntityHuman.a(EntityHuman.java:1295) at net.minecraft.server.v1_5_R3.Entity.a(Entity.java:772) at net.minecraft.server.v1_5_R3.EntityLiving.a(EntityLiving.java:243) at net.minecraft.server.v1_5_R3.EntityPlayer.b(EntityPlayer.java:463) at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java :424) at net.minecraft.server.v1_5_R3.Packet10Flying.handle(SourceFile:136) at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292 ) at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java :109) at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:3 0) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:5 81) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:2 26) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:4 77) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java :410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:5 73) Caused by: java.lang.NullPointerException at com.gmail.dejayyy.killStats.Main.playerDeath(Main.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) ... 24 more This plugin is really awesome, if you can fix that, and add money support for the killstreak reward without a command, it will be great, like: Rewards:
5: 1: givemoney:5
will give money when someone get 5 killstreak
I love this plugin, but could you please make it possible to disable broadcasting in worlds not using the plugin actively? Like me; I use this for our KITPVP world, but the people in the normal world still gets "spammed" by messages.
Is that you could add a command to deny access to certain player ranking? (example: / ks ban "nickname" and / ks unban "nickname")
And also display the ranking in the chat before the nicknames of the players when they write? (Example: [Ks 2] [Squall28600]: I am the second)
And to the possibility of change in the file config.yml
thank you
Squall28600
For those of you waiting for an update for this plugin, I have started working on it this morning, I will try to have it done by sometime tomorrow.
Adding multi-world support, optimizing some code for better performance and handling and fixing some small bugs etc.
@ImDeJay
Awesome! Thanks for that. The server I'm staff on has a COD map and also a PvP map, but I would like to use this plugin just for COD. That's why I was asking. Btw, not sure how hard this is because I have no experience with plugin making, but would it be possible when you do multi-world support to have it so it only broadcasts the killstreak and stuff to the world that it happened in? So for example on the CoD map on the server im staff on, it wouldn't broadcast killstreaks to people on the PvP map? If thats not possible, I can just turn off the message. Thanks!
Seems to be a nice little plugin. so far it is working without any errors.
@Clmcd42
I havnt really thought about it, but if its something that the users want, i will add multi-world support.
This will give me something to do the next couple of days, ill try to have this in an update sometime this week
@PvPServers
This plugin already has both of those features
Add Kill Streak Rewards, and broadcasting per Kill Streak achievement, such as 3,6,10,15,20 etc and I'll use this.
I do need this!
Are you thinking about adding Multi-World support anytime soon?
@friedbagel1
What feature of the plugin is no longer working?
Update for 1.5.2 please :)