|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "banning.qh"#include <common/command/_mod.qh>#include <common/minigames/sv_minigames.qh>#include <common/state.qh>#include <common/stats.qh>#include <common/util.qh>#include <common/weapons/_all.qh>#include <server/command/common.qh>#include <server/ipban.qh>#include <server/player.qh>Go to the source code of this file.
Macros | |
| #define | BAN_COMMAND(name, function, description) |
| #define | BAN_COMMAND(name, function, description) |
| #define | BAN_COMMAND(name, function, description) |
| #define | BAN_COMMAND(name, function, description) |
| #define | BAN_COMMANDS(request, arguments, command) |
Functions | |
| float | BanCommand (string command) |
| void | BanCommand_ban (int request, int argc, string command) |
| void | BanCommand_banlist (int request) |
| void | BanCommand_kickban (int request, int argc, string command) |
| float | BanCommand_macro_command (int argc, string command) |
| void | BanCommand_macro_help () |
| float | BanCommand_macro_usage (int argc) |
| void | BanCommand_macro_write_aliases (float fh) |
| void | BanCommand_mute (int request, int argc, string command) |
| void | BanCommand_playban (int request, int argc, string command) |
| void | BanCommand_unban (int request, int argc) |
| void | BanCommand_unmute (int request, int argc) |
| void | BanCommand_unplayban (int request, int argc) |
| void | BanCommand_unvoteban (int request, int argc) |
| void | BanCommand_voteban (int request, int argc, string command) |
| #define BAN_COMMAND | ( | name, | |
| function, | |||
| description ) |
| #define BAN_COMMAND | ( | name, | |
| function, | |||
| description ) |
| #define BAN_COMMAND | ( | name, | |
| function, | |||
| description ) |
| #define BAN_COMMAND | ( | name, | |
| function, | |||
| description ) |
| #define BAN_COMMANDS | ( | request, | |
| arguments, | |||
| command ) |
Definition at line 467 of file banning.qc.
Referenced by BanCommand_macro_command(), BanCommand_macro_help(), BanCommand_macro_usage(), and BanCommand_macro_write_aliases().
Definition at line 520 of file banning.qc.
References BanCommand_macro_command(), and tokenize_console.
Referenced by GameCommand().
Definition at line 19 of file banning.qc.
References argv(), autocvar_g_ban_default_bantime, Ban_Insert(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, GET_BAN_ARG, GET_BAN_REASON, LOG_HELP, and LOG_INFOF.
Definition at line 55 of file banning.qc.
References Ban_View(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, and LOG_HELP.
Definition at line 76 of file banning.qc.
References argv(), autocvar_g_ban_default_bantime, autocvar_g_ban_default_masksize, Ban_KickBanClient(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, entity(), GET_BAN_ARG, GET_BAN_REASON, GetClientErrorString, GetIndexedEntity(), LOG_HELP, LOG_INFO, LOG_INFOF, next_token, and VerifyKickableEntity().
Definition at line 489 of file banning.qc.
References BAN_COMMANDS, and CMD_REQUEST_COMMAND.
Referenced by BanCommand().
| void BanCommand_macro_help | ( | ) |
Definition at line 480 of file banning.qc.
References BAN_COMMANDS.
Referenced by GameCommand().
Definition at line 500 of file banning.qc.
References BAN_COMMANDS, and CMD_REQUEST_USAGE.
Referenced by GameCommand().
Definition at line 511 of file banning.qc.
References BAN_COMMANDS.
Referenced by GENERIC_COMMAND().
Definition at line 123 of file banning.qc.
References argv(), autocvar_g_chatban_list, CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, cons(), CS(), cvar_set(), entity(), GetCallerName(), GetClientErrorString, GetIndexedEntity(), LOG_HELP, LOG_INFO, LOG_INFOF, PlayerInIDList(), PlayerInIPList(), strcat(), and VerifyClientEntity().
Definition at line 166 of file banning.qc.
References argv(), autocvar_g_playban_list, autocvar_g_playban_minigames, CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, cons(), cvar_set(), entity(), GetCallerName(), GetClientErrorString, GetIndexedEntity(), LOG_HELP, LOG_INFO, LOG_INFOF, part_minigame(), PlayerInIDList(), PlayerInIPList(), PutObserverInServer(), strcat(), and VerifyClientEntity().
Definition at line 212 of file banning.qc.
References argv(), Ban_Delete(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, LOG_HELP, stof(), and substring().
Definition at line 258 of file banning.qc.
References argv(), autocvar_g_chatban_list, CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, CS(), cvar_set(), entity(), FOREACH_WORD, GetCallerName(), GetClientErrorString, GetIndexedEntity(), LOG_HELP, LOG_INFO, LOG_INFOF, strcat(), and VerifyClientEntity().
Definition at line 305 of file banning.qc.
References argv(), autocvar_g_playban_list, CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, cvar_set(), entity(), FOREACH_WORD, GetCallerName(), GetClientErrorString, GetIndexedEntity(), LOG_HELP, LOG_INFO, strcat(), and VerifyClientEntity().
Definition at line 350 of file banning.qc.
References argv(), autocvar_g_voteban_list, CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, cvar_set(), entity(), FOREACH_WORD, GetCallerName(), GetClientErrorString, GetIndexedEntity(), LOG_HELP, LOG_INFO, strcat(), and VerifyClientEntity().
Definition at line 395 of file banning.qc.
References argv(), autocvar_g_voteban_list, CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, cons(), cvar_set(), entity(), GetCallerName(), GetClientErrorString, GetIndexedEntity(), LOG_HELP, LOG_INFO, LOG_INFOF, PlayerInIDList(), PlayerInIPList(), strcat(), and VerifyClientEntity().