> For the complete documentation index, see [llms.txt](https://devprzemus.gitbook.io/lifesteal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devprzemus.gitbook.io/lifesteal/configuration/custom-commands.md).

# Custom Commands

Set your own commands when a player is eliminated or revived.

## `mode`

There are 3 modes.

`disabled` - custom commands are **disabled**.

`enabled` - custom commands are **enabled**, **but core things** that the plugin did when a player was eliminated/revived are **disabled**.

`both` - custom commands as well as the core things the plugin did are **enabled**.

## **Placeholders**

There **are** placeholders for **custom commands**.

For **onBan** event only placeholder is ${player}, which returns banned player's name.

For **onRevive** event there are 2 placeholders. ${revived} states for revived player's name, and ${reviving} states for name of player that is reviving someone.
