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)
every time when player kills. hi gets lvl up. fix it
hay it fix my factions but what is auto grabber for chat?
btw i like this pl xD
any thoughts on penalties for getting killed? such as losing/resetting levels, or making it configurable?
also, i am sure you are aware an easy fix to the default lines reappearing is to just leave the file alone, if it already exists. opposed to checking for default lines as you are now.
@xKahl
when a player joins a game it sends a packet with its data included username to the server
the server sends this to all clients
and when the clients need to render the player they use the name the server gave them
what you can do is edit the name the server gives ti clients when rendering a plyer, wich will change its nametag, howefer you can not make it render anorter line in the nametag because the rendering happends client-side.
@irolldice
oh yeah thats stupid *facepalm*
how about adding to the config for people to lose levels/reset when they get killed? i would really like to see that as an option.
a "/pvp reload" command to reload the config file would be nice.
the config file seems to re-add certain lines every time the server reloads, if they are removed. for example, i do not have pex, and when i remove the pex promote command from the config, it is readded on reload.
awesome plugin though.
@lenis would it be possible to create another line underneath names to say [Lvl X] by making an invisible npc created at the persons same location just lower? not sure if it'd be possible efficiently
@xKahl
well, we got 1 problem, minecraft only allows nametags from max 16 chars
so adding the level in the players name will not show up if the players name it larger than 12 chars due colors and letters
I would love if you added the ability to put the Lvl next to players names above their heads instead of the chat. I dont want the lvls in my chat, but I think seeing it above the heads of other players while Pvping would be sweet.
@toxictroop
the point is that the levels depend on kills, so i cant add like 0.25 kills for a mob because it is stored as an int
I might do it but it would break the KDR feature am i am working on.
Unless...
@AlexdarkTDK
if you have MySQL off it should work fine, if not then thats wheird since its using the same methods.
i just changes a whole ton of stuff in the config and data format
Er, I have a problem, I update the plugin with the v0.2 version of the plugin and all the levels of everybody have been removed to lvl0. Bug? data.yml is not like before? I don't know but that's a problem :x
Hey maybe you could make an option to get low exp from mobs too? i would start using this plugin if thats the case.
Maybe make some sort of restrictions to armour and weapons until you reach a certain level?
Make it more than pvp level!
PvPLevel: true PvELevel: true
Rename: Levels!
import some idea's from here: http://dev.bukkit.org/server-mods/levels-plus/
Good luck on this popular plugin!
Hi,
I really like this plugin, but unfortunately i can not get it to work :(
Would you or any one be able to add me on skype: xicheekx If you help me i will give you a premium rank on my server.
Thanks!
ps: in remarks on skype just refer to my post on here, so i don't delete you.
@KaldaMaja
the ChatManager format is this if im right:
'<%player%suffix&f> %message'
change it to contain: {Lvl}
example:
'<&aLvl {Lvl}&f %player%suffix&f> %message'
Any chance you could add support for mobs too, but make them give you a lot less xp, so you can't lvl up really quickly from a mob trap/grinder.
You should raise the pvp level system IMO then this plugin is very very good :) Question is this working with ChatManager ? if ture, could you tell how i need to conf because its too confusing :P
@AlexdarkTDK
thx, ill fix it soon
Awesome plugin! Please update it with the ToDo "add /lvl add/set/remove <player> <amount>", it could be really useful for my server! :) Oh and "Permissions" not "Pemrissions" ;P
PvpLevels not working with SnowBall kills?