Inactive [SEC/GEN] PvPplus v1.4 - Total PvP control, including personal PvP! [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Randy Schouten, Jun 4, 2011.

  1. Offline

    Randy Schouten

    PvPplus - PvP customization to the max!
    Version: v1.4

    If you don't want global PvP, just use this plugin and everyone can have their own PvP status!

    Features:
    • Personal PvP
    • Custom delay on turning PvP off
    Download:

    ZIP
    RAR

    Just to be sure, remove the players from the config file to prevent possible errors.

    How to install:
    Just copy paste the contents of the .rar file to your plugins folder.
    Then go into the config file and change your delay (in seconds).

    How to use:
    Commands:
    Code:
    Normal players:
    /pvp on, turns pvp on
    /pvp off, turns pvp off with the set delay
    /pvp check, shows current pvp status
    
    OPs:
    /pvp off [player], turns a certain players PvP off+ overrides delay. (Case sensitive name)
    /pvp on [player], turns a certain players PvP on.
    /pvp delay [seconds], sets the delay/cooldown in seconds
    Permissions:
    Code:
    OPs:
    pvpplus.delay - Gives access to /pvp delay.
    pvpplus.override.other - Gives access to the commands to change other players PvP status.
    pvpplus.override - Overrides delay
    Todo:

    Suggestions are always welcome!
    • Override delay permission
    • Worldedit implentation
    • Override /god command
    • Show exact time left in the /pvp check command
    Green: high priority

    Yellow: mid priority
    Red: low priority
    Crossed have been done.

    Changelog:
    • v1.4
      • Added arrow tracking
      • Removed essentials as a need plugin
    • v1.3.4
      • Fixed bug
    • v1.3.3
      • Fixed a typo in the plugin that stopped it from detecting players in the config
    • v1.3.2
      • Fixed that the config was getting erased
    • v1.3.1
      • Possibly fixed bug that made people still able to PvP
    • v1.3
      • Updated for Bukkit 1000
      • Rewrote the whole plugin, should be a lot more efficient and bug proof
    • v1.2.3
      • Fixed major bugs:
        • Fixed checking so it now properly cancels damaging
        • Fixed typing /pvp off twice turning it off, bypassing the timer
        • Fixed /pvp check from giving an error if the server was restarted when somebody was in timing mode
        • Fixed the plugin giving an error message when the arguments failed to match
        • Probably some other stuff I forgot
      • Cleaned up the whole code
      • Automatically changing players who were on cool down to off when server restarts/plugin reloads to prevent errors
    • v1.2.2
      • Fixed /pvp on not working when a player has never used godmode
    • v1.2.1
      • Added a few more handy commands
      • Added override permission
    • v1.2
      • Override /god commands
      • Shows exact time in the /pvp check command on delay
      • Changed name of plugin
      • General cleaning up of code
    • v1.0
      • Initial release
     
    moselekm likes this.
  2. Offline

    morizuki

    requesting fo an alias? this conflict in PvPReward..
     
  3. Offline

    dannybtw

    hello my players cant turn there pvp off but i can since im op idk why they get an internal error and i dont
     
  4. Offline

    micromoose

    completely crashes the server and causes a restart sometimes when hitting someone with pvp on.

    used latest version of pvp plus
    permissions 3.1.5
    bukkit 1000

    I dont want to test this with the newest bukkit, but I love this plugin and want to use it because its so simple. I cant have it randomly break every day.

    And it will keep doing this as long as the plugin is on.

    2011-08-15 22:30:11 [SEVERE] Could not pass event ENTITY_DAMAGE to PvPplus
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
    at randy.pvpp.pvppEntityListener.onEntityDamage(pvppEntityListener.java:55)
    at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:423)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:561)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:858)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-15 22:30:11 [INFO] JOJOtheGreat lost connection: user was kicked.
    2011-08-15 22:30:11 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:11 [INFO] microMOOSE lost connection: user was kicked.
    2011-08-15 22:30:11 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:11 [INFO] bobdole53 lost connection: user was kicked.
    2011-08-15 22:30:11 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:11 [INFO] kivenkantaja lost connection: user was kicked.
    2011-08-15 22:30:11 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:11 [INFO] xXPinkRoseXx lost connection: user was kicked.
    2011-08-15 22:30:12 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:12 [INFO] Tyrm lost connection: user was kicked.
    2011-08-15 22:30:12 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:12 [INFO] Crzychkn lost connection: user was kicked.
    2011-08-15 22:30:12 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:12 [INFO] duderobot123 lost connection: user was kicked.
    2011-08-15 22:30:12 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:12 [INFO] tigin88 lost connection: user was kicked.
    2011-08-15 22:30:12 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:12 [INFO] mmuniz83 lost connection: user was kicked.
    2011-08-15 22:30:12 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:12 [INFO] xxedos lost connection: user was kicked.
    2011-08-15 22:30:12 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:12 [INFO] <*Console*>: Server is restarting. World is being saved.
    2011-08-15 22:30:12 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:12 [INFO] Enabling level saving..
    2011-08-15 22:30:12 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:12 [INFO] Forcing save..
    2011-08-15 22:30:12 [INFO] Save complete.
    2011-08-15 22:30:12 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:12 [INFO] Stopping the server..
    2011-08-15 22:30:12 [INFO] Unknown console command. Type "help" for help.
    2011-08-15 22:30:12 [INFO] Stopping server
     
  5. I'm having these errors ( same as everyone ) Fix them :D I need that plugin so muccch
     
  6. Offline

    Dharkk

    Everything seems to be working well... but Bow/Arrow still damages people regardless of both having pvp off. No errors, they just do damage. Had this same problem with another plugin so I don't know if this is possible to prevent or not.
     
  7. Offline

    Randy Schouten

    I'll look into the error causing this not to work.

    I will also check out if I can get arrows to be working correctly too.
     
  8. Offline

    tombik

    Source, please :)
     
  9. Offline

    Randy Schouten

    Why would I do that?
     
  10. Offline

    tombik

    Because a lot of authors do that and its great for beginners.
     
  11. Offline

    Randy Schouten

    I might release it, as I learned off source codes myself.

    BUT.
    Lately there has been alot of people nicely renaming plugins other people made and submitting it here.
    That's a big turn off.
     
  12. Offline

    Towedwart

    Any idea how the current version works in CB 1060? Also, how common is it to experience bugs? I really would like to implement this plugin on my server as my players have been asking for something exactly like this. Should I just hold out until the coming update? Thanks!
     
  13. Offline

    Adrenaline

    Players cannot use /pvp on etd.. permissions 3.1.6 >_>
     
  14. Offline

    Pomme72

    Hi,

    VERY GOOD PLUGIN, very simple to use and install and very useful =)

    But...

    Can you make a lil support for Spout please ? Just an image of two sword, in the top-right of the screen. Grey when disable, and red when activated.

    I hope you have understand what I tried to say, I'm french ^^

    TY ! <3
     
  15. Offline

    ariola

    you need a pvp plugin that admins can use in game to turn pvp on off for all in game when needed
     
  16. Offline

    thetank332

    Every time I write /pvp on it says turn godmode off before you turn pvp on but I dont have God mod on ...help
     
  17. Offline

    PyroRoX

    Just wanted to say that this is a rly nice plugin but on my server ppl still can kill whit bow when they got pvp off
     
  18. Offline

    tombik

    Pls update to 1060, becuase i still get this err to console (log):
    Code:
    2011-09-04 09:49:06 [SEVERE] Could not pass event ENTITY_DAMAGE to PvPplus
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
        at randy.pvpp.pvppEntityListener.onEntityDamage(pvppEntityListener.java:50)
        at org.bukkit.plugin.java.JavaPluginLoader$59.execute(JavaPluginLoader.java:656)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:427)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:180)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:566)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:883)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  19. Offline

    xBlueXFoxx

    I love the plugin but arrow PVP is a huge issue in my server, please try to get it fixed fast!
     
  20. Offline

    Azander137

    I'd really love to run this plugin on my server, but I'm having trouble with it. I'm currently running Bukkit 1060, and I'm able to use the /pvp on command just find. When I try to use /pvp off though, I get an internal error.

    Anyone else know why this is happening or how to fix it? Or any other plugin that can do this too that works?
     
  21. Offline

    NEREVAR117

    Simple but effective. Could you possibly add a cooldown for switching -period- though? For instance, person A might switch it on to kill person B after B couldn't kill A and was turning to leave.
     
  22. Offline

    L24D

    @Randy Schouten
    Got a bit of a bug for you...
    Have a look at this, see what you think:
    Code:
    2011-09-10 02:05:18 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to PvPplus
    java.lang.NullPointerException
        at randy.pvpp.pvppPlayerListener.onPlayerCommandPreprocess(pvppPlayerListener.java:22)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:272)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:730)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Anyways, Not sure what's triggering it yet... Latest RB.
    Might be when someone turns it on. :p
     
  23. Offline

    Randy Schouten

    I have uploaded 1.4.

    Please update :)
     
  24. Offline

    Arton

    could you maby add something so you can make a region there it's allowes you to pvp
     
  25. Offline

    RG_PankO

    @Randy Schouten dude is there a way to make it to be PVP off by default?
    I have a Guest permissions group for new users that haven't been approved yet becouse there are alot of grifers etc.
    Now 5 hater Guest users can kill every new Guest user that might be approved but he want apply becouse people on the server kill him :/
    And the new user ofcourse don't know about /pvp off

    User Regios plugin it makes regions with settings for PVP on/off


    @Randy Schouten also there is a bug that people with /pvp off recieve dmg from arrows(bows).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  26. Offline

    Randy Schouten

    @RG_PankO
    I will make a new option for that.

    Also to your last comment, I will look into it.
     
  27. Offline

    Gousby

    Amazing plug-in! I plan on using it, but I do have a suggestion.

    How about integrating it with WorldGuard for regions. Like if a player is in a region where PvP is turned on, but their flagged as off, it overrides their off flag and sets them as on.. Kind of like WoW in contested or enemy territories.

    It'd be amazing for my server. :)
     
  28. Offline

    ssechaud

    I've started seeing these errors in the server log since updating:

    Code:
    21:22:59 [SEVERE] Could not pass event ENTITY_DAMAGE to PvPplus
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSkeleton cannot be cast to org.bukkit.entity.Player
    	at randy.pvpp.pvppEntityListener.onEntityDamage(pvppEntityListener.java:19)
    	at org.bukkit.plugin.java.JavaPluginLoader$59.execute(JavaPluginLoader.java:656)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    	at net.minecraft.server.EntityArrow.m_(EntityArrow.java:183)
    	at net.minecraft.server.World.entityJoinedWorld(World.java:1212)
    	at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    	at net.minecraft.server.World.playerJoinedWorld(World.java:1194)
    	at net.minecraft.server.World.cleanUp(World.java:1110)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:449)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    21:23:13 [SEVERE] Could not pass event ENTITY_DAMAGE to PvPplus
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSkeleton cannot be cast to org.bukkit.entity.Player
    	at randy.pvpp.pvppEntityListener.onEntityDamage(pvppEntityListener.java:19)
    	at org.bukkit.plugin.java.JavaPluginLoader$59.execute(JavaPluginLoader.java:656)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    	at net.minecraft.server.EntityArrow.m_(EntityArrow.java:183)
    	at net.minecraft.server.World.entityJoinedWorld(World.java:1212)
    	at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    	at net.minecraft.server.World.playerJoinedWorld(World.java:1194)
    	at net.minecraft.server.World.cleanUp(World.java:1110)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:449)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  29. Offline

    L24D

    @Randy Schouten
    Hmm, I seem to have found a problem. :p

    I just randomly checked the server log and I noticed multiple entries of this:
    Code:
    2011-09-17 15:07:08 [SEVERE] Could not pass event ENTITY_DAMAGE to PvPplus
    java.lang.ClassCastException
    2011-09-17 15:07:09 [SEVERE] Could not pass event ENTITY_DAMAGE to PvPplus
    java.lang.ClassCastException
    2011-09-17 15:07:09 [SEVERE] Could not pass event ENTITY_DAMAGE to PvPplus
    java.lang.ClassCastException
    2011-09-17 15:07:10 [SEVERE] Could not pass event ENTITY_DAMAGE to PvPplus
    java.lang.ClassCastException
    2011-09-17 15:07:12 [SEVERE] Could not pass event ENTITY_DAMAGE to PvPplus
    java.lang.ClassCastException
    Anyways, Still running b1060. (1.7.3)
    Just wanted to let you know about it.
    Thanks. :p
     
  30. Offline

    Jamie Tees

    Yeah got same error ^ hope its fixed :D
     
  31. Offline

    MJRamon

    I have this error. 1185 server
    Code:
    [SEVERE] Could not pass event ENTITY_DAMAGE to PvPplus
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSkeleton cannot be cast to org.bukkit.entity.Player
            at randy.pvpp.pvppEntityListener.onEntityDamage(pvppEntityListener.java:19)
            at org.bukkit.plugin.java.JavaPluginLoader$61.execute(JavaPluginLoader.java:670)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.EntityArrow.s_(EntityArrow.java:192)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1193)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1175)
            at net.minecraft.server.World.cleanUp(World.java:1090)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:460)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
     

Share This Page