AMX Mod Setup Guide
Half-Life server administration by OLO

# The default commands

This page could be really long if every command was listed. Aside from that not every command can be used in the game and on the servers console. So this page will show you how to access what ever commands are available to you depending on how you are connected to the server. There will also be examples of how some of the commands work to give you a good idea of how to make things happen.

## From the Console:

This information can be accessed from the server's console, and also from the client using RCON. Additionally, tools like HLSW and web based server administration tools will also be able to use this as long as they're connecting to the server directly or using RCON to issue commands.

The very first command you need to know exposes several more. It is just plain amx the command. From the server's console, type amx and press enter. You will see this:

Usage: amx <command> [ argument ]
Commands:
version - display amx version info
plugins - list plugins currently loaded
modules - list modules currently loaded
cvars - list cvars registered by plugins
cmds - list commands registered by plugins
pause < plugin > - pause a running plugin
unpause < plugin > - unpause a previously paused plugin

The definitions above are self explanatory. Some examples of how these commands are used:

- amx plugins <- Displays what plugins are running.
- amx pause nextmap <- This would pause the nextmap.amx plugin.

Some commands not listed:

- amx list <- Same as amx plugins
- amx help <- Same as amx

## From the Client:

The best command for clients (those who you choose to admin your server) is amx_help. This command is done in the clients console. It will display any command that the player has access to, and only those commands. This means each person will see different results if their access level differs from others. Typing amx_help in the console will show you something like this:

amx_help
----- AMX Help: Commands -----
1: amx_ban <minutes> <authid or ip> [reason]
2: amx_banid <minutes> <name or #userid> [reason]
3: amx_banip <minutes> <name or #userid> [reason]
4: amx_banmenu - displays ban menu
5: amx_cancelvote - cancels last vote
6: amx_cfg <fliename>
7: amx_cfgmenu - displays configs menu
8: amx_chat <message> - sends message to admins
9: amx_clcmdmenu - displays client cmds menu
10: amx_cmdmenu - displays commands menu
----- Entries 1 - 10 of 54 -----
----- Use 'amx_help 11'

The list above shows the first 10 commands available for my level of access. To see more commands, see the example on the last line amx_help 11. This shows the next 10 commands starting at the 11th command. You can keep doing this until there are no more commands left in the list.

Each command if typed with nothing after it should give you an example of how it works. To find out how to use the amx_kick command, just type amx_kick and press enter. You will get this:

amx_kick
Usage: amx_kick <name or #userid> [reason]

So let's say you wanted to kick a player named -l337- PuNiSheR and his userid (not WONID or SteamID) is 150, you could kick him like this:

amx_kick punish language
or:
amx_kick #150 "abusing the voice comm"

You can see above I added a reason for the kick also. If the reason has spaces in it you will need to "add quotes".

The above info should give you a good idea how the AMX commands work, and how to get an example if you're not sure. Someday I will add a full command listing to this page but due to lack of time, I can't put all the commands here and define each one. amx_help is your friend!

Half-Life is a registered trademark of VALVe Software and Sierra
AMX Mod was created by OLO and is not affiliated with VALVe.