[MECH] PlgNoHealth v5.0 - disable health [1.4]

Discussion in 'Archived: Plugin Releases' started by Plague, Feb 3, 2011.

  1. Offline

    Plague

    PlgNoHealth - Plugin to disable health for players
    Version: v5.0

    This plugin makes players invulnerable. As it cancels the event altogether, you will not even move when hit or "jump" when fall from a big height.
    I know there already are some plugins for god mode and some of them do have the "no hit" feature. I made this plugin before this was possible and just tried it and it works, so why not release it.
    You can also disable this or set it for OPs only using /nohealth command.

    As in all my plugins, you can now edit the name of the command in plugin.yml.

    Download(source inside)

    [​IMG]

    Changelog:

    Version 5.0
    • updated to new bukkit API
    Version 4.1
    • Craftbukkit 600 compatibility
    Older changes (open)

    Version 4.0
    • uses onCommand now, compatible with CB 454+
    • you can edit the command name in plugin.yml ("aliases:" line)
    Version 3.0
    • Minecraft 1.3 and new craftbukkit
    Version 2.0
    • added /nohealth <on|off|ops> command
    • only OPs can use /nohealth
    • enabled by default (after plugin loaded)
    Version 1.0
    • Initial release
     
  2. Offline

    sza22

    please add multiworld support
     
  3. Offline

    Plague

    Huh?
     
  4. Offline

    sza22

    could you please add multiworld support. it would be nice if i could be invincible in my regular world and have normal health in my pvp and monster fighting worlds.
     
  5. Offline

    Plague

    Oh, I thought you mean that it does not work in all worlds.

    This would need a config file, which I don't like to make...
     
  6. Offline

    27ace27

    could you make it so that the player is not on fire as well? Like if I'm wading through lava I don't like to be on fire.
     
  7. Offline

    ThreeDGuy I steal plugins as my own

    May I fork all of your plugins so that they can have Permissions support for all of the permissions systems out there?
    Do I have Permission @Plague ?
    All credit goes to you!

    //Please!
     
  8. Offline

    Plague

    Sure, my plugins are free to fork just use a different name, that's all.
    Also PlgEssentials is already forked (the link is in PlgEssentials main post), but that's just FYI.
     
  9. Offline

    ThreeDGuy I steal plugins as my own

    Thank you I will post your plugin with permissions now
    It will be called Invincible!
     
  10. Offline

    Snipe76

    huh.... /god?
    its same as god only its called nohealth...
     
  11. Offline

    Plague

    And the point being?
     
  12. Offline

    Uhehesh

  13. Offline

    Snipe76

    useless plugin?
     
  14. Offline

    Plague

    I don't even know what plugin you are talking about, if it were here first, if it uses permissions or not, if it is bundled with a bunch of other commands or not, etc...
     
  15. Offline

    Gimlao

    Could you please update it so the fire remove itself from the player when he's not anymore in fire/lava ? =)
     
  16. Offline

    Plague

    it sometimes bothers me too, if I find time I'll try implementing it.
     
  17. Offline

    popa_qwerty

    For some reason it does not stop all damage
     
  18. Offline

    Plague

    which one does it not stop? Maybe there has been some changes in bukkit
     
  19. Offline

    popa_qwerty

    I'm using the recommended build 1060
    Plugin List
    AcidRain
    AntiCreeper
    IntelliDoors
    Log0.7.1
    LoginMessages
    LoreTime_1.3.0
    LWC
    MinecraftViewer
    Pail
    PlgEssentials_op
    PlgMisc
    PlgSetspawn_op
    SignLift
    UVRay
    Whitelist
    PlgNoHealth

    damage caused by the red plugin are not stopped
     
  20. Offline

    Plague

    Thanks, looks like environmental (sun, rain) damage is not caught, which is highly possible because those were added much later on. Will look into it soon, but I'm preparing for a job interview for tomorrow.
     
  21. Offline

    Gimlao

    It would be nice that the plugin could block the Food Bar.

    I'm invincible, but my Foor Bar continues to decline. ^^;

    We need an update ! =p
     
  22. Offline

    Plague

    Well I studied extensively both plugins and bukkit sources. I came to the conclusion that the damage they do is a direct damage to the player, that my plugin cannot catch and block, sorry.

    That's a goal for NoFood plugin isn't is? :)
    But anyway, we have creative mode now, so if you want to block all this, why not use it anyway?
     
  23. Offline

    Gimlao

    The problem is that when the food bar is empty, the health bar begin to decrease.

    And we want to play normally, without fly and instant mine/infinite items.

    So, no, creative mode isn't the solution.
     
  24. Offline

    Plague

    No, that's not true, I just tested it. It blocks hunger damage too.
     
  25. Offline

    Gimlao

    I still think that PlgNnoHealth should block these variables :

    - foodLevel
    - foodTickTimer
    - foodExhaustionLevel
    - foodSaturationLevel

    They should be blocked to 20, 0, 0 and 5.
     
  26. Offline

    Plague

    updated to new bukkit API

    yes, it should :)
     
  27. Offline

    Reptar_

    Can you make this plugin to where it works in certain worlds? Add a section in the config to toggle which worlds it's enabled in. I really need a plugin with this feature.
     

Share This Page