- Minecraft Versions
- 1.14.+, 1.15.+, 1.16.+, 1.17.+, 1.18+, 1.19.+, 1.20.+
What is ReviveMe?
- It is a plugin that will give second chances when you are about to die!
- When you are killed you will not die. you will change your status to "Down" and you will be able to move in the world freely but when your time is up you will die
- Ask a friend to revive you before you die.
- If you are the enemy you can open his inventory and steal what is necessary, you will not have to take all the junk items from his inv, just select the best ones!
- You can also revive them by crouching close to them and everything is completely customizable!
How does revive me work?
- Revive Me cancels the damage that would cause him to die and changes him to the downed state. after that you will have a countdown to die, if you are not revived before the time you will simply die.
you can simply surrender by holding down "crouch".
They can also lift you on their head by pressing left click on the injured
How to install it?
- Drag the jar file into your plugins folder
- restart server or load plugin with plugman
- Ready! now just have fun
Depends on other plugins?
- No. it does not need another plugin to work
- You can use other plugins compatible with it, for example Citizens. With this plugin you can knock down or revive an NPC.
- Citizens
- CrackShot
- PlaceHolderApi
- QualityArmory
- Vault
- WorldGuard
- Vulcan
Many other plugins do not generate errors with ReviveMe so they are not on this list but they work perfectly
It is also compatible with team vanilla!
You can decide in configuration how absolutely everything should work!
Here are some example images
Configurations
Code:
########################################################
## | ___ \ (_) | \/ | ##
## | |_/ / ___ __ __ _ __ __ ___ | . . | ___ ##
## | / / _ \\ \ / /| |\ \ / / / _ \| |\/| | / _ \ ##
## | |\ \ | __/ \ V / | | \ V / | __/| | | || __/ ##
## \_| \_| \___| \_/ |_| \_/ \___|\_| |_/ \___| ##
########################################################
#Player configuration and general
player_config:
#speed that the player will have when injured.
downed_speed: 0.04
#time in which the player will die if not revived.
death_delay: 75
#Speed to revive the player (seconds)
reliving_count: 10
#time in which the player is invulnerable.
invulnerability_delay: 15
#You want to disable the totems
enabled_totem: true
#Should the totem be used first before being wounded?
totem_first: true
#the player could commit suicide by pressing "crouch"
suicide_enable: true
#How long you must hold down crouch to suicide. "0" is instadeath
suicide_count: 5
#life that the player will have when injured
downed_health: 1
#life that the player will have when revived
revived_health: 4.0
#You can steal items from injured players with "crouch + right click"
steal_items: false
#minimum distance required to revive
reliving_distance_min: 1.3
#maximum distance you can walk away while reviving before it is canceled
reliving_distance_max: 5
#mobs can attack when you are knocked down?
mobs_target_downed: false
#Can downed players be picked up?
picked_enable: true
#when the player carrying it takes damage should it fall to the ground?
picked_damage_drop: false
#Can the wounded man stop riding the picker?
downed_can_dismount_picker: false
#should the wounded die if there is no player nearby?
check_nearby_players_before_downing: false
#range in which a player should be to not die, if it is 0 the player will die if there is no one on the server and will not die if there is someone connected
check_nearby_players_range: 100
#Here you can choose what to do when the account runs out. can be "Kill" or "Revive"
death_count_action: kill
#enable / disable world options.
worlds_config:
enabled: true
#togle with: Blacklist/Whitelist
mode: Blacklist
list:
- world1
- world2
#enable / disable commands options.
commands_config:
enabled: true
#togle with: Blacklist/Whitelist
mode: Blacklist
list:
- sethome
- createhome
- tpahere
- tpaccept
- tpyes
- tpa
#sounds configuration!
sound_config:
reliving:
sound: BLOCK_NOTE_BLOCK_HARP
volume: 1
yaw: 1
start_reliving:
sound: BLOCK_NOTE_BLOCK_HARP
volume: 1
yaw: 1
stop_reliving:
sound: BLOCK_NOTE_BLOCK_HARP
volume: 1
yaw: 1
sucess_relive:
sound: BLOCK_NOTE_BLOCK_HARP
volume: 1
yaw: 1
suicide_count:
sound: BLOCK_NOTE_BLOCK_BIT
volume: 1
yaw: 1
#compatibility with some plugins
plugins_hooks:
Citizens:
enable: false
downedNpc: false
CrackShot:
enable: false
downed_use_weapon: false
QualityArmory:
enable: false
downed_use_weapon: false
#vanilla teams mode
vanilla_teams_config:
enabled: false
pickup_only_member: true
revive_only_member: true
ignore_permission: true
#options is used to specify the item you want to use. in the other modes you only need the amount
#price Modes: money, item, exp
#reviver_speed Modes: rank, coming soon permission mode
revive_options:
price:
enabled: false
mode: item
amount: 1
ignore_permission: true
options:
material: diamond
has_item_name: '&cReviver item'
has_lore_line: 'put here the text of one of the lines of the lore of your item'
has_lore:
- 'If you want it to work with the item with its exact lore'
- 'you must recreate it here'
reviver_speed:
enabled: false
mode: rank
values:
- 'default: 1'
- 'vip: 2'
- 'doctor: 5'
plugin_config:
metric: true
update_message: true
Code:
#######################################################################################
## | ___ \ (_) | \/ | ##
## | |_/ / ___ __ __ _ __ __ ___ | . . | ___ ##
## | / / _ \\ \ / /| |\ \ / / / _ \| |\/| | / _ \ ##
## | |\ \ | __/ \ V / | | \ V / | __/| | | || __/ ##
## \_| \_| \___| \_/ |_| \_/ \___|\_| |_/ \___| ##
#######################################################################################
victim_messages:
downed: 'You have been seriously injured!'
downed_for_player: '<enemy> has seriously injured you!'
start_reliving: '<reviver> is reviving you.'
stop_reliving: '<reviver> has stopped reviving you.'
revived: 'You have been revived!'
revived_for_player: 'You have been revived by <reviver>!'
enemy_messages:
downed: 'you have seriously injured <victim>'
reviver_messages:
start_reliving: 'You are reviving <victim>'
stop_reliving: 'You stopped reviving <victim>'
sucess_reliving: 'You have successfully revived <victim>'
command_messages:
downed: 'you have seriously injured <victim>'
revived: 'You have successfully revived <victim>'
kill: 'you killed <victim>'
dont_permission: 'you dont have permission'
blocked_command: 'youre too hurt to use this command!'
plugin_messages:
config_reloaded: 'configuration reloaded successfully!'
status_messages:
waiting: 'Waiting'
reliving: 'Reliving'
no_downed: 'No downed'
time_messages:
second: 'second:seconds'
minute: 'minute:minutes'
hour: 'hour:hours'
action_bar_messages:
enabled: true
waiting_text: '&b✙&a: <invulnerability> status: <status> &4☠&c: <death_delay_time>'
reliving_text: 'status: <status>. &4☠&c: <death_delay_time> <bar1>'
receives: 'downed,reviver,picker'
suicide_bar_message:
enabled: true
text: '&cDeath in <suicideBar>'
scoreboard_messages:
enabled: true
receives: 'downed,reviver,picker'
#firsh line is title
waiting_score_board:
- '&aWaiting...'
- ''
- '&4☠&c: <death_delay_time>'
- ''
- '&b✙&a: <invulnerability_time>'
- ''
- '<bar1>'
- ''
- '<bar2>'
reliving_score_board:
- '&aReliving'
- ''
- '&4☠&c: <death_delay_time>'
- ''
- '&b✙&a: <invulnerability_time>'
- ''
- '<bar1>'
- ''
- '&eReliving: &e<reviver>'
boss_bar_messages:
enable: false
receives: 'downed,reviver,picker'
waiting_boss_bar:
progress_type: BossBarDeathDelay
text: '&cWaiting for relive...'
color: red
style: solid
reliving_boss_bar:
progress_type: BossBarRelivingCount
text: '&aReliving for <reviver>'
color: green
style: solid
#You can create loading bars with the letters and symbols that you like the most, change their color and more. you can use as many as you like.
#Modes RelivingCount, DeathDelay, SuicideCount
bar_messages:
bar1:
first_char: '▌'
second_char: '▌'
first_color: '&a'
second_color: '&7'
amount: 20
bar: '&8&l&n|<chars>&8&l&n|'
holder: '<bar1>'
bar_mode: RelivingCount
example_board:
first_char: '《'
second_char: '》'
first_color: '&a'
second_color: '&7'
amount: 15
bar: '&8&l&n『<chars>&8&l&n』'
holder: '<bar2>'
bar_mode: RelivingCount
suicide_bar:
first_char: '☠'
second_char: '☠'
first_color: '&c'
second_color: '&7'
amount: 10
bar: '&8&l&n『<chars>&8&l&n』'
holder: '<suicideBar>'
bar_mode: SuicideCount
#Messages that are sent in the title and subtitle of the screen
title_messages:
enabled: false
receives: 'downed,reviver,picker'
waiting_title: '&cWaiting for reliving'
waiting_subtitle: '&cdeath in <death_delay_time>'
reliving_title: '&aReliving for <reviver>'
reliving_subtitle: '<bar1>'
price_messages:
no_has_pay: '&cYou need <amount> <type> to do this!'
Code:
#######################################################################################
## | ___ \ (_) | \/ | ##
## | |_/ / ___ __ __ _ __ __ ___ | . . | ___ ##
## | / / _ \\ \ / /| |\ \ / / / _ \| |\/| | / _ \ ##
## | |\ \ | __/ \ V / | | \ V / | __/| | | || __/ ##
## \_| \_| \___| \_/ |_| \_/ \___|\_| |_/ \___| ##
#######################################################################################
#ATENTION
#When a enabled is "false" it means that players do not need to have the permission to perform the action.
#Permission for injured players to be revived.
revivable_player_permission:
enabled: false
permission: 'reviveme.revivable'
#Permission players need to be able to revive a wounded
reviver_player_permission:
enabled: false
permission: 'reviveme.reviver'
#Permission that an injured person needs so that they can take with right click
pickable_player_permission:
enabled: false
permission: 'reviveme.pickable'
#Permission that a player needs to be able to take others on his shoulders
picker_player_permission:
enabled: false
permission: 'reviveme.picker'
#Permission the player needs to be knocked down
downeable_player_permission:
enabled: false
permission: 'reviveme.downable'
#Permission that the wounded person needs so that they can rob him with right click + crouch
stealable_player_permission:
enabled: false
permission: 'reviveme.stealable'
#Permission needed by the thief to open the injured person's inventory with right click + crouch
robber_player_permission:
enabled: true
permission: 'reviveme.robber'
Code:
#######################################################################################
## | ___ \ (_) | \/ | ##
## | |_/ / ___ __ __ _ __ __ ___ | . . | ___ ##
## | / / _ \\ \ / /| |\ \ / / / _ \| |\/| | / _ \ ##
## | |\ \ | __/ \ V / | | \ V / | __/| | | || __/ ##
## \_| \_| \___| \_/ |_| \_/ \___|\_| |_/ \___| ##
#######################################################################################
#the downed player can hit?
enable_damage: false
#can the downed player interact with entities?
enable_entity_interact: true
#can the downed player break blocks?
enable_block_break: true
#can the downed player place blocks?
enable_block_place: true
#can the downed player interact?
enable_interact: true
#the downed player can move?
enable_move: true
#can the downed player teleport?
enable_teleport: true
#can the downed player shoot with a bow?
enable_shoot_bow: true
#can the downed player launch projectiles?
enable_projectile_launch: true
#downed player can be damaged by falling?
enable_fall_damage: false
#Can the downed player drop items?
enable_item_drop: true
#Can the downed player pick up items?
enable_item_pickup: true
Code:
#######################################################################################
## | ___ \ (_) | \/ | ##
## | |_/ / ___ __ __ _ __ __ ___ | . . | ___ ##
## | / / _ \\ \ / /| |\ \ / / / _ \| |\/| | / _ \ ##
## | |\ \ | __/ \ V / | | \ V / | __/| | | || __/ ##
## \_| \_| \___| \_/ |_| \_/ \___|\_| |_/ \___| ##
#######################################################################################
#Events: here you can execute commands and some functions depending on the type of situation that is happening. you have some examples that you can look at and learn from them.
#conditions are functions that need to meet a condition for it to work. you also have an example with "PotionOwO"
#options:options:{receive_permission=reviveme.doctor,to_nearby_players=100}
player_downed_event:
enabled: false
actions:
- '[broadcast] options:{receive_permission=reviveme.doctor,to_nearby_players=100}player <victim> is downed! help her!'
player_reliving_event:
enabled: true
actions:
- '[particle] <victim> heart <victim_x> <victim_y> <victim_z> <victim_w> 1'
- '[particle] <reviver> heart <victim_x> <victim_y> <victim_z> <victim_w> 1'
player_start_reliving_event:
enabled: false
actions:
- '[victim] msg <reviver> thanks!'
player_stop_reliving_event:
enabled: false
actions:
- '[victim] msg <reviver> sad :C'
player_count_death_delay:
enabled: true
actions:
- '[condition] potionOwO'
player_revive_event:
enabled: false
actions:
- '[reviver] msg <victim> lets go!'
player_pickup_downed_event:
enabled: false
actions:
- '[picker] msg <victim> a'
player_drop_downed_event:
enabled: false
actions:
- '[picker] msg <victim> b'
conditions:
potionOwO:
condition: '%reviveme_death_delay% == 10'
actions:
- '[potion] <victim> blindness 11 1'
example2:
condition: '%player_name% == FavioMC19'
actions:
- '[console] rm revive FavioMC19'
- '[console] heal FavioMC19'
In events.yml they can create "functions" to execute commands or certain actions in some moments of the game.
Here are some examples and I will add much more detail in the future.
Code:
/ReviveMe Help | permission: 'reviveme.command.help' #get a list of all the commands you have access to
/ReviveMe Revive <Player> | permission: 'reviveme.command.revive' #revive an injured player
/ReviveMe Down <Player> | permission: 'reviveme.command.down' #You hurt a player to put him on the floor
/ReviveMe kill <Player> | permission: 'reviveme.command.kill' #kill a player regardless of their status
/Reviveme suicide | permission: 'reviveme.command.suicide' #you commit suicide if you dont want to wait
/ReviveMe reload | permission: 'reviveme.command.reload' #reloads all configurations
PlaceHolderApi list
- %reviveme_status%
- %reviveme_death_delay%
- %reviveme_invulnerability_delay%
- %reviveme_bar:<Bar name>% example %reviveme_bar:bar1%
Compatibility With HexColors. examples:
https://www.hexcolortool.com/#484f9d
ǤF9D