Sueta

Peligon LifeSteal

2.0.0

Gives players a limited number of lives

·Plugin

Intended usage
Using this plugin, you can give players a limited amount of lives which can be good in custom games. When a player dies you can execute a command and when the player reaches 0 lives an action can be taken such as a simple kick, ban or change their gamemode, Players lives can be modified/reset using a command.

All data is saved inside of a database and can be edited with commands in game.

Commands and Permissions
You can view the commands and permissions of this plugin here
https://github.com/Darkw1nged/Peligon-Plugins/wiki/Peligon-LifeSteal-:-Commands-and-Permissions

Default Config
#######################################################################################
#
#       Welcome to Peligon LifeSteal's configuration, This is where you can change
#       Basic settings that will affect how the plugin preforms.
#       This plugin does have database support; see 'Storage' for more information.
#
#######################################################################################

Storage:
  # Visit 'Plugins/PeligonLifeSteal/Lang/' to see the supported languages.
  Language File: "en_US"
  database: "SQLite"

Basic-Settings:
  # How many lives someone starts with.
  starting-lives: 5
  # Only allow players to take lives away from others.
  players-only: false
  # Issue a command when a player dies
  command-on-death:
    enabled: false
    commands:
      - "say &c%player% has just died! They have %lives% lives left!"
      - "say Second message!"

No-Lives:
  ban-player: false
  ban-message: "&c!! You have ran out of lives !!"
  kick-player: false
  kick-message: "&c!! You have ran out of lives !!"
  change-gamemode: true
  gamemode: SPECTATOR

Similar projects

Plugin →