Second Chance 2.2

Help your friends get back up on their feet!

  1. blaxout1213
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.13
    Second chance gives your friends (and enemies) a second chance before they finally go down.

    Upon taking a hit that would normally mean your end, you are instead locked in place unable to move or break blocks (Incapacitated). Your health is refilled and begins ticking downwards, also you are still vulnerable to attacks. If anyone comes up and right clicks on you, you are revived to 3 hearts with a cool-down timer to prevent this from happening again.



    Any questions/comments/concerns/hatemail can be sent through discord for a more immediate response. Feel free to send me a message, I will get to you a lot faster than through spigot.

    dimwit10⁵#8052


    Feature
    • Revive your fallen friends with a single right click
    Config file
    The config is heavily commented, and should be easy enough to understand. I'll post the config here anyways so you can see what is configurable
    Code (YAML):

    #Please note, there are no failsafes in the code, if you configure something that doesnt make sense, strange things will happen.
    GeneralOptions
    :
     #If a players current health is under this when attacked, they'll instantly die instead of being downed.
      #-20 means a player at 20 health needs 40 damage in one hit to instantly die, while -5 only needs 25
      OverKill
    : -20
      #Should leftover damage bleed through to downed health? The damage dealt to downed health is modified by incoming multiplier
      BleedThrough
    : true
    DownedOptions
    :
     #How fast should players walk while down, this doesnt affect swimming speed.
      CrawlSpeed
    : 0.07
      #Should players aquire the glowing potion effect?
      Glow
    : true
      #Seconds of resistance 5 to apply to players as they get downed. This makes them impervious to all damage for the duration. 0.0 Disables
      Resistance
    : 3.1
      #Should the regeneration buff be removed when down? Note: This doesn't affect regeneration being removed when damaged while down, just the hit downing the player
      RemoveRegeneration
    : true
      #Should players be invisible to monsters while down?
      MobInvisibility
    : false
      #Multiplier applied to damage to/from a downed player. A multiplier of 0 cancels the attack entirely.
      Damage
    :
        Outgoing
    : 0.0
        #This only multiplies damage coming from other entities, environmental damage is unaffected.
        Incoming
    : 0.5
    ReviveOptions
    :
     #Should the revived player recieve absorption so they're not immediately downed again (aka sandbagged)
      Absorption
    :
        Enabled
    : true
        Length
    : 7
        #Strength of the absorption Note: potion power starts at 0, setting this to 1 applies Absorption II
        Power
    : 1
      #Should players be revived by thrown instant health potions? This can allow self revives if true
      ThrowRevive
    : false
      #Should a kill revive a player?
      KillRevive
    : false
      #How likely is a player to revive themselves? This is a percentage, with 1.0 being 100%
      SelfReviveChance
    : 0.05
      #Options on how much health to give after a successful revive
      Health
    :
       #Flat number with 1 being a half-heart
        Flat
    : 6.0
        Percentage
    :
         #Should we use a percentage of maximum health instead? Useful if players can have more than 10 hearts
          Enabled
    : false
          #What percentage? Remember: 1.0 means 100%
          Amount
    : 0.3
      #Should we delay the revive in some way?
      Delay
    :
       #This has several options:
        #REGENERATION: Applies regeneration to the target, allowing them to heal and reviving them when theyre at full health
        #TIME: Applies regeneration to the target, reviving them when the time is up if regeneration is still active
        #NONE: Instantly revives the target
        #With any option, the regeneration buff is removed when a downed player is damaged.
        Type
    : REGENERATION
        #For TIME setting, how long will the revive take, for REGENERATION setting, how long will the regeneration last
        Time
    : 30
        #For REGENERATION setting, how strong will the buff be?
        Power
    : 1
    CooldownOptions
    :
      Cooldown
    :
       #Should a cooldown be enforced, stopping players from going down again within a certain amount of minutes?
        Enabled
    : false
        #For how many minutes?
        Time
    : 2.0
        #Should the cooldown be cancelled when you heal?
        CanceledByHeal
    : false
      #How long should we wait before a down is forgiven (in minutes)
      DownResetTime
    : 15.0
    BleedingOptions
    :
      Health
    :
       #How much health should a freshly downed player recieve?
        Downed
    : 20.0
        #How long do we wait between damage ticks?
        Decay
    : 3
        #Whats the base damage of the bleedout tick?
        BaseDamage
    : 1.0
        #What should we ADD to the down multiplier for each down?
        #Note this is ADD, not multiply.
        #The first down will always be 1.0, the second down will be 1.0 + DownIncreaseMultiplier. The second is 1.0 + (DownIncreaseMultiplier*2)
        #This continues, and does not have a cap, set to 0 to disable.
        DownIncreaseMultiplier
    : 1.0
        #How to interpret the DownIncreaseMultiplier. Two options exist
        #DAMAGE: This multiples the damage by DownIncreaseMultiplier. Meaning the second down will do double damage if DownIncreaseMultiplier is 1.0, Triple the third, Quadruple the fourth...
        #HEALTH: This will subtract DownIncreaseMultiplier*BaseDamage from the downed health, essentially removing one tick from their healthbar.
        #This is calculated before they're punished for their current down, meaning the first down is the configured downed health, but consecutive downs are Downed - (DownIncreaseMultiplier*BaseDamage)
        DownPunishmentType
    : DAMAGE
        Percentage
    :
         #Should we use percentages for downed health/damage. This keeps the time to bleedout consistent across all health values, be it 10 hearts or 200 hearts
          #Again, 1.0 = 100% 0.05 = 5%
          #This may manifest in weird ways for players with less than 10 hearts, but they will still be damaged appropriately even if they don't take enough damage for it to display on their HUD
          Enabled
    : false
          Downed
    : 1.0
          BaseDamage
    : 0.05
     

    Death messages and titles are configurable too, just in a seperate file

    Code (YAML):
    #Should announcements be sent to players
    Announcements
    :
      Enabled
    : true
      #Should the custom bleedout messages be used if a player ticks out while down?
      BleedOutMessagesEnabled
    : true
      #Should the Message -> Death text be used?
      DeathAnnounce
    : false
      #How far to send messages/titles
      Range
    : 256
      #Should we use titles? If false, will use standard player chat.
      Title
    :
        Enabled
    : false
        #Fade in / sustain / fade out times, in seconds
        FadeIn
    : 0.5
        Time
    : 5
        FadeOut
    : 0.5
      Messages
    :
     #Customizable messages for everything $ represents the section symbol, allowing for colors
      #If a message starts with %, it will need a pair of ' surrounding it
        Downed
    : $4%p has been incapacitated!
        Revived
    : $1%p has been revived!
        SelfRevive
    : $1%p is too stubborn to die!
        Death
    : $8No one revived %p.
        ReviveIncoming
    : You will be revived in %s seconds
        ReviveHeal
    : You will be revived when you reach full health
        ReviveCancelled
    : Damage taken, revive has been cancelled
        ReviveOther
    : '%p is being revived!'
        #Custom messages for when a player dies to a bleedout tick, these will replace the default messages
        BleedOut
    :
          CONTACT
    : '%p bled out after hugging a cactus.'
          DRAGON_BREATH
    : '%p bled out after being burnt by the dragon.'
          DROWNING
    : '%p has really bad memes'
          ENTITY_ATTACK
    : '%p bled out after being attacked.'
          EXPLODE
    : '%p bled out after an explosion.'
          FALL
    : '%p bled out after falling.'
          FALLING_BLOCK
    : '%p bled out after being crushed.'
          FIRE
    : '%p finally burned away.'
          FLY_INTO_WALL
    : '%p bled out after smashing a wall.'
          HOT_FLOOR
    : '%p bled out after stepping on magma.'
          LAVA
    : '%p finally burned away after a lava encounter.'
          LIGHTNING
    : '%p bled out after being struck by lightning.'
          MAGIC
    : '%p bled out after magic happened.'
          POISON
    : '%p succomed to the poison.'
          PROJECTILE
    : '%p bled out after being shot.'
          STARVATION
    : '%p finally starved.'
          SUFFOCATION
    : '%p couldn''t expel the blocks from their lungs.'
          SUICIDE
    : '%p finally ended it.'
          THORNS
    : '%p bled out after hitting thorny armor.'
          VOID
    : '%p had the void stare back at it.'
          WITHER
    : '%p finally withered away.'
          UNKNOWN
    : '%p bled out.'
          Killer
    : '%k finally killed %p.'
     

