DeathZone | Give the dead a zone and time to revive. icon

DeathZone | Give the dead a zone and time to revive. -----

Zone for the dead and time to be able to revive.



DeathZone
Create a zone so that when a player dies, go to the dead zone and wait for him to revive.

How does it work?
Install the plugin and put it in the plugins folder of your
server and that's it!


Code (YAML):
Config:
  DeathTime
: 3600 # The DeathTime is in seconds (3600 seconds == 1 hours)
  DefaultLives
: 2
  MaxLives
: 20
LivesManageInventory
:
  Items
:
    Add
:
      material
: WOOL
      value
: 5
      name
: "&aAdd Lives"
      slot
: 11
    Info
:
      material
: PAPER
      value
: 0
      name
: "&eLives: &6%lives%"
      slot
: 13
    Remove
:
      material
: WOOL
      value
: 14
      name
: "&cRemove Lives"
      slot
: 15
ReviveInventory
:
  Title
: "&eAre you sure you use a life?"
  Items
:
    Confirm
:
      material
: WOOL
      value
: 5
      name
: "&aConfirm"
      slot
: 11
    TimeRemaining
:
      material
: WATCH
      value
: 0
      name
: "&eTime remaining: &7%time%"
      slot
: 13
    Cancel
:
      material
: WOOL
      value
: 14
      name
: "&cCancel"
      slot
: 15

Code (YAML):
Messages:
  no_permissions
: "&cYou do not have sufficient permissions to use this command."
  reloaded
: "&aThe plugin configuration has been reloaded..."
  command_not_exist
: "&cThis command does not exist..."
  player_not_found
: "&6%player% &chas not been found."
  player_offline
: "&6%player% &cis not connected."
  death
: "&cYou have died! &aNow you have to wait &6%time% &ato revive or use a live."
  death_time
: "&cYou have to wait &6%time% &cto be able to revive or use a live."
  time_remaining
: "&eYou still have &6%time% &eleft to revive."
CorrectUsages
:
  livemanage
: "&cUse &7/live <player>"
  deathzone
: "&cUse &7/deathzone zone death"
  revivezone
: "&cUse &7/deathzone zone revive"
  revive
: "&cUse &7/revive"
  lives
: "&cUse &7/lives"
  staffrevive
: "&cUse &7/staffrevive <player>"
  paylives
: "&cUse &7/paylives <player> <amount>"
Lives
:
  your_lives
: "&eYou have &6%lives% lives&e."
  another_lives
: "&6%player% &ehas &6%lives% lives&e."
  add_message
: "&eType the number of lives you want to add or type &7'&ccancel&7' &eto cancel."
  add
: "&aYou have added &6%lives_add% &alives to &6%player%&a."
  add_max_error
: "&cIt has not been possible to add &6%lives_add% &clives to &6%player% &cbecause it exceeds the maximum lives &7(&emax lives: &6%lives_max%&7)&c."
  add_canceled
: "&aYou have canceled adding lives to &6%player%&a."
  remove_message
: "&eType the amount of lives you want to remove or type &7'&ccancel&7' &eto cancel."
  removed
: "&aYou have removed &6%lives_remove% &alives from &6%player%&a."
  remove_error
: "&cIt has not been possible to remove &6%lives_remove% &clives from &6%player% &cbecause it does not have enough lives."
  remove_canceled
: "&aYou have canceled removing lives from &6%player%&a."
  ammount_error
: "&cYou have to enter a valid number of lives."
Zones
:
  help
:
   - "&6&m<>----------<><✦><>----------<>"
    - ""
    - "&6Zones:"
    - "  &eDeath &7/deathzone zone death"
    - "  &eRevive &7/deathzone zone revive"
    - ""
    - "&6&m<>----------<><✦><>----------<>"
  setted_death
: "&aThe &6death zone &ahas been set correctly."
  setted_revive
: "&aThe &6revive zone &ahas been set correctly."
  not_setted_death
: "&cThe death zone has not been configured, contact an admin to fix it."
  not_setted_revive
: "&cThe revive zone has not been configured, contact an admin to fix it."
Revive
:
  already_life
: "&eYou are alive!"
  without_lives
: "&cYou have %lives% lives! &eYou have to wait &6%time%&e."
  revived
: "&aYou have been revived! &cDon't &4&ldie &r&cagain."
  revived_live
: "&aYou have been revived! You have used one of your lives, now you have &6%lives% lives &aleft."
StaffRevive
:
  already_life
: "&6%player% &eis already alive."
  staff_revived_message
: "&aYou have revived &6%player%&a."
  player_revived_message
: "&eYou have been revived by &6%player%&e."
DonateLives
:
  without_lives
: "&cYou have no lives to donate to &6%player%&c."
  invalid_amount
: "&cEnter a valid number of lives to donate."
  donated
: "&aYou have donated &6%lives% lives &ato &6%player%&a."
  donation_received
: "&aYou have received &6%lives% lives &afrom &6%player%&a."

Code (YAML):
Commands :
 - /dz reload --> Reload the plugin configuration.
  - /dz zone <death/revive> --> Configure the zone where players who die will appear and the zone where players who revive will appear.
  - /staffrevive <player> --> Revive a player who is dead.
  - /live <player> --> Manage a player's lives (add or remove ).
  - /lives [<player> Optional ] --> View your lives or that of a player.
  - /revive --> Revive using life or because you have run out of time.
  - /donatelives <player> <amount> --> Donate an amount of your lives to a player.
 
Permissions
:
 - deathzone.admin --> Permission required to execute the main commands of the plugin [/dz reload or /dz zone ].
  - deathzone.staffrevive --> Permission required to execute the /staffrevive command.
  - deathzone.lives.manage --> Permission required to use the /live command.



Have you found a bug/error?

Report the bug in a review so I can fix it! And also if you have any suggestions you can leave them for future updates!
Resource Information
Author:
----------
Total Downloads: 60
First Release: Aug 21, 2023
Last Update: Aug 21, 2023
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings