Xonotic
banning.qh
Go to the documentation of this file.
1 #pragma once
2 
13 
14 #define GET_BAN_ARG(v, d) if (argc > reason_arg) { if ((v = stof(argv(reason_arg))) != 0) ++reason_arg; else v = d; } else { v = d; }
15 #define GET_BAN_REASON(v, d) if (argc > reason_arg) v = substring(command, argv_start_index(reason_arg), strlen(command) - argv_start_index(reason_arg)); else v = d;
16 
17 // used by common/command/generic.qc:GenericCommand_dumpcommands to list all commands into a .txt file
18 void BanCommand_macro_write_aliases(float fh);
19 
21 float BanCommand_macro_usage(int argc);
string autocvar_g_banned_list
Definition: banning.qh:11
bool autocvar_g_banned_list_idmode
Definition: banning.qh:12
float autocvar_g_ban_default_bantime
Definition: banning.qh:3
void BanCommand_macro_help()
Definition: banning.qc:276
float autocvar_g_ban_sync_interval
Definition: banning.qh:5
bool autocvar_g_ban_telluser
Definition: banning.qh:10
float BanCommand_macro_usage(int argc)
Definition: banning.qc:296
bool autocvar_g_ban_sync_trusted_servers_verify
Definition: banning.qh:8
float autocvar_g_ban_default_masksize
Definition: banning.qh:4
string autocvar_g_ban_sync_uri
Definition: banning.qh:9
string autocvar_g_ban_sync_trusted_servers
Definition: banning.qh:7
float autocvar_g_ban_sync_timeout
Definition: banning.qh:6
void BanCommand_macro_write_aliases(float fh)
Definition: banning.qc:307