Recent Updates

  1. Bugs and Bleedthrough
  2. New stuff and bug fixes
  3. Revival of reviving

Recent Reviews

  1. jfdkjfakdkm
    jfdkjfakdkm
    5/5,
    Version: 2.2
    Very nice plugin, but players who are down can still harm other players, you can fix that please
  2. CleCharge9731
    CleCharge9731
    5/5,
    Version: 2.2
    Please add permissions, thanks
    ---------------------------------------------------------
  3. Tommy_Vic
    Tommy_Vic
    5/5,
    Version: 2.2
    Amazing plugin
    But please add team to it or player will revive then knock the victim again and again
    This plugin can not work with out team
  4. SmileyyyFaceee
    SmileyyyFaceee
    5/5,
    Version: 2.2
    Plugin works nicely on my server. Worked personally with the dev. Total cuck, but totally capable at doing what needs to be done.
  5. qsefthuopq
    qsefthuopq
    5/5,
    Version: 2.2
    I Tested it that it worked fine in 1.12.2 and got errors in 1.10.2 .
  6. Gustavo_Player
    Gustavo_Player
    5/5,
    Version: 2.1
    Works in 1.12.2? *thinking*
    1. blaxout1213
      Author's Response
      It should, nothing 1.13 exclusive has been added
  7. firebastard
    firebastard
    4/5,
    Version: v1.5
    Not bad, but I like the idea of the old cooldown system, and that option is broken in the current build.
  8. Kukurucho
    Kukurucho
    5/5,
    Version: v1.5
    Great plugin... but can u add permission forif someone can use or not secondchance?
    and the time that they can use
    Example:
    - secondchance.5 (time permission)
    - secondchance.use (he'll can revive, if he haven't this permission he'll die)
  9. Vreya
    Vreya
    5/5,
    Version: v1.5
    Majestic! This plugin rocks so freaking much. Daamn!
  10. gUnit
    gUnit
    5/5,
    Version: v1.4
    Its a good plugin but please provide videos, gifs, or pictures