# IEliminationManager
> Manages player elimination settings and behavior.
`gg.lode.observerapi.api.manager`
---
## Signature
```java
public interface IEliminationManager
```
---
## Methods
### isEnabled
```java
boolean isEnabled()
```
**Returns:** `boolean` - `true` if elimination is enabled
---
### setEnabled
```java
void setEnabled(boolean enabled)
```
| Parameter | Type | Description |
|-----------|------|-------------|
| `enabled` | `boolean` | Whether elimination is enabled |
---
### getDeathMessage
```java
String getDeathMessage()
```
**Returns:** `String` - the death message template
---
### setDeathMessage
```java
void setDeathMessage(String message)
```
| Parameter | Type | Description |
|-----------|------|-------------|
| `message` | `String` | The death message template |
---
### getKickMessage
```java
String getKickMessage()
```
**Returns:** `String` - the message shown when a player is kicked on elimination
---
### setKickMessage
```java
void setKickMessage(String message)
```
| Parameter | Type | Description |
|-----------|------|-------------|
| `message` | `String` | The kick message |
---
### isAutoBanEnabled
```java
boolean isAutoBanEnabled()
```
**Returns:** `boolean` - `true` if auto-ban on elimination is enabled
---
### setAutoBanEnabled
```java
void setAutoBanEnabled(boolean enabled)
```
| Parameter | Type | Description |
|-----------|------|-------------|
| `enabled` | `boolean` | Whether auto-ban is enabled |
---
### getAutoBanBypass
```java
String getAutoBanBypass()
```
**Returns:** `String` - the permission node that bypasses auto-ban
---
### setAutoBanBypass
```java
void setAutoBanBypass(String permission)
```
| Parameter | Type | Description |
|-----------|------|-------------|
| `permission` | `String` | The bypass permission node |
---
### shouldLightningOnKill
```java
boolean shouldLightningOnKill()
```
**Returns:** `boolean` - `true` if lightning strikes on elimination
---
### setLightningOnKill
```java
void setLightningOnKill(boolean enabled)
```
| Parameter | Type | Description |
|-----------|------|-------------|
| `enabled` | `boolean` | Whether to strike lightning on kill |
---
### getGamemodeOnDeath
```java
GameMode getGamemodeOnDeath()
```
**Returns:** `GameMode` - the game mode set on the player after elimination
---
### setGamemodeOnDeath
```java
void setGamemodeOnDeath(GameMode gameMode)
```
| Parameter | Type | Description |
|-----------|------|-------------|
| `gameMode` | `GameMode` | The game mode to set after death |
---
### isAutoRespawn
```java
boolean isAutoRespawn()
```
**Returns:** `boolean` - `true` if players automatically respawn after elimination
---
### setAutoRespawn
```java
void setAutoRespawn(boolean enabled)
```
| Parameter | Type | Description |
|-----------|------|-------------|
| `enabled` | `boolean` | Whether auto-respawn is enabled |
---
## Related Pages
- [[PlayerEliminatedEvent]]
- [[IObserverAPI]]