BattleTracker (Abandoned)
PvP Death messages
Customizable death messages for PvP deaths.
Allows use of Herochat channels for messages.
Records
Records stats for PvP and PvE kills
Stats include, wins,losses,ties, streak, maxstreak, ranking, maxranking
Examples:
- /pvp
- /pvp top [x] : show the top x highest rated players
- /pvp vs [x records] : shows the last x records vs another player
- /pvp vs [x records]: shows the records between player1 and player2
Leaderboard Signs
You can make leaderboard signs for PvP, PvE, or any other plugin that uses BattleTracker as a backend (like BattleArena). These signs will update every minute.
To make them, you make a sign where the first line is [ database name ] where database name is PvP,PvE, or if you have BattleArena, any of the databases from the configs, like Arena, Spleef.
The second line is what type of data will be shown. Examples: Rating, Wins,Kills,Losses,Deaths, Streak,MaxStreak,KDRatio,WLRatio,MaxRating
[PvP] Rating
Once that is done, the sign is complete and it will automatically convert signs above or below it into Top Signs, (though it won't convert signs that start with the character '[').
Picture:
Video Tutorial
Personal Stats
Clicking on a leaderboard sign will show you your personal stats. A big thanks to MCForger for the code to do this.
Developers
Has an api for storing your own stats. Allows you to make top lists, give elo to different events, etc.
Information Collection
To see what statistics this plugin may collect and send out from your server. See Information Collection. This can be disabled in BattlePluginsAPI/config.yml
Updating
This plugin checks for new bukkit release versions which can be disabled in the BattleTracker/config.yml
Help
You can ask me questions in real time on irc when I'm on. You can usually find me in the room battleplugins in irc.esper.net. IRC through a browser
I can only make the signs if I'm op, but I'd like my staff to have permission to post the signs in arena builds they are doing.
If they are not op, they get "You don't have perms to create top signs"
http://puu.sh/4XJPh.png
Any ideas?
Is there a way to change the way signs are updated? For instance, how do you change it to only update signs BELOW and not above? I know that I can use a "[" to keep it from updating, but wanted to know if there was a setting to turn it off.
@TheFrecyboy
It works just fine for me on 1.6.4.
Please Update on 1.6.4
I am having a problem enabling the plugin after the 1.6.4 update. Please read this paste from my log from bottom to top.
29.09 13:32:09 [Server] INFO at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) 29.09 13:32:09 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:399) 29.09 13:32:09 [Server] INFO at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:165) 29.09 13:32:09 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.a(MinecraftServer.java:258) 29.09 13:32:09 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.f(MinecraftServer.java:298) 29.09 13:32:09 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.l(MinecraftServer.java:321) 29.09 13:32:09 [Server] INFO at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:268) 29.09 13:32:09 [Server] INFO at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:286) 29.09 13:32:09 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382) 29.09 13:32:09 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) 29.09 13:32:09 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 29.09 13:32:09 [Server] INFO at mc.alk.tracker.Tracker.onEnable(Tracker.java:47) 29.09 13:32:09 [Server] INFO at mc.alk.tracker.listeners.BTEntityListener.<init>(BTEntityListener.java:60) 29.09 13:32:09 [Server] INFO at mc.alk.tracker.Tracker.getInterface(Tracker.java:145) 29.09 13:32:09 [Server] INFO at mc.alk.tracker.controllers.TrackerImpl.<init>(TrackerImpl.java:62) 29.09 13:32:09 [Server] INFO at mc.alk.tracker.controllers.TrackerImpl.initDB(TrackerImpl.java:84) 29.09 13:32:09 [Server] INFO at mc.alk.v1r7.serializers.SQLSerializerConfig.configureSQL(SQLSerializerConfig.java:13) 29.09 13:32:09 [Server] INFO java.lang.NullPointerException 29.09 13:32:09 [Server] SEVERE Error occurred while enabling BattleTracker v2.5.7.1 (Is it up to date?)
Feature Request
- Per Arena stats, In my games world, i have lots of maps, each with leaderboards outside, it'd be cool if i could show stats for just that arena on there as well as global stats.
- Signs not only alter down but accross... My leaderboards are 5x3 (WxH) and it'd be good if i could use the whole board to display "KDRatio" for example, rather than only the 3 high
- On signs, always cut names to maximum size, then add relevant whitespace to even out the number at the end, this is possible to line them exact as i've done it with a past plugin.
I attempted to look at your code, but found myself pretty confused, a very different coding style to how i do things, but i may still be able to help with some of the above features after some explanations on where certain stuff is.
Love your plugins - great work. I'm having issues with the scores. It keeps adding losses when I win and drops my ranks lower when it should be getting higher. (in ctf)
So I did further testing and what is causing the loss count to go up is dying in the ctf match. If we win a point is added, but for every death in the match the loss count is increasing.
Test data: 1V1 matches: the win count increases by one (for winning) + how many people you killed and loss count increases by how many times you died 2V2 matches: the win count will not increase by winning - it only increases by the number of people you killed and loss count increases by how many times you died
Is it supposed to work like that?
Uh for the the [Spleef] [Paintball] [CTF] etc... The signs always say Updating. I have tried breaking it and redoing it and everything. Please help! Thx :)
I didn't see anything for this so I guess this would be a requested feature, but Im having an issue with people "farming" ratings and kill streaks by killing the same player over and over. I'm wondering if you can add a check that will only count towards a score if its not the player you just killed.
@serfma
Gah, I just realized this. It's an extra apostrophe in the messages.yml. It should be
I'm uploading a new version now.
Plugin is broke for me. v2.5.6.2.
In messages.yml at line 150 you want to remove the comma, ' , or else it borks the custom death messages part of the plugin. :)
@Prominentc
Latest updates have it, and the accidental debugging messages are gone as soon as bukkit approves the newest version.
@Plyskeen
It's been a while since I used the Herochat function. It might not be active right now, I'll check it out.
@DerekZil
What do you mean "Arena" features. Honestly BattleTracker is more like a database backend. BattleArena uses it, but can be turned off by setting rated: false.
Is there a way to disable the Arena feature but keep all the PvP features?
Seems that the "useHeroChat" option doesnt work.
What about you guys ?
It works well in BattleArerna but not in BattleTracker for the death messages.
I'm getting an empty config when adding this. And none of the commands work.
Seems broken.
I posted this about half a year ago but can we have weapon names displayed properly for example "Slayed with a Diamond Sword" and not "Slayed with a diamond_sword"?
Also can you add the item name to Bows so if I rename a bow "Machine Gun" it will say "Shoot poor {name} to death with a "Machine Gun"?
@emiraati
I'm getting the same lack of kill/death messages.
2.5.5.1 work with 1.5.2?
Is there any way to reset the stats monthly without deleting data?