Sueta
9

9 HP

1.0

9hp

·Plugin

When entering the server, the player will be set 2 hp (1 heart), he can be reborn 8 times. If the player has 0 hp, then he will be given the observer mode. When a player dies, the plugin notifies everyone in the chat.

TAB List:
upload_2021-2-17_19-37-0.png

upload_2021-2-17_19-28-30.png

Chat:
upload_2021-2-17_19-34-41.png

upload_2021-2-17_19-28-0.png

Commands:
/hp - Displays the number of your HP's.
/sethp (nickname) (0-9) - Sets the number of HP for players.

Permissions:
nineHP.sethp - Allows you to use the /sethp command.

Installing the Russian language:
1. Open the messages.yml file in the plugins folder (plugins/9HP).
2. Replace the text in it with this one:

messages:
  lost-one-hp: "§4§l%player% потерял 1 хп!"
  lost-all-hp: "§4§l%player% потерял все хп!"
  player-not-loaded: "§4Ошибка при получении информации. Переподключитесь к серверу, если это не помогло, обратитесь к администратору сервера."
  number-of-hp: "Количество оставшихся хп: §l%number%."
  how-to-use-sethp: "§4Недопустимые аргументы. Пример: /sethp %player% (0-9)"
  unknown-player: "§4Этот игрок не существует или оффлайн."
  changed-player-hp: "§2Вы изменили количество хп §6%player% §2на: %number%"
  no-permission: "§4У вас недостаточно прав для выполнения этой команды."

3. Save the file and restart the server.

P.S: Add a point system?) The functions are already ready, it remains to use them in the plugin. (Buying lives, paying for using totems, etc.)

Similar projects

Plugin →