]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Improve sv_spectate 0 notifications and description, refactor nospectators command
authorbones_was_here <bones_was_here@xonotic.au>
Sat, 13 Jul 2024 15:04:57 +0000 (01:04 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 5 Aug 2024 16:26:28 +0000 (02:26 +1000)
commit555540100210b8ad198f4671f06b92c1a538d06b
tree7f264fb97ba30fc03eb3ad79caf04500dd4d2236
parentb8a03b353ffeebb939b053a0e8c30af28d56eeb9
Improve sv_spectate 0 notifications and description, refactor nospectators command

The blockSpectators global is redundant.
See https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1289

Players are now given the grace period and SPECTATE_WARNING when
sv_spectate is disabled during a game, as well as when `nospectators` is
voted.

Centreprints are added and displayed when they don't conflict with join
restriction centreprints.
notifications.cfg
qcsrc/common/notifications/all.inc
qcsrc/server/client.qc
qcsrc/server/client.qh
qcsrc/server/clientkill.qc
qcsrc/server/command/cmd.qc
qcsrc/server/command/sv_cmd.qc
xonotic-server.cfg