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

    vcazan

    What would be cool is if you set up a way for two players to turn their pvp status on so that no one can cheat by just turning it off when they are dying. All this does is replace /god. Keep up the good work!
     
  3. Offline

    Fr0zenfr0g

    can i you do so in surtain areas every one has it on and some other places they can chouse?
     
  4. Offline

    Randy Schouten

    @vcazan
    Mmm... That's a good point on the todo list.
    Override /god.
    For the point of where someone is dying that they can turn it off, that's why I put in a delay.
    You can configure it in the config file :)

    @Fr0zenfr0g
    I'll see if I can implement this with Worldedit.
     
  5. Offline

    vcazan

    You can already do this with world edit, using the pvp flag.
     
  6. Offline

    Randy Schouten

    That doesn't use my pvp checking, so it wouldn't work.
    Not in combination with my plugin anyways.
     
  7. Offline

    Windwaker

    Wait, just wait one second! But I checked the jars and they do look different so I think its legit... but still there are already two other active plugin that do the exact same thing. Not to be a downer or anything.
     
  8. Offline

    Randy Schouten

    Oh wow....
    I didn't see another plugin existed with the exact same name D:

    I'll change the name and all when I get back from work.
     
  9. Offline

    Plague

    add a changelog to the end
     
  10. Offline

    Randy Schouten

    My bad, I used the template off my other plugin, but I forgot the changelog apparently.
    Also added a todo list and fixed the commands list.
     
  11. Offline

    Randy Schouten

    Update 1.2:
    • Override /god commands
    • Shows exact time in the /pvp check command on delay
    • Changed name of plugin, because the name was already taken
    • General cleaning up of code

    Sorry for triple post.

    Update 1.2.1:
    • Added a few more handy commands
    • Added override permission
    Do you guys want a permission to override the /god thing as well, so you can have /god on while pvp is also on?

    EDIT:
    Update 1.2.2:
    • Fixed /pvp on for players who never used godmode

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

    Randy Schouten

    Again, sorry for another separate post, but I think this one needed the attention of the ones who use this plugin (if any).

    Update 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
    Everything should work perfectly fine now!
    And for some reason, I like what most people hate D:
    Debugging.
     
  13. Offline

    paulol

    Code:
    11:26:41 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pvp' in plugin PvPToggle v1.2.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:281)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoClassDefFoundError: randy/cr/cr
            at randy.pvpt.pvpt.onCommand(pvpt.java:165)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
    Cant enable PVP for other players. (Bukkit 818)
     
  14. Offline

    Randy Schouten

    Are you using the newest version? (1.2.3)
    That had alot of bug fixes.

    I do recall having done something stupid with a template, making it look for the class CR (which is the other plugin I made).
    I checked it again, and that class thing was removed.
    So in the newest version you shouldn't have this problem anymore.

    EDIT:
    Upon closer inspection of the error, I saw you have version 1.2.2 installed, which had major bugs.
    Please update :)
     
  15. Offline

    zemiguel12

    I have the same error as paulol has.
    I download the rar just now, and in the error it says PVPToggle v1.2.2.
    Do I have to do something to update?

    Thanks.
     
  16. Offline

    Randy Schouten

    Oh right...
    I'm stupid, probably didn't upload the proper version yet...
    Hold on a minute

    EDIT: Uploaded it, just zipped and rarred them, so it should be good now.
     
  17. Offline

    zemiguel12

    Thanks :D
     
  18. Offline

    Randy Schouten

    Does it work now?
    If not, I'll have to recheck the code again I suppose :p
     
  19. Offline

    zemiguel12

    Yes, it worked perfectly.
    Awesome plugin :D
     
  20. Offline

    Fujikatoma

  21. Offline

    Crig000

    Worldedit implentation = Wrong
    it's massive i'd download it if it was implemented so i should be green it important
     
  22. Offline

    Randy Schouten

    I'll see what I can do.
     
  23. Offline

    murdrums

    This happens with you try and click a NPC in the Citizens plugin, such as a trader, is it possible to fix this?

    Code:
    18:03:31 [SEVERE] Could not pass event ENTITY_DAMAGE to PvPToggle
    java.lang.NullPointerException
            at randy.pvpt.pvptEntityListener.onEntityDamage(pvptEntityListener.java:
    71)
            at org.bukkit.plugin.java.JavaPluginLoader$51.execute(JavaPluginLoader.j
    ava:598)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:310)
            at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:419)
            at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:184)
    
            at net.minecraft.server.EntityHuman.d(EntityHuman.java:542)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:861)
            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:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >
     
  24. Offline

    Submmo

    Hey nice plugin ,but one of the commands don't work!
    It's /pvp off [zombie]
     
  25. Offline

    SwiftPanda

    Yea he's right, "/PvP off" doesn't work :'(
     
  26. Offline

    emcitement

    This looks perfect. The delay feature sounds nice.

    Hope it gets fixed so I can use it!

    (I posted this on another thread, but)
    The only thing I'd like more than a plugin like this is a plugin that allows you to have PVP areas. The 2.1 version of precious stones (abandoned I think?) would allow you to place sponges to mark an area as safe and everything outside of that area would be PVP. (apart from other sponge-marked places)
    I'd love to find a reverse of that so I could set certain areas as PVP.
     
  27. Offline

    __Brian__

    Work in 935?
     
  28. Offline

    Shooty

    @Randy Schouten

    Can you add a feature like in a config.Txt all world is inscribe in have PVP ON FOR ALL and no possibilitie to desactive in that map ?
     
  29. Offline

    hiivin

    Hey,
    The Plugin is really great, but could you add a option, where it is possible to define if new Users have normally pvp on or pvp off, because all new Users at my Server, which didn't used the /pvp command have pvp turned on...
    Thank you very much for this awesome Plugin!!
     
  30. Offline

    Randy Schouten

    I updated the plugin to 1000.

    Nothing else tho, pretty busy with EpicQuest :p
     

Share This Page