Inactive [SEC/FUN] [Inactive] No PVP v1.2.2 - Take no damage, Give no damage (Like God) [2022]

Discussion in 'Inactive/Unsupported Plugins' started by ikillforeyou, Jul 7, 2011.

  1. Offline

    ikillforeyou

    Version: v1.1.0/v1.0.5

    Description:
    I've always wanted to make a plugin that stopped people from using "God" plugins to go invulnerable then kill people while invulnerable.

    Basically how this works is if you type /NoPVP or /NP You're turned invincible and your damage versus other players is removed, basically removing you from PVP.
    You can make other players go into NoPVP mode by typing "/NP (Player)".
    Please note that there's a configuration option to disable all damage to you or just PvP Damage in NoPVP mode.

    As this is my first plugin, additional functionality may be added in the future, as I become more familiar with Java and with Bukkit.

    There is optional permissions support.

    Permissions:
    Allows the player to damage other players while in No PVP mode.
    'nopvp.candamage'

    Allows the player to use No PVP mode.
    'nopvp.use' OR 'nopvp.use.world.<world>' if configuration option multi-world-node is set to true.

    Allows the player to use No PVP mode on other players.
    'nopvp.use.other'

    Makes it so other players can't change your No PVP mode setting.
    'nopvp.override'

    Stops nodes from being disabled when you enter No PVP.
    nopvp.nonodes

    Includes all of the above.
    'nopvp.*'

    Features:
    * Make yourself invincible, and stop yourself from damaging other players.
    * Make other players invincible.
    * Optional permissions support.
    * Optional PermissionsBukkit support.
    * Configuration
    * Optional persistence. You only need to type the command once in the lifetime of the server.
    * Dynamic command disabling, no teleporting/using spells/tpaccepting while in noPVP.
    * Total invincibility or partial invincibility via configuration.

    <Edit by Moderator: Redacted mediafire url>


    Show Spoiler
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>



    Planned Features:
    * zip.


    Show Spoiler
    Changelog:

    Version 1.0

    * Initial release.

    Version 1.1


    * Configuration
    * BukkitPermissions support
    * (HIGHLY EXPERIMENTAL) disable nodes on NoPVP.
    * Optional status persistence.

    Version 1.0.2

    * Fixed disabling nodes. Works 100% now.
    * You can now add nodes when entering NoPVP.
    * New node, 'NoPVP.NoNodes'
    * 'NoPVP.Use.Override' renamed to 'NoPVP.Override'
    * Removed debug messages from disabling nodes.

    Version 1.0.3

    * You can now disable all damage or just PvP damage on NoPVP.
    * Fixed to b1240, one minor bug.
    * Configuration has to be updated, if it isn't the plugin will be angry at you and probably shut down.

    Version 1.0.4

    * Minor fixes, plugin won't shut down if one configuration option is true now.
    * Updated one piece of code to match 1317.
    * Re-uploaded, Something was wrong.



    Version 1.0.5
    * Added multi-world support. (Thanks @cr0ss for idea.)
    * Fixed a few minor 1.0.0 bugs.
    * Please note that potions can still cause damage as of testing, this is a bukkit bug.

    Version 1.1.0
    * Fixed re-logging while in a 2nd world (Thanks @cr0ss)
    * Fixed the 'disable-nodes' system, now disables commands instead, put * to disable the command past that line. (/time *) would disable all time commands.
    * Re-coded the entire plugin, should use less resources now, half a year of patches from 1.3 code had added a bunch of junk.

    Version 1.2.1-1.2.2
    * Updated to r6's coding standards.
    * Added protection from arrows, minor bug stopped that from happening before.

    Please post any bugs or suggestions below.
     
    Last edited by a moderator: Nov 27, 2016
  2. Offline

    Plague

    please update to latest recommended build
     
  3. Offline

    ikillforeyou

    Nothing was broken, updated.
     
  4. Offline

    Zalastri

    Hey, think you can make a cooldown and negated list of permissions? The deal is, I want to make it so people cant go No pvp within x time of taking damage, AND I'd like for them to no longer be able to cast magic spells via certain permissions. This would be absolutely perfect for my server with those features.
     
    Jc17505 likes this.
  5. Offline

    ikillforeyou

    Not sure how to dynamically change permission nodes, I'll look into it.

    Edit: Anyone know of a plugin that lets you do this? I can't find any good way of doing it.
     
  6. great plugin ikillforeyou! works really good on legendarycraft!
     
  7. Offline

    felipepcjr

    This plugin is awesome, thanks to this, pvp and god mode can get along in my server :D
     
  8. Offline

    TinuvaGeogroda

    Tinuva wishes to inform you that TacticalCraft is now using this mod too ;)
    Keep it updated. Also ill read thru it once mwhahaha :p
     
  9. Offline

    StopSpazzing

    Can you update to 1240? And add support for Permissions (Pex)?
     
  10. Offline

    ikillforeyou

    It should work with PeX, since pex uses bukkit permissions.

    And sure, i'll update it.
     
  11. Offline

    YoshiGenius

    1. Please update to RB #1317 :p Just came out, I know, but please do! I really want to implement his onto my server.

    2. Looks great. ^_^
     
  12. Offline

    ikillforeyou

    There's a new rb every day isn't there. =.=
     
  13. Offline

    Grimmy777

    you say this makes you invincible, do you mean to mobs also or just players?
     
  14. Offline

    ikillforeyou

    That's configurable.
     
  15. Offline

    ALLix

    11:40:21 [SEVERE] Could not load 'plugins\NoPVP.jar' in folder 'plugins':
    java.io.FileNotFoundException: Jar does not contain plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:66)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:215)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:136)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  16. Offline

    ikillforeyou

    Oh, looks like I uploaded the wrong version or something deleted an important file.

    Try now.
     
  17. Offline

    k3zon

    Hi! Great Plugin so far. Could you add a configurable delay for disabling the damage? That would prevent players from using it in a fight...
     
  18. Offline

    ikillforeyou

    There's plugins for that, namely 'bCoolDown'. Just go to plugins and type 'cooldown' and 'warmup'.
     
  19. Offline

    k3zon

    Unfortunately 'bCoolDown' is outdated and I would prefer the functionality integrated in your plugin since my policy is 'As many plugins as needed, as few as possible'. But maybe I will give it a try, thanks.
     
  20. Offline

    ikillforeyou

    It's really a strain on your computer if every plugin uses a separate timer, this way you can bundle it all into one plugin.
     
  21. Offline

    k3zon

    Yes, but I need it only for this exact plugin... But yeah nevermind, I'll just try it :)

    (I'm still a bit worried because bCoolDown ist outdated and I'm frightened it could break at any time)

    Edit:
    Okay I just found this: http://forums.bukkit.org/threads/ge...ps-for-all-commands-that-you-wish-1240.28225/ which is almost for the RB :) I think I'll just stick to that one, thanks.
     
  22. Offline

    jenks1999

    is there any way you can make it so that when people type /NP or nopvp they also cant attack other players aswell.
     
  23. Offline

    ikillforeyou

    That's how it works. Check your configuration.
     
  24. Offline

    gunofason

    Do you have any dev builds going? In 1.0.0 players can still damage eachother.
     
  25. Offline

    ikillforeyou

    I just tried with OP Perms, and 1479 and it worked.

    Could you get me some logs and a configuration to check?
     
  26. Offline

    gunofason

    I don't have any logs, I'm going to try to test this error again, i'll edit in the results.
    EDIT: Yep, no errors in console, you can hit people, but they can't hit you, also you can take damage from potions, ect.
     
  27. Offline

    ikillforeyou

    Make sure you've changed the values in the configuration to what you want, 'disable-all-damage' should be 'true' and make sure people don't have the NoPVP.* permission.
     
  28. Offline

    cr0ss

    Great plugin! Very handy with what I want to do on my server.

    Would it be possible to perhaps make the Mob portion of this go both ways? Such as, you don't take damage from mobs, but you also don't deal any?

    If not that, then perhaps a way to force nopvp to disable upon entering a new world?

    To elaborate further, I intend to use this plugin this way: We have 3 worlds (Build, PvP and Dungeons). I would love for those with NoPvP permissions to use it in the Build world but not in the PvP or Dungeons world.

    edit: I noticed the persist thing... tried to disable it and check mutli-world drops but no dice. Oh well. Hope you can find an easy way to do this! :)
     
  29. Offline

    ikillforeyou

    That's a very interesting concept, I'll try to add multi-world integration when I have time.
     
  30. Offline

    cr0ss

    Sounds great. Can't wait! :)
     

Share This Page