mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
36694d3852
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. |
||
---|---|---|
.. | ||
authmanager.cpp | ||
authmanager.h | ||
name_ban.cpp | ||
name_ban.h | ||
register.cpp | ||
register.h | ||
server.cpp | ||
server.h | ||
sql_connector.cpp | ||
sql_connector.h | ||
sql_server.cpp | ||
sql_server.h | ||
sql_string_helpers.cpp | ||
sql_string_helpers.h |