heinrich5991
57e26450b2
Unify spelling of Modhelp
...
Since the command name is `/modhelp` it should be written `Modhelp` in
camel case.
2018-06-24 11:03:18 +02:00
heinrich5991
36694d3852
Add a way to call for external moderator help
...
This is done by HTTP POSTing to a location specified by
`sv_modhelp_url`. We also provide a `src/modhelp/server.py` which can
use theses POSTs to forward them to Discord servers.
The POST contains a JSON object payload, with the keys `"port"` which
contains the server port, `"player_id"` which contains the calling
player's client ID, `"player_name"` which contains the calling player's
nick and `"message"` which is the user-specified message.
Make JSON-escaping function public, add tests and fix bugs uncovered by
these tests.
Supersedes #1129 .
2018-06-19 23:27:35 +02:00
Dennis Felsing
722087ba29
Merge pull request #1091 from heinrich5991/pr_ddnet_mapbugs
...
Add infrastructure for preserving bugs
2018-05-07 08:27:29 +02:00
heinrich5991
81aeb30654
Also add a console command to enable map compatibility mode
2018-05-01 12:38:33 +02:00
ChillerDragon
32189f8485
Pointer naming convention
2018-04-19 11:51:10 +02:00
ChillerDragon
c1952d3ff1
'VoteBan' -> 'VoteMute'
2018-04-19 11:49:18 +02:00
ChillerDragon
6b26751eba
Fixes style and shows ban message only in console
2018-04-19 11:01:27 +02:00
ChillerDragon
835f560013
Add vote_ban rcon command
2018-04-18 19:26:49 +02:00
def
8d98bd4e9f
Projectiles explode per team
2018-04-04 19:48:46 +02:00
Dennis Felsing
f8a00ad8af
Merge pull request #1000 from Ryozuki/pr_modhelp_chat_cmd
...
Add /modhelp chat command
2018-04-03 10:21:01 +02:00
heinrich5991
4576dae6aa
Add infrastructure for special-casing maps
2018-03-24 14:00:41 +01:00
ChillerDragon
052e67c541
Add broadcast importance ( fixes #669 )
2018-03-07 17:22:41 +01:00
def
ad99c58528
Add /pausevoted and /specvoted
...
- Also fix /pause and /spec with name parameter a bit
- Move out common code between pause/spec
2018-03-01 19:46:07 +01:00
Learath
bc11fc2a35
Add GameUuid to teamscore aswell
...
Also get GameUuid through an interface.
2018-02-07 16:43:36 +01:00
Learath
4a52bca55d
Include the teehistorian uuid instead
2018-02-07 00:35:21 +01:00
Ryozuki
79fedff12d
add /modhelp chat command
2018-01-21 01:32:55 +01:00
Ryozuki
e59387a304
revision changes
2018-01-18 16:17:23 +01:00
Ryozuki
1e88ad92a0
add vote_no command and show auth rank in force vote
2018-01-18 07:56:07 +01:00
Ryozuki
d6eb604718
add rcon moderate mode
2018-01-05 15:23:08 +01:00
heinrich5991
8e778cd9ab
Address pull request comments
2017-10-13 02:29:18 +02:00
heinrich5991
4d05a2379b
Make teehistorian asynchronous
2017-10-10 04:11:14 +02:00
heinrich5991
9761e9606a
Make most user input teehistoric
...
Exclude private stuff like chat messages and votes.
2017-09-20 02:23:28 +02:00
heinrich5991
6ef9c8dbcd
First working version of teehistorian
...
teehistorian records all inputs from the players as well as the player
positions in each tick. It stores this info in a highly compressible
output format (I've achived 5x compression using xz or bz2).
2017-09-20 02:16:11 +02:00
heinrich5991
6247aa0c7f
Enable -Wextra
and -Wformat=2
...
Also annotate `dbg_msg`, `str_format` and `str_timestamp_ex` so that the
compiler can determine whether the format strings are correct.
Fix the compiler warnings generated by these extra warnings -- some of
them were security issues.
2017-07-27 20:38:17 +02:00
eeeee
2797227063
also remove references to CGameContext from CServer
2017-06-05 22:31:56 -07:00
Learath
a1d2212696
Change behaviour for kick votes in teams
2017-04-25 19:10:22 +02:00
Learath2
309d47e933
Revert "Remove invite system entirely since no one wants to fix it"
...
This reverts commit 99cc9d2c0b
.
2017-04-23 22:50:07 +02:00
def
99cc9d2c0b
Remove invite system entirely since no one wants to fix it
2017-04-23 17:51:29 +02:00
def
9e7eb9c142
Remove /uninvite
2017-04-13 10:34:19 +02:00
Learath2
9319a82c6e
Add /invite for locked teams. Fixes #647
2017-03-06 12:14:38 +01:00
BannZay
a96ebde93a
getting jetpack through remote
2016-10-10 15:18:06 +03:00
H-M-H
cd41220a44
wait for score-threads on shutdown
2016-05-04 15:32:24 +02:00
heinrich5991
384668928b
Add sv_join_vote_delay
...
This is a new delay that specifies how many seconds you have to wait
before making your first vote. In case the server was only recently
filled (e.g. by a map change or if people start joining an empty
server), this delay is disabled (in the first case, because it's normal
to join after a map change, in the second case because you might have
joined the empty server to vote for a different map).
2016-01-19 23:52:28 +01:00
SushiTee
7bd0f276d4
saving server settings within the map and loading them on init
2015-08-27 12:51:24 +02:00
heinrich5991
a3246ed099
Save the config into the map when the server loads the map
2015-08-27 12:51:24 +02:00
def
a04578b3ba
Add switch_open to set the initial state of a switch to open
2015-07-22 23:32:39 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
def
a77cd039a6
Get rid of all Clang warnings
2015-04-18 22:29:28 +02:00
timgame
62aa011734
added /r, /rescue: teleport yourself out of freeze
2015-04-16 17:37:57 +02:00
def
023f926e89
Fix Compilation
2014-12-20 16:35:47 +01:00
def
21472046df
Remove magic number: 256 -> NUM_TUNINGZONES
2014-11-25 22:47:25 +01:00
east
630fd4fa07
sending vote options balanced
2014-10-26 19:39:42 +01:00
def
e0a16e0644
/mapinfo: Show mapper name
2014-10-11 12:58:27 +02:00
savander
1577201364
Kill protection
2014-08-24 23:24:33 +02:00
def
75538e32cc
make sv_vote_max_total only work for kick and spec votes
2014-08-12 13:41:57 +02:00
def
2980bd77e8
Add /specteam
2014-08-09 19:53:38 +02:00
def
f859f350ca
Kind of working with timeout code
2014-08-09 17:25:29 +02:00
def
145f0434f5
Add /save by the glorious HMH
2014-07-26 14:46:31 +02:00
def
eaeaf54250
Add freezehammer/unfreezehammer for blocker
2014-07-16 02:59:39 +02:00
def
a7329d0a14
Add random_unfinished_map
2014-06-20 22:40:23 +02:00