Difference between revisions of "Commands (AMX Mod X)"

From AlliedModders Wiki
Jump to: navigation, search
 
(Admin Commands)
Line 8: Line 8:
  
 
=Admin Commands=
 
=Admin Commands=
 +
:{|
 +
|- class="t2th"
 +
| Command
 +
| Format
 +
| Access
 +
| Description
 +
|- class="t2td"
 +
| amx_kick
 +
| <name or #userid> [reason]A
 +
| ADMIN_KICK
 +
| Kicks a player.
 +
|- class="t2td"
 +
| amx_ban
 +
| <name or #userid> <time> [reason]
 +
| ADMIN_BAN
 +
| Bans a player.
 +
|- class="t2td"
 +
| amx_addban
 +
| <authid or ip> <minutes> [reason]
 +
| ADMIN_BAN
 +
| Adds a ban to the server banlist.
 +
|- class="t2td"
 +
| amx_unban
 +
| <authid or ip>
 +
| ADMIN_BAN
 +
| Unbans a player.
 +
|- class="t2td"
 +
| amx_slay
 +
| <name or #userid>
 +
| ADMIN_SLAY
 +
| Slays a player.
 +
|- class="t2td"
 +
| amx_slap
 +
| <name or #userid> [damage]
 +
| ADMIN_SLAY
 +
| Slaps a player for variable damage.
 +
|- class="t2td"
 +
| amx_leave
 +
| <tag> [tag1] [tag2] [tag3]
 +
| ADMIN_KICK
 +
| Kicks all players not wearing one of the tags.
 +
|- class="t2td"
 +
| amx_pause
 +
|
 +
| ADMIN_CVAR
 +
| Pauses or unpauses the game.
 +
|- class="t2td"
 +
| amx_who
 +
|
 +
| ADMIN_ADMIN
 +
| Displays who is on the server.
 +
|- class="t2td"
 +
| amx_cvar
 +
| <cvar> [value]
 +
| ADMIN_CVAR
 +
| Changes or displays a cvar value.
 +
|- class="t2td"
 +
| amx_map
 +
| <mapname>
 +
| ADMIN_MAP
 +
| Changes map.
 +
|- class="t2td"
 +
| amx_cfg
 +
| <filename>
 +
| ADMIN_CFG
 +
| Executes a server-side config file.
 +
|- class="t2td"
 +
| amx_rcon
 +
| <rcon command line>
 +
| ADMIN_RCON
 +
| Executes a command on the server console.
 +
|- class="t2td"
 +
| amx_plugins
 +
|
 +
| ADMIN_ADMIN
 +
| Lists all loaded plugins.
 +
|- class="t2td"
 +
| amx_modules
 +
|
 +
| ADMIN_ADMIN
 +
| Lists all loaded modules.
 +
|}
 +
 
=Chat Commands=
 
=Chat Commands=
 
=Vote Commands=
 
=Vote Commands=

Revision as of 18:02, 15 January 2006

Introduction

Console commands are entered into the console like this:

amx_<command> <option1> <option2> [option3]

Required options are shown with <>, optional parameters are shown with []. Do not actually type <> or [].

To view in-game command help, use this in the console:

amx_help

Admin Commands

Command Format Access Description
amx_kick <name or #userid> [reason]A ADMIN_KICK Kicks a player.
amx_ban <name or #userid> ADMIN_BAN Bans a player.
amx_addban <authid or ip> <minutes> [reason] ADMIN_BAN Adds a ban to the server banlist.
amx_unban <authid or ip> ADMIN_BAN Unbans a player.
amx_slay <name or #userid> ADMIN_SLAY Slays a player.
amx_slap <name or #userid> [damage] ADMIN_SLAY Slaps a player for variable damage.
amx_leave <tag> [tag1] [tag2] [tag3] ADMIN_KICK Kicks all players not wearing one of the tags.
amx_pause ADMIN_CVAR Pauses or unpauses the game.
amx_who ADMIN_ADMIN Displays who is on the server.
amx_cvar <cvar> [value] ADMIN_CVAR Changes or displays a cvar value.
amx_map <mapname> ADMIN_MAP Changes map.
amx_cfg <filename> ADMIN_CFG Executes a server-side config file.
amx_rcon <rcon command line> ADMIN_RCON Executes a command on the server console.
amx_plugins ADMIN_ADMIN Lists all loaded plugins.
amx_modules ADMIN_ADMIN Lists all loaded modules.

Chat Commands

Vote Commands

Stats Commands

Say Commands

Menu Commands

Config Commands

RCON Commands