Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
cmd.qh
Go to the documentation of this file.
1#pragma once
2
5
7.string ignore_list; // stores player id's, maybe can be upgraded to store net address for reconnect protection
8const int IGNORE_LIST_SEND_NOW = -1; // special value that should be set only by ignore_list_send
9.float ignore_list_send_time; // allow sending ignore_list with a small delay to reduce spam especially on map switch
10
11const int IGNORE_MAXPLAYERS = 16; // maximum players that can be ignored permanently
12
13string MapVote_Suggest(entity this, string m);
14
15// used by common/command/generic.qc:GenericCommand_dumpcommands to list all commands into a .txt file
17
18// functions for ignore command
19void ignore_remove_player(entity this, entity ignore, bool from_db_too);
20int ignore_add_player(entity this, entity ignore, bool to_db_too);
21bool ignore_playerindb(entity this, entity pl); // permanent ignores
22bool ignore_playerinlist(entity this, entity pl); // all ignores
23void ignore_clearall(entity this);
25void ignore_list_send(entity this);
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
string ignore_list
Definition main.qh:130
void ignore_list_update_on_connection(entity this)
Updates ignore list of all the players.
Definition cmd.qc:153
bool ignore_playerinlist(entity this, entity pl)
Checks if pl is ignored by this (permanently or for the current match)
Definition cmd.qc:134
string MapVote_Suggest(entity this, string m)
Definition mapvoting.qc:130
void ignore_list_send(entity this)
Definition cmd.qc:168
float ignore_list_send_time
Definition cmd.qh:9
void ignore_remove_player(entity this, entity ignore, bool from_db_too)
Removes a player from the ignore list of another player.
Definition cmd.qc:47
const int IGNORE_LIST_SEND_NOW
Definition cmd.qh:8
void ClientCommand_macro_write_aliases(float fh)
Definition cmd.qc:1156
int ignore_add_player(entity this, entity ignore, bool to_db_too)
Adds a player to the ignore list of another player.
Definition cmd.qc:88
const int IGNORE_MAXPLAYERS
Definition cmd.qh:11
float cmd_floodtime
Definition cmd.qh:6
float autocvar_sv_clientcommand_antispam_time
Definition cmd.qh:3
bool ignore_playerindb(entity this, entity pl)
Checks if pl is permanently ignored by this.
Definition cmd.qc:117
void ignore_clearall(entity this)
Definition cmd.qc:176
int autocvar_sv_clientcommand_antispam_count
Definition cmd.qh:4