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
@Menoxen
The only thing that i've added that could possibly cause lag would be mcStats.
Go into the folder PluginMetrics and open config.yml, and put opt-out: true
If this fixes the problem, please let me know, it means i need to look into the mcStats portion of the plugin. If that does not fix the problem, I need to dig deeper into the plugin and try to find out why this could be happening
So try that and let me know how it turns out.
The plugin is causig the server to lag really much, I don't know why. The analyzing function on my server pointed out the plugin, and when disabling it the server stopped lagging. This has not been a problem in earlier versions. What's now?
When i try /ks top ratio it says instance 2 and everyone has 0,0. Everyone has 0 killstreak.
Why does this happen?
@therennon
to do it for each player killed your better off getting a plugin that gives money to players everytime they kill someone, because this plugin will give them money on their killstreaks, and if you put 500 killstreaks an increments of 1, it would be a shitload of rewards in the config
Check this thread, i made a plugin for this
http://forums.bukkit.org/threads/kill-a-player-receive-money-economy-support.118804/#post-1486980
This is functional? I want the players to win $ 1,000 for each player killed.
Rewards: 1: 1: command;/eco give <player> 1000
@ImDeJay
Okay, got it. thanks chief!
@nandox5
as said in the config
so Bob can only kill Bill 3 times within 5 minutes and the kills count, if they do it more than that, they are flagged.
What exactly are you wanting to do?
Is there a permission to deny startover? I dont want my players to be resetting their pvp on their own everytime they get owned..
Also, can you add an option to have the scoreboard always on? and an option to choose how long the antiboost should last? for example, i want to make it last 120 seconds.... (by the way whats the default time?)
thanks!
@czakeron
if you want to do something like that, just delete the entire players.yml file. But as I am already updating the plugin, I will add this feature, I'll just have to implement some more permission nodes so it doesn't get abused.
Look for it in the next release.
I would be nice to have /ks reset all to clear whole server. Great plugin thanks!
@NodexServers
Thanks for the suggestion, I am currently in the process of adding this now, it may take me a couple of days to get it done, but it is in progress.
Great plugin. Please consider SQL server support so those with mutliple pvp servers can keep records across all.
I get this error when someone dies.
[SEVERE] Could not pass event PlayerDeathEvent to killStats v1.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:361) at net.minecraft.server.v1_6_R3.EntityPlayer.die(EntityPlayer.java:328) at net.minecraft.server.v1_6_R3.EntityLiving.damageEntity(EntityLiving.java:717) at net.minecraft.server.v1_6_R3.EntityHuman.damageEntity(EntityHuman.java:720) at net.minecraft.server.v1_6_R3.EntityPlayer.damageEntity(EntityPlayer.java:399) at net.minecraft.server.v1_6_R3.EntityArrow.l_(EntityArrow.java:229) at net.minecraft.server.v1_6_R3.World.entityJoinedWorld(World.java:1492) at net.minecraft.server.v1_6_R3.World.playerJoinedWorld(World.java:1467) at net.minecraft.server.v1_6_R3.World.tickEntities(World.java:1336) at net.minecraft.server.v1_6_R3.WorldServer.tickEntities(WorldServer.java:517) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:583) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:493) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) 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.java:425) ... 19 more
It works now, thanks.
@StateBound
It would be very easy to do this with some simple scripting/coding. I'm sure you can find someone out there to do it for you free of charge.
Giving ranks as a console command on certain number of killstreaks doesn't work for me. Please help!
HI!
I love this plugin, but need immediate assistance. Please add grant.goldstein on skype or reply very specifically on here. How can I make it so when a player gets x # of kills, they get a new title? And what if the title doesn't show in chat.
i would love to see scoreboard being added to this plugin!
Feature Request: Resetting Stats for own self? Like /ks reset
Loove it :D