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 use BattleTracker with mySQL database and when i try to run command /bt resetRatings pvp i receive this error:
http://pastebin.com/cxBkjB9x
@drsadistic
I created a github issue. See if my paste matches up with yours. I'm not sure with sqlite there is? I think its because the database has to lock every time new information is written to it and when its locked other signs and whatnot can't query it?
Here's the issue maybe add a paste of your errors to help @alkarinv https://github.com/alkarinv/BattleTracker/issues/20
This is terrible, but I'm glad I'm not the only. If anyone out there can think of a fix, please pass it along.
Anyone having issues with MySQL? I'm fairly certain its my awful host, but when I enable MySQL the server hangs during start-up. No such issue with sqlite. I'd like to get my MySQL server back up to verify that its my host, but wondering if anyone else had an issue.
ALSO, @drsadistic, I am also seeing these errors with sqlite. The database is getting locked by some of the battle plugins for writes I'm assuming and when others want to make writes or queries from it it doesn't let them.. That's my guess. Either way this is a fairly frequent occurrence for me as well.
Hello dev. This plugin looks to have so much potential on my server, its hard to describe, but I seem to be having a small issue. I have killed myself multiple times and in numerous ways, but my pve ratings dont change. The death text is working perfectly. I have a console error that reads:
SEVERE java.lang.UnsatisfiedLinkError: /tmp/sqlite-3.7.2-libsqlitejdbc.so: /tmp/sqlite-3.7.2-libsqlitejdbc.so: failed to map segment from shared object: Operation not permitted
and I'm almost certain this is the issue, I just don't know how to fix it.
Thank you for your time.
Hello, friend!
First off, great plugin. But for people with really long names, the numbers are nonexistant on the signs - there's simply no room.
So I was wondering if you could make it so any signs placed to the left of the BattleTracker sign (to the right of the BT sign if you're facing it and reading it) which would hook into it and make it so that on one sign it shows the name, and on the second sign it shows the numbers.
This way, people with long names don't get messed with so hard.
Or, another alternative is allowing some kind of character (as in letters/numbers) limit for names on the signs, so a situation like 1.AlphanumericX would become 1.Alphanu 2997
With the second example, we can actually see their score because it fits. In this case, their score is 2997, just for example.
Could either of these ideas happen?
Thanks.
UPDATE
I just released an update right now. Should fix the few signs that are now currently not updating. Hopefully it gets approved by bukkit soon. You can find me in IRC if you would like a dev version before then.
Sorry it took so long to get this update out, but hopefully it fixes all :)
@scyzthe
Could you pastebin your config for me? I would like to see so I can make any changes necessary for it to work.
Hey,
I can't get the player death messages to work properly ! Any ideas why?! I just get the normal default death... Blabla has died...
Thanks
they should also extend to signs to the right for longer player names. this is a big problem on my server.
The signs that arent updating, even if I restart the server, are the "Rating" & the "Wins" signs.
What would be even better is allowing us to disable certain stats in the config. I like the plugin, but all i need is kills, deaths, and k/d ratio.
@Beatlynx
I'll add that in. You can already use those names on the signs (if they are working ;( ), so I might as well allow people to change the look as well.
@Juliansaboss
Which of the signs don't update? I've been trying to fix a bunch of them... they are being pains.
Hello, is there any way you can fix the names on the signs? Some names are long but some do get cut off but some dont. How can I fix that? Also my signs don't update, even if I restart the server. Thank you.
Could you allow us to change the names of the stats in the config?
I'd like Wins to be changed to Kills, Losses to Deaths, and W/L Ratio to be K/D Ratio.
@Tony1997112
MobArena has it's own signs. If you are using ArenaPaintball it should already be connected!
Just make a sign with
as the first line with the stat you want.
How can i connect this with PaintBall or MobArena plugin? Cus this plugin is just awesome and i trieing but i cant find out of this problem...i need leaderboards for MobArena end Paintball.
Can someone help me out of this problem pls? :)
@CrowMCLP
It's probably b/c its tracking the teams, and not the players. I need to add in the "individual" scores as an option.
@Puseidr
I do database calls in a separate thread, so you shouldn't be seeing this at all.. I'll take another look though and verify. In the meantime could you try to do profiling to see which methods cause that lag?
@alkarinv
thank you, but i have another problem, when i use SQLOptions: type: mysql and attack a player it takes more than 1 seconds until he gets dmg, on sqlite the dmg comes without a delay
@alkarinv Im having problems with CTF. I set up a CTF wins sign and all players are 0. I checked the sql and the same. Seems that it is not tracking the CTF wins.