Buddha Mode + Rapid HP Regeneration

Discussion in 'Plugin Requests' started by Andarkvolt, Nov 5, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Andarkvolt

    I know in Source Games there is a command which allows the players not to die and cling onto 1 HP. I would like a plugin which could do so. I have found a plugin that describes to do so but I doesn't work anymore (I think it is outdated).

    I also want a feature with this plugin where you could regen HP rapidly, and the effect can be toggled on and off with a single command.

    So in practice:

    /buddha - toggles buddha mode (cannot die but cling to 1HP (half a heart))
    /regenhp - toggles regeneration (on/off)

    If someone could make this plugin for me I'd highly appreciate it. Also I prefer to have the source code and the compiled version, since I'm not very good at computers, but I do plan on studying Java once school finishes.
     
    Last edited: Nov 6, 2016
  2. I'll do it. :)
    EDIT: You want the source code private or public?
     
    Last edited: Nov 6, 2016
  3. Offline

    Andarkvolt

    Up to you :) . And also thank you!
     
  4. @Andarkvolt
    Hey, got the buddha command working but regenhp is bugged for some reason. Can't fix it today because I'm a bit busy. I'll give you the source as soon as I have everything working correctly. It's also rather messy right now.

    Here's the current version of the plugin.

    Permissions:
    - buddha.buddha
    - buddha.regenhp (not working as I said)

    If there's any bugs or whatever please tell me and I'll fix them ASAP. :)
     
  5. Offline

    Andarkvolt

    @BlubDaLegend
    The part where I cling onto 1 HP works great but there are some issues I have noticed:
    - Damage not calculated correctly:
    Without Buddha mode,when I jump off 25 blocks without Armor I would die.
    Without Buddha mode,when I jump off 25 blocks with Armor I would have 16 HP Remaining.
    With Buddha mode, when I jump off 25 blocks with Armor I would cling onto 1HP.​
    - Is it on/active for everyone when they first join the server? Because when I typed in /buddha for the first time, it told me that the mode was turned off.

    Anyways, thanks for the effort! Would like to see this fixed soon!
     
  6. @Andarkvolt

    - Hmm seems like the Bukkit API doesn't automatically calculate damage reduction from armor. Should be fixable
    though.
    - Should be a very easy fix!

    I'll fix it when I have some more time. Pretty busy with school and stuff. I'll try to get it done this wednesday. FIf still not fixed, this weekend. Should not take any longer than that. Sorry for making you wait!
     
  7. Offline

    Andarkvolt

    @BlubDaLegend
    Thanks for doing this and I can't wait for the fix :). It's okay for the wait as long as it is not too long :).
     
  8. Due to family issues, I sadly can't work on the project anymore. :(
    For anyone that wants to continue the project, here's the source.

    I'll still check the thread every now and then, so if you have any questions, feel free to ask.

    Maybe I'll work on it again later but don't expect anything very soon. I am really, really sorry.
     
Thread Status:
Not open for further replies.

Share This Page