invulnerability during spawn?

Discussion in 'Archived: Plugin Requests' started by talbot, Jan 24, 2011.

  1. Offline

    talbot

    i'm having alot of problems on my server with people dying as soon as they log in. this goes back to the days of hmod but it's still happening regularly. i remember a plugin that made a person not receive damage for X seconds after spawning, is that possible under bukkit?
     
  2. Offline

    seriosbrad

    I thought notch included this already?

    However, I have noticed with Bukkit if you don't do a save-all when you stop the server for whatever reason, the next time you start the server and spawn you will die. Make it a habit of saving more often?
     
  3. Offline

    talbot

    my players get randomly kicked, or crash, or time out, then come back in the game and die instantly. sometimes they don't die but their inventory is reset to what it had in it almost an hour earlier. i have my server auto-save every 15 minutes, which causes alot of lag and ends up being the reason the player gets kicked/time outs. it's all very complicated and frustrating.
     
  4. Offline

    Stmeter

    I'll see what I can do. You just want health to be turned off for the first x number of seconds that they're logged in. Then have it regenerate to what their old health was. Correct?
     
  5. Offline

    talbot

    that would be great yea. having the number of seconds configurable and regen a true/false thing. nothing too fancy or complicated. thank you.
     
  6. Offline

    Stmeter

  7. Offline

    seriosbrad

    So they have
    Very good! It works well an I'll be using it on my server.

    Despite what I said in my previous post here, I started to experience the same problems as talbot.

    I don't really have any suggestions, it does what is should :)
     
  8. Offline

    talbot

    thank you! that's great, i had some trouble running it at first but i've updated craftbukkit and it seems to be good now.

    it keeps me invulnerable for the 10 seconds but then as soon as the time's up i take massive damage for no reason. i stand in one spot for 10 seconds and suddenly i'm at 8 health. thoughts?
     
  9. Offline

    Stmeter

    It reverts back to what your old health is. If you want, I can make it so after the timer is up, it will make your health default(which is 20).

    Also, I made a topic for the plugin here
     

Share This Page