Allow kicking dead players

This commit is contained in:
Gustas
2022-12-06 15:48:04 +02:00
committed by Matthias Mailänder
parent c4bd9fb7aa
commit bf00577d33
7 changed files with 106 additions and 43 deletions

View File

@@ -133,6 +133,19 @@ Container@SKIRMISH_STATS:
Checkmark: mute
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
Button@KICK:
X: 485
Width: 25
Height: 25
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
TooltipText: Kick this player
Children:
Image:
ImageCollection: lobby-bits
ImageName: kick
X: 7
Y: 7
Container@SPECTATOR_TEMPLATE:
Width: PARENT_RIGHT - 27
Height: 25

View File

@@ -130,6 +130,19 @@ Container@SKIRMISH_STATS:
Checkmark: mute
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
Button@KICK:
X: 485
Width: 25
Height: 25
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
TooltipText: Kick this player
Children:
Image:
ImageCollection: lobby-bits
ImageName: kick
X: 7
Y: 7
Container@SPECTATOR_TEMPLATE:
Width: PARENT_RIGHT - 26
Height: 25

View File

@@ -64,8 +64,9 @@ notification-invalid-configuration-command = Invalid configuration command.
notification-admin-option = Only the host can set that option.
notification-error-number-teams = Number of teams could not be parsed: { $raw }
notification-admin-kick = Only the host can kick players.
notification-kick-self = The host is not allowed to kick themselves.
notification-kick-none = No-one in that slot.
notification-no-kick-game-started = Only spectators can be kicked after the game has started.
notification-no-kick-game-started = Only spectators and defeated players can be kicked after the game has started.
notification-admin-clear-spawn = Only admins can clear spawn points.
notification-spawn-occupied = You cannot occupy the same spawn point as another player.
notification-spawn-locked = The spawn point is locked to another player slot.

View File

@@ -132,6 +132,19 @@ Container@SKIRMISH_STATS:
Checkmark: mute
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
Button@KICK:
X: 485
Width: 25
Height: 25
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
TooltipText: Kick this player
Children:
Image:
ImageCollection: lobby-bits
ImageName: kick
X: 7
Y: 7
Container@SPECTATOR_TEMPLATE:
Width: PARENT_RIGHT - 27
Height: 25