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)
@lenis0012
I know that, but i have tell this bug if you didn't see it, i just want to help :D
@Fr33stylerhd
Dev builds :) They are in progress
@lenis0012
I have compiled for myself and i love it, but when i use the command /level set 100 he set me to 0 but /level add works well :)
@lenis0012
Seems that even if you change the tag below name in the cfg, it always show the string "Levels" in-game. Please add the modify of the sentence "Level up" in cfg.
new version almost done guys
Is it possible to implement their current level and kills needed until the next level to my current scoreboard on the right hand side of the screen?
Update to latest bukkit please!
Please do a update in your plugin ! And have a error, every minute appear this message: 04.09 07:54:00 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 04.09 07:54:00 [Server] INFO at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source) 04.09 07:54:00 [Server] INFO at com.lenis0012.bukkit.pvp.listeners.EntityListener.onEntityDeath(EntityListener.java:86) 04.09 07:54:00 [Server] INFO at com.lenis0012.bukkit.pvp.PvpPlayer.reward(PvpPlayer.java:64) 04.09 07:54:00 [Server] INFO Caused by: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:115) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.Packet7UseEntity.handle(SourceFile:36) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:1107) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.EntityHuman.attack(EntityHuman.java:874) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.EntityPlayer.damageEntity(EntityPlayer.java:358) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.EntityHuman.damageEntity(EntityHuman.java:684) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.EntityLiving.damageEntity(EntityLiving.java:750) 04.09 07:54:00 [Server] INFO at net.minecraft.server.v1_5_R3.EntityPlayer.die(EntityPlayer.java:293) 04.09 07:54:00 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:344) 04.09 07:54:00 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 04.09 07:54:00 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 04.09 07:54:00 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 04.09 07:54:00 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 04.09 07:54:00 [Server] INFO org.bukkit.event.EventException 04.09 07:54:00 [Server] SEVERE Could not pass event PlayerDeathEvent to PvpLevels v1.0
how do i make it so they level up? Whenever my players get 4 kills they dont get leveled up?
add a reload commands.
Server lags really hard when somebody dies...
Fix it please
I can't wait for update :)
What it could be?
Please add it so your level goes down
@KrustyLv
Yes
Is it working on 1.6.2?
faz 1.5.2 por favor seria otimo pro meu server
Is there a way so I can remove the [Lvl] prefix from certain groups?
@lenis0012
forget about the weapon levels lol what i really want is the commands that you can edit your own level :| (edit) : can you make it so i could edit the kills to like when your level 1 you need 10 kills to be level 2 and when your 2 you need 20 kills for level 3