PVPStats
The Plugin
NO LONGER BEING ACTIVELY DEVELOPED. THE PLUGIN IS WORKING, BUT DO NOT EXPECT NEW FEATURES. SORRY FOR THE INCONVENIENCE.
FEATURES:
- Logs all player deaths in a MySQL database.
- Saves in an easily readable format for simple display on a website: [Victim] [Killer] ([Item If Applicable])
- Records both PVP and PVE.
COMPATIBILITY:
- Compatible with craftbukkit versions 1.3.2+
- This plugin will not be broken with every craftbukkit release - It will survive through any foreseeable update!
COMMANDS:
- /pvpstats or /ps as a prefix for all commands or alone to display help.
- /pvpstats reload
- /pvpstats disable
PERMISSIONS:
- No permissions - Reloading and disabling available to ops only.
MySQL and WEBSITE:
- This plugin is intended as merely a way to log player deaths. By itself, it does not display the information it saves. In order for you to use this plugin to its full potential, you need a display table on your website. Here's an example of how the plugin stores data:
- Table: PVPStats - 3 columns (killer_name, victim_name, killed_with)
- This table stores all player-vs-player activity.
- Table: PVEStats - 2 columns (killer_name, victim_name)
- This table stores all player-vs-environment activity such as deaths to mobs, gravity, cacti, etc.
- Currently, I need someone to develop a PHP script to display the data from this plugin on a website.
DONATIONS:
- Although it's by no means required, donations are very much appreciated. Finding the time to work on plugins is no easy feat. If you find PVPStats useful, a dollar or two is a great way to show your appreciation. A link to donate can be found at the top right corner of this page.
guys just use this: http://dev.bukkit.org/bukkit-plugins/pvp-stats/
PVPStats 1.1 works on CraftBukkit 1.6.2-R0.1 (Build 2838) with Java 1.7.0_25 (64-bit) on Ubuntu Server 12.04.2 LTS (64-bit) connected to a MySQL 5.5.32 database.
Thanks for creating and sharing this plugin with us. Works like a champ!
@TeeePeee @DanielYRH Is there any chance you still have the source code available and could share with us?
Thanks,
LHammonds
I can help you with PHP script
@AlbertMarty
NO LONGER BEING ACTIVELY DEVELOPED. THE PLUGIN IS WORKING, BUT DO NOT EXPECT NEW FEATURES. SORRY FOR THE INCONVENIENCE.
LOL
Hey, I dont understand how to put the stats on a website. Could you help me?
i get this error:
00:23:24 [SEVERE] Could not pass event PlayerDeathEvent to pvpstats v0.2.0.0 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.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:335) at net.minecraft.server.v1_5_R2.EntityPlayer.die(EntityPlayer.java:285) at net.minecraft.server.v1_5_R2.EntityLiving.damageEntity(EntityLiving.java:766) at net.minecraft.server.v1_5_R2.EntityHuman.damageEntity(EntityHuman.java:683) at net.minecraft.server.v1_5_R2.EntityPlayer.damageEntity(EntityPlayer.java:350) at net.minecraft.server.v1_5_R2.EntityHuman.attack(EntityHuman.java:854) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:1102) at net.minecraft.server.v1_5_R2.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:578) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NullPointerException at praxis.slipcor.pvpstats.PSMySQL.incKill(PSMySQL.java:67) at praxis.slipcor.pvpstats.PSListener.onPlayerDeath(PSListener.java:59) at sun.reflect.GeneratedMethodAccessor400.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
Sorry, this is only a very utilitarian and lightweight plugin. If I had more time, I would for sure develop this plugin. I only barely make time to program at all with school and such.
Anyone has my permission to decompile and update this to their liking.
Anyway to make it have the information on signs? So you can have like a PvP leaderboard?
Can u add more futures like this plugin ?
coordinates for killed player ?
http://dev.bukkit.org/server-mods/murderslist/
i use this plugin before be abandoned .....
Hi Daniel,
Thanks for your work! I'll go ahead and add you as an author of this plugin, check out your updated version and submit the new file. I've been very busy as of late and I really appreciate the help.
Hi TeeePeee,
Awesome plugin! Love it! Using it to create our websites leader-boards.
Was not sure when you were going to have time to update it, so i went ahead and decompiled your source, and performed some updates/upgrades.
Well here it is http://dl.dropbox.com/u/53795038/PVPStats-1.1-SNAPSHOT.jar
If you would like the source of the updates, I'd be happy to send it to you.
Thanks for all the hard work on such an amazing plugin! :)
/DanielRH
Thanks for the feedback. I've been really busy with other projects and schoolwork but when I get a chance, I'll be sure to update and fix this plugin!
Tried out your plugin, and it works with 1.4.6/7 just so you know, but the one thing I noticed, if the plug-in/server gets reloaded, it starts adding extra entries to the database. 1 duplicate entry per reload. So if the plug-in is reloaded 5 times, you'll see an death entered 6 times into the database.
Hey, great plugin!
I have a couple of feature requests, perhaps adding timestamps as well as world/coordinates, from an administrators point of view this would be very useful for my server to solve player disputes. (Players killing other players with fire/lava in a no-pvp-area)
Perhaps a /pvpstats latest command to see the most recent deaths?
Finally, perhaps adding death messages? I'd like to see my moderators being able to see them, but not regular players, so perhaps a permission node for that as well?
Thank you for considering my suggestions! :-)
Andy
Glad you guys are interested. Download is on the way.
Great idea.
i am waiting