Life icon

Life -----

Life system - after losing all of their life, the user is banned.



life.png Requirments:
  • java 1.8

Features:
  • custom item from config which adding life,
  • ban after lose all life
Commands:
  • /life add <nick> <number> - add life to player
  • /life remove <nick> <number> - remove life from player
  • /life set <nick> <number> - set life to player
  • /life give <nick> <number> - give life to player
  • /life item - get item which give life
  • /life reload - reload config

Code (YAML):
messages:
  command-in-console
: '&cYou cant use this command in console!'
  no-life-placeholder
: '&cBe careful! You have last life.'
  unknown-player
: '&cUnknown player!'
  number-of-life
: '&aYour life : %life%'
  number-of-life-player
: '&aLife of %player% is: %life%'
  no-permission
: '&cYou dont have permission to this command!'
  add-life-success
: '&aYou add %number% life to %player%!'
  remove-life-success
: '&cYou remove %number% life from %player%!'
  set-life-success
: '&aYou set %number% life to %player%!'
  give-life-success
: '&aYou gave %number% life to %target%!'
  give-life-success-to-target
: '&aYou received %number% life from %player%!'
  give-life-error
: '&cYou must have at least 1 life!'
  item-add-life-success
: '&aYou received item!'
  invalid-usage
: '&cInvalid usage of command!'
  perm-ban-reason
: '&cYou have been banned permanently for the lack of lives!'
  temp-ban-reason
: '&cYou have been banned temporarily for the lack of lives. Ban passes for %time%'
  reload-message
: '&aYou successfully reloaded config!'
  number-exception
: '&cThis isnt number!'
  life-number-exception
: '&cGiven number isnt positive!'
  self-give-life
: '&cYou cant give life yourself!'
  message-on-death
: '&cYou lost %number% life.'
  message-on-click
: '&aYou received %number% life.'
  days
: '&cdays'
  hours
: '&chours'
  minutes
: '&cminutes'

ban
:
  perm
: false
  days
: 0
  hours
: 1
  minutes
: 1

settings
:
  starting-life-number
: 3
  remove-life-on-death-number
: 1
  enable-message-on-death
: true

add-life-item
:
  enabled
: true
  enable-message-on-click
: true
  name
: '&cLife %number%'
  material
: 'RED_WOOL'
  life-to-add
: 1
  lore
:
   - '&aClick to get %number% life!'

world-guard
:
  enabled
: true
  regions
:
   - 'spawn'

Code (YAML):

  life.commands.add
:
    description
: Access to command /life add <nick> <number>
    default
: op
  life.commands.remove
:
    description
: Access to command /life remove <nick> <number>
    default
: op
  life.commands.set
:
    description
: Access to command /life set <nick <number>
    default
: op
  life.commands.item
:
    description
: Access to command /life item
    default
: op
  life.commands.reload
:
    description
: Access to command /life reload
    default
: op
  life.commands.give
:
    description
: Access to command /life give <nick> <number>
    default
: op
  life.commands.*
:
    description
: Access to all commands
    default
: op
    children
:
      life.commands.add
: true
      life.commands.remove
: true
      life.commands.set
: true
      life.commands.item
: true
      life.commands.reload
: true
      life.commands.give
: true

Supports:
  • PlaceholderAPI
    %life_life-number% to get number life of player
    %life_life-hearts% to get hearts life of player
  • WorldGuard
    you can set regions where life is not removed from the player after death
Resource Information
Author:
----------
Total Downloads: 187
First Release: May 13, 2022
Last Update: Sep 16, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings