ddnet/src/game/server
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
..
entities Merge pull request #1091 from heinrich5991/pr_ddnet_mapbugs 2018-05-07 08:27:29 +02:00
gamemodes Further cleanup 2017-06-02 19:44:14 +02:00
score Proper negative top5 calculation (fixes #1064) 2018-03-05 11:53:55 +01:00
ddracechat.cpp Add a way to call for external moderator help 2018-06-19 23:27:35 +02:00
ddracechat.h Fix help for showall command 2018-06-12 00:30:21 +02:00
ddracecommands.cpp Fix style and imporve performance 2018-04-21 18:45:33 +02:00
entity.cpp fixed compiling using visual studio 2013 by renaming the round function 2014-04-22 23:46:55 +02:00
entity.h Remove mem_alloc and mem_free, use standard C functions instead 2018-04-09 11:56:39 +02:00
eventhandler.cpp Fix various broadcasting issues: 2014-01-12 15:56:16 +01:00
eventhandler.h Also use cstdint on non-MSVC instead of stdint.h 2018-05-29 09:15:00 +02:00
gamecontext.cpp Add a way to call for external moderator help 2018-06-19 23:27:35 +02:00
gamecontext.h Add a way to call for external moderator help 2018-06-19 23:27:35 +02:00
gamecontroller.cpp Fix typo 2018-02-07 16:10:40 +08:00
gamecontroller.h use cstdint also in gamecontroller.h 2018-05-29 11:38:52 +02:00
gameworld.cpp Rework pause. Fixes force_pause 2017-04-09 00:20:41 +02:00
gameworld.h Merge ddrace64 from eeeeee 2013-12-31 06:13:57 +01:00
player.cpp fix pause messages 2018-06-14 22:41:28 +01:00
player.h Add a way to call for external moderator help 2018-06-19 23:27:35 +02:00
save.cpp remove casts to CServer 2017-06-05 20:51:12 -07:00
save.h Revert "Tees must be teamed up before loading" 2017-05-14 22:36:44 +02:00
score.h Overhauled job system 2017-11-23 15:47:38 +01:00
teams.cpp Remove teamkill message on solo teams 2018-03-06 14:08:04 +01:00
teams.h Remove unused teams function 2018-02-27 16:40:52 +01:00
teehistorian.cpp Add a way to call for external moderator help 2018-06-19 23:27:35 +02:00
teehistorian.h Add a way to call for external moderator help 2018-06-19 23:27:35 +02:00