Second Chance
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.
Features
- Revive your fallen friends with a single right click
Video
A handy-dandy video made by ShinyTinselWorm (Thanks BTW)
Metrics(1.6a and before)
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Current servers/players:
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Biggest change in 2.0
In 2.0, an alternative to the cooldown system was implemented. Instead of dying while being on cooldown, you become incapacitated again, but bleedout damage increases, shortening the time you have to live. By default, your first down is forgiving, dealing a single hitpoint per decay tick (60 seconds until bleedout by default), but the second time is much harsher, taking two hitpoints each tick (30 seconds). Every down adds another point of damage, until its nigh impossible to be revived, stay healthy out there!
Config file
GeneralOptions: OverKill: -20 #How much extra damage to make a revive impossible. Bringing someone to this amount of hitpoints or lower outright kills them DownedOptions: CrawlSpeed: 0.07 #How fast can a downed person crawl (0.2 is walking speed) MobInvisibility: false #Do mobs ignore you when down? Damage: Outgoing: 0.0 #Damage dealt by a downed person is multiplied by this amount Incoming: 0.5 #Damage dealt to a downed person is multiplied by this amount (only affects attacks from mobs/players) ReviveOptions: Absorption: Enabled: true #Should revived players get an absorption effect? Length: 7 #For how many seconds? Power: 1 #And how strong? (1 equates to Absorption II) ThrowRevive: false #Can someone be revived by a thrown healing potion? KillRevive: false #Can someone be revived by getting a kill? SelfReviveChance: 0.05 #Chance to get back up on your own from the brink of death. 0 disables, can only occur on the last tick of bleeding. Health: Flat: 6.0 #How much health to be revived with? Percentage: Enabled: false #Should it be a percentage instead? Amount: 0.3 #How much of a percentage of max health should be given? CooldownOptions: Cooldown: Enabled: false #Should the old cooldown system be enforced? Time: 2.0 #Once revived, you simply die if you would go down again before this amount of minutes is up CanceledByHeal: false #Should the cooldown be immediately completed when you heal? DownResetTime: 2.0 #If not using the cooldown system, how long should it take for you to recover from a single down(in minutes) BleedingOptions: Health: Downed: 20.0 #How many hitpoints does a freshly downed person have? Decay: 3 #How long does it take for one hitpoint to bleed away DownIncreaseMultiplier: 1.0 #How much to add to the damage multiplier after a down Announcements: Enabled: true #Should everyone be informed about a down? Range: 256 #To what distance (0 for global) Messages:<br /> #What to say? %p is the player that has been downed Downed: '%p has been incapacitated!' Revived: '%p has been revived!' SelfRevive: '%p is too stubborn to die!' Death: No ones revived %p.
If you have a server running this, let me know in the comments
Is it possible to turn off the by hand revive?
Can you add permission pls ty very nice plugin 1.12.2
Download is ThirdChance.jar?
Can you add permission + language inside so i can edit ? My server isn't using english
In reply to TommyVic:
In reply to burninghiyo:
It would be useful because you can choose who can revive and who not.
I hope you will read this becease i could use it on my server but not without the permissions
@blaxout1213
Ah, alright cool. Was expecting a PM since I don't get notifications for comments, but alright thanks.
@The_PC_Tech_Guy
I lost the original source code when i formatted my hard drive, but if your willing to decompile it and rebuild from there, be my guest, i wont stop you
EvE-World is running this plugin.
Thank you so much!
@blaxout1213
@gizmocodes
Seemed to work for me when I attempted to use colors and formatting. Had to use the § section symbol though (I initially used \xa7(color code) but it auto-converted it to a section symbol).
Also, this doesn't seem to play nice with NoCheatPlus. Perhaps add an exemption as a player is dying? Or better yet, trigger a custom command so I could deal with this (and also display a title message to the player)
We'd also appreciate it if the code was open source... I'd be happy to continue this plugin (somewhat), if you give me permission to do so.
Doesn't seem to work well with plugins that add extra hearts to a player. Puts player in incapacitated state after 10 (20 half hearts) have been depleted, regardless of max health. Also, Incapped-health-decay seems to be fixed at 3, even when attempting to change it to 1
Update: It seems that it works with extra hearts as long as the player reconnects when either the plugin is reloaded or hearts are changed. However, the latter issue is still present.
@blaxout1213 Mind If you could add a config option to disable right click revive? Thanks!
EDIT: Oh and by the way i'll add this to my server if this request is added.
@gizmocodes
The config dosnt support color codes, and the colors of the messages are hardcoded and cannot be changed.
This is a really cool plugin, but whenever I modify the config it reverts back to the original messages. I've done it with multiple editors, had the server off, reloaded, and all sorts of stuff, but no matter what it always either (A: Reverts to default messages) or (B: Ignores the color codes completly.). Here is my config file if needed, and I get no errors in the config. Do I need to use that fancy 'S' looking icon for it, or the /u00A76 code? Anyways, the config: http://pastebin.com/83UwvXgK
@blaxout1213
I figured out what was wrong. I need to stop the server before editing the configuration file.
@u7uu7u7
Try editing it by hand using Notepad , if that dosnt work, try setting the file to read only
@blaxout1213
Multicraft Control Panel http://www.multicraft.org/
the built in web based file manager
http://www.multicraft.org/site/userguide?view=config
@u7uu7u7
What text editor are you using?
@blaxout1213
I tried, but it returns to its original state after a server restart.
And also to reboot displays only the default message.