PvpLevels
PvpLevels
requested by Matthiasvd2
This is a plugin to bring more intresting pvp'in in to Minecraft, by creating custom pvp levels
Features
- add custom levels to minecraft
- custom chat format changes
- incrasing needed kills for levels
- Reward players for pvp'ing
- Let players view their Kill death ratio
- MySQL support
- SQLite support
- Advanced api
Level system
max-level: 100 # Defines how much xtra kills you need for each level # In this example we take 4 as default kills and 1.0 as increment # lvl 1 = (4 * 1) + (1.0 * 0) = 4 kills. # lvl 10 = (4 * 10) + (1.0 * 10) = 50 kills. increment-value: 1.0 # Defines how much you allways need to level up (+ increment * lvl) default-kills: 4 # Defines how much a player can attack the same player as before. # Example: for value 3 --> after killing Notch 3 times it ignores killing notch kill-session: 3
Example chat setup
this is optional, if you dont do this it will auto grab in!
PvpLevels replaces a custom string in the chat format with the players lvl, this requires a chat plugin, a.k.a EssentialsChat.
if you dont have a chat plugin or you dont know how to set this up it will auto grab your chat and do this
example format:
format: '[&aLvl [LEVEL]&f] %prefix %player&f: %message'
will result in:
[Lvl 6] [Owner] lenis0012: hi.
You can also use [KDR] in your chat format.
Video
Todo
add auto grabber for chatadd /lvl add/set/remove <player> <amount>add permissionsadd TagAPI support.The new scoreboard API from BKCommonLib is much better :P
Commands
[optional] - <required>
- /kdr [player] - Show a player's Kill Death Ratio
- /level add/set/remove <amount> - Add/set/remove levels from a player.
Permissions
- pvp.kdr.self - View your own KDR
- pvp.kdr.orther - View orther player's KDR
- pvplevels.change - Change level from a player
Developpers
Download
v1.2.1 - Download (1.7.2-R0.2)
You should make it hook into McMMO for total level ;)
NoLagg examine test running PvpLevels v0.2.3 w/ MySQL.
2.33ms response time. :D
death event takes 2.22ms.
can eb higher if you have over 5000 players, i tested with 4500 players (offline players :P)
@joshskywalker123
if you have a chat plugin you can fully customize the chat
im adding KDR and Deaths soon, so stay tuned
you should add the config to change the color, and look of the in chat look! i really like how this plugin is looking and that would make it even better!
@SupremeJayjay
its called a Auto-Grabber, when your chat does format does not contain {Lvl} it automaticly puts it in.
@Swords761
yea it broke wiht MySQL, ill give you a dev build from 0.2.3 with MySQL support
download: https://dl.dropbox.com/u/67122021/dev-builds/PvpLevels_Dev%200.2.3.jar
Hey lenis, do you have this working for Herochat? That's the chat plugin we use and when I last tested this out (possibly using 0.2.1 on MYSQL), it worked but it wouldn't update the level, nor could I figure out how to move its position in the chat message. It just seemed to inject itself into the chat without being configurable with Herochat. Any help would be great! :D
@lenis0012
Lol I have no idea what it is but it shows the level now before everything when I removed all my chat plugins, and I can't find where its making it say the level
I use bpermissions. upsate so you are able to use bpermissions.
PLEASE (:
@SupremeJayjay
the code that should do it:
@lenis0012 I tried Essentials Chat and I put in '[&aLvl {Lvl}&f]{DISPLAYNAME} {MESSAGE}' next to the chat format. In game, it gives me [Lvl [Lvl]] It doesn't show my level nor does it show the curved brackets
@robinson0619
possibly
@SupremeJayjay
might be the chat system, i tested wit with EssentialsChat and ChatManager, that worked
@iTIsKeiFeR
try v0.2.2
The level is displaying as just "{Lvl}" when I put it in towny chat's config. Am I doing it wrong?
Update this coding. This does not work with bpermissions
{player} is not using the actual player name its using {player} to be ranked.
And also each time you get a kill it ranks you up to the next one.
FIX THIS PLEASE THEN I WILL LIKE! MAYBE DONATE!
@robinson0619
Lenis is working at: /lvl
And if you die the kills to go will be reseted for that level...
mc.resurrectionpvp.net is using your plugin,
Is there a way to make a level "Drop" if a player dies ? so its harder. for the players to level.
@irolldice
ill check the source code
@lenis0012
i can confirm that leveling up each kill happens for me as well.
For MySQL users
try v0.2.2 snapshot (not uploaded and checked by bukkit yet)
link: https://dl.dropbox.com/u/67122021/dev-builds/PvpLevels-Dev%200.2.2.jar
@fliuxus
not on my test server