Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Commands (AMX Mod X)

Warning: This template (and by extension, language format) should not be used, any pages using it should be
switched to Template:Languages
View this page in: English Russian (Simplified Chinese)

Contents
[hide]

1 Introduction

2 Admin Commands

3 Chat Commands

4 Vote Commands

5 Stats Commands

6 Say Commands

7 Menu Commands

8 Config Commands

9 RCON Commands

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
amx_kick
amx_ban

Access
ADMIN_KICK
ADMIN_BAN

Description
Kicks a player.
Bans a player.

ADMIN_BAN

Adds a ban to the server banlist.

amx_unban
amx_slay
amx_slap

Format
<name or #userid> [reason]A
<name or #userid> [reason]
<authid or ip> <minutes>
[reason]
<authid or ip>
<name or #userid>
<name or #userid> [damage]

ADMIN_BAN
ADMIN_SLAY
ADMIN_SLAY

amx_leave

<tag> [tag1] [tag2] [tag3]

ADMIN_KICK

amx_pause
amx_who
amx_cvar
amx_map
amx_nick
amx_cfg

<cvar> [value]
<mapname>
<original name> <new name>
<filename>

ADMIN_CVAR
ADMIN_ADMIN
ADMIN_CVAR
ADMIN_MAP
ADMIN_LEVEL_A
ADMIN_CFG

amx_rcon

<rcon command line>

ADMIN_RCON

Unbans a player.
Slays a player.
Slaps a player for variable damage.
Kicks all players not wearing one of
the tags.
Pauses or unpauses the game.
Displays who is on the server.
Changes or displays a cvar value.
Changes map.
Changes Users Name.
Executes a server-side config file.
Executes a command on the server
console.
Lists all loaded plugins.
Lists all loaded modules.

amx_addban

amx_plugins
amx_modules

ADMIN_ADMIN
ADMIN_ADMIN

Chat Commands
Command Format
amx_say

<message>

amx_chat

<message>

Access

Description
Sends a message to all players through normal
ADMIN_CHAT
say.
Sends a message to all admins through normal
ADMIN_CHAT
chat.

<name or #userid>
<message>
amx_tsay <color> <message>
amx_csay <color> <message>
amx_psay

ADMIN_CHAT Sends a private message to a player.


ADMIN_CHAT Sends a left side HUD message to all players.
ADMIN_CHAT Sends a center HUD message to all players.

Vote Commands
Command
amx_votemap
amx_votekick
amx_voteban
amx_vote
amx_cancelvote

Format
<map> [map] [map] [map]
<name or #userid>
<name or #userid>
<question> <answer1> <answer2>

Access
ADMIN_VOTE
ADMIN_VOTE
ADMIN_VOTE
ADMIN_VOTE
ADMIN_VOTE

Stats Commands
Command
say /hp
say /statsme
say /stats

Description
Displays information about your killer.
Displays your stats.
Displays other players' stats.

Description
Starts a vote for a map.
Starts a vote to kick a player.
Starts a vote to ban a player.
Starts a custom poll.
Cancels the last poll in progress.

say /top15
say /rank

Displays the top 15 players.


Displays your rank on the server.

Say Commands
Command
say nextmap
say timeleft
say thetime

Description
Displays the next map in the mapcycle.
Displays the time left in the map.
Displays the current time.

Menu Commands
Note: ACCESS_LEVEL_A is not "a", it is "m". See Access Levels.

Command
amxmodmenu
amx_cvarmenu
amx_mapmenu
amx_votemapmenu
amx_kickmenu
amx_banmenu
amx_slapmenu
amx_teammenu
amx_clcmdmenu
amx_cmdmenu
amx_restmenu
amx_teleportmenu
amx_pausecfgmenu
amx_statscfgmenu

Accesss
ADMIN_MENU
ADMIN_CVAR
ADMIN_MAP
ADMIN_MAP
ADMIN_KICK
ADMIN_BAN
ADMIN_SLAY
ADMIN_LEVEL_A
ADMIN_LEVEL_A
???
ADMIN_CFG
ADMIN_CFG
ADMIN_CFG
ADMIN_CFG

Description
Displays the main AMX Mod X menu.
Displays the CVAR menu.
Displays the map change menu.
Displays the map voting menu.
Displays kick menu.
Displays ban menu.
Displays slap/slay menu.
Displays team switch menu.
Displays client commands menu.
Displays server commands menu.
Displays weapon restriction menu.
Displays teleport menu.
Pause/unpause plugins with menu.
Displays stats configuration menu.

amx_cfgmenu - displays configs menu


amx_langmenu
amx_menu - displays menus available to client
amx_plugincmdmenu

- displays the plugin command menu

amx_plugincvarmenu

- displays the plugin cvar menu

amx_speechmenu - displays speech menu

Config Commands
Command:
Format:
Access:
Description:

amx_pausecfg
<command> [name]
ADMIN_CFG
Pauses a plugin.
Command list:

off - Pauses all plugins not in the list.

Command:
Format:
Access:

on - Unpauses all plugins.

stop <file> - Stops a plugin.

pause <file> - Pauses a plugin.

enable <file> - Enables a plugin.

save - Saves a list of stopped plugins.

clear - Clears a list of stopped plugins.

list [id] - Lists plugins.

add <title> - Marks a plugin as unpauseable.


amx_statscfg
<command> [parameters]
ADMIN_CFG
Changes a stats setting.
Command list:

on <variable> - Enable specific option.

off <variable> - Disable specific option.

save - Save stats configuration.

load - Load stats configuration.

list [id] - List stats statuses.

add <name> <variable> - Add stat variable to the list.

Description:

RCON Commands
Command:
Format:
Access:
Description:

amxx
<command> [parameters]
Command list available:

amxx version - Display version.

amxx modules - Display modules.

amxx plugins - Display plugins.

amxx gpl - Display the GNU General Public License

amxx cvars - Display AMX Mod X registered CVARs.

amxx cmds - Display AMX Mod X registered commands.

amxx pause - Pause a running plugin.

amxx unpause - Unpause a running plugin.the list.

Category:
Documentation (AMX Mod X)

91: amx_team - <name> <CT/T/Spec>


Transfers that player to the specified team
92: amx_teammenu - displays team menu
93: amx_teamswap - Swaps two teams with
eachother
94: amx_teleport <nick, #userid or
authid> [x] [y] [z]
95: amx_transfer - <name>
<CT/T/Spec> Transfers that player to the specified
team

You might also like