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)
Ye, they should update it and also optimize it.. And maybe add something to reset the /kdr.
This is one of the main plugins on our Kitpvp server, if you could update it to 1.7.4 I would be forever grateful.
@toxictroop
I updated it myself got it working, pm me in private if you want can't upload it to the public due to licensing. Also optimized it a bit and resolved the death event errors I was getting before. To see it working: mcfoxcraft.com KitPvP server /\/\/\
Could someone update this please?
Can you work on the /lvl add and set? This would be a good addition to my kitpvp server. Please and thankyou!
Can you add Multiworld support???
PvPlevels is really making lagg: http://gyazo.com/57fe075daef6aca497a026ad7111f079
As you can see, this is really much.
Can anyone make this faster?
I get a error with that update: http://pastebin.com/1k2KxS7e
@chrisbruijnes
yep its safe tested it myself :)
What is updated? Is it safe?
http://www.spigotmc.org/attachments/pvplevels-jar.1443/
updated version. Thanks to @craftedEvil from spigot.
Can you please think about optomisations about PVPlevels, and update it to 1.7.2? Because its using a lot of RAM
@lenis0012
Can we like disable this plugin in different worlds?
@lenis0012
Are you going to update plugin to 1.7.2?
@lenis0012
?
@logichound
oops :c
@lenis0012
How long till you are gonna update this plugin ?
@Bikespot
fix comming today
Im trying to use commands in the rewards and im getting an error.
2013-11-18 16:39:51 [SEVERE] Could not pass event PlayerDeathEvent to PvpLevels v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:361) at net.minecraft.server.v1_6_R3.EntityPlayer.die(EntityPlayer.java:328) at net.minecraft.server.v1_6_R3.EntityLiving.damageEntity(EntityLiving.java:717) at net.minecraft.server.v1_6_R3.EntityHuman.damageEntity(EntityHuman.java:720) at net.minecraft.server.v1_6_R3.EntityPlayer.damageEntity(EntityPlayer.java:399) at net.minecraft.server.v1_6_R3.EntityHuman.attack(EntityHuman.java:890) at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:1158) at net.minecraft.server.v1_6_R3.Packet7UseEntity.handle(Packet7UseEntity.java:25) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:237) at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:117) at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:131) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:604) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:493) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer at com.lenis0012.bukkit.pvp.PvpPlayer.reward(PvpPlayer.java:64) at com.lenis0012.bukkit.pvp.listeners.EntityListener.onEntityDeath(EntityListener.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 21 more
hey im having issues with this. i load it in and its an unresponsive plugin. i try commands and it just keeps me at lvl 0 i try to set a level nothing happens. even when players kill eachother or kill mobs it dose nothing. am i doing something wrong?