Selfkill - cyrillePrigent/uMod GitHub Wiki
Description
Selfkill management.
Server configuration
Mode at witch the specified self kills restriction will be selected.
Value | Description |
---|---|
0 | None restriction |
1 | Self kills are disabled |
2 | Self kills in fight restriction |
3 | Self kills limit restriction |
Valid values | Default value |
---|---|
0 - 3 | 0 |
set u_selfkill_mode "0"
How many selfkills are allowed:
Value | Description |
---|---|
0 | disabled. |
superior to 0 | amount of selfkills / map |
Default value |
---|
3 |
set u_selfkill_limit "3"
How long do you have to wait (in seconds) before killing yourself if you are dead:
Default value |
---|
3 |
set u_selfkill_hit_wait "3"
Warn from X percent (0 - 1.0): after how many self kills, shall a warning be displayed?
exemple :
example1: u_selfkill_limit = 5, u_selfkill_warn_percentage = 0.66 => warnings after 4th selfkill
example2: u_selfkill_limit = 10, u_selfkill_warn_percentage = 0.50 => warnings after 5th selfkill
Default value |
---|
0.33 |
set u_selfkill_warn_percentage "0.33"
Mode at witch the specified self kills punishment will be selected.
Value | Description |
---|---|
0 | Warning |
1 | Put spectator |
2 | Inflicts penalties in ammo and health |
3 | Kick |
4 | Wait 3 seconds before execute self kill (Work only with self kills in fight restriction) |
Valid values | Default value |
---|---|
0 - 4 | 0 |
set u_selfkill_punishment "0"
Where to put the self kill msgs, see comment below.
See https://github.com/cyrillePrigent/uMod/wiki/Position-of-module-Message for valid locations.
set u_selfkill_msg_position "chat"