AMX Mod Setup Guide
Half-Life server administration by OLO

# amx.cfg - The main config

The amx.cfg file in your addons\amx\config folder is where most of the settings are made for AMX. This file is executed every map change. So if you make a change to this file, it's not necessary to restart the server unless the change is needed immediately.

All the settings in this file have comments describing what that setting does, and the different values that can be used. Below you will find additional help for the amx.cfg file

## amx_default_access

Valid Settings:
Example:
Description:
a through u
amx_default_access "j"
This is what access any player would have when joining your server. Be careful what you do with this. If you wanted to allow voting, you would assign this value the letter j as shown in the example.

## amx_password_field

Valid Settings:
Example:
Description:
Anything
amx_password_field "_pw"
This password field needs to match on the server and the client. It can be what ever you want, but it must match. If you use the default shown above, then the clients should have setinfo _pw "password" set in their userconfig.cfg file in their cstrike folder. For more info on how to set a client up as an admin using password go here.

## amx_mode

Valid Settings:
Example:
Description:
0, 1 or 2
amx_mode "1"
0 Disables admin access all together. AMX runs, but no one will have admin access even if they are set up to. 1 is normal operation for AMX. 2 will kick anyone not in the users.ini file. This is in effect the same as a private server.

## amx_show_activity

Valid Settings:
Example:
Description:
0, 1 or 2
amx_show_activity "2"
This will cause AMX to make public some AMX functions as they happen in game (amx_show_activity "1"), and also the admin who is running the command if desired ("2"). This may be helpful in keeping admins accountable, but it also reveals who an admin is.

## amx_scrollmsg

Valid Settings:
Example:
Description:
Any message.
amx_scrollmsg "Welcome fraggers! You're on %hostname%" 600
This message appears in the lower center of the screen and scrolls by at a specified interval. The number at the end is the interval in seconds, so 600 seconds would make the message appear every 10 minutes. Make sure to use quotes around your message. If you use %hostname% it will be replaced with your server's hostname.

## amx_imessage

Valid Settings:
Example:
Description:
Any message.
amx_imessage "Welcome to %hostname%!" "000100255"
This message appears in the center of the screen. The number at the end is the the color you want the message to appear in. Use this web applet to get the numeric value of the RGB color you want to use. Make sure to use quotes around your message. %hostname% will be replaced with your server's hostname. You can specify several amx_imessage lines: the messages will cycle.

## amx_freq_imessage

Valid Settings:
Example:
Description:
Length of time in seconds.
amx_freq_imessage "180"
Setting this to 180 would cause the amx_imessage to display every 3 minutes.

## amx_flood_time

Valid Settings:
Example:
Description:
Length of time in seconds.
amx_flood_time "0.75"
Setting this to 0.75 means players can't use the say command more than once every 3/4's of a second. This helps to prevent people from flooding the server with unwanted chat.

## amx_reservation

Valid Settings:
Example:
Description:
1~32
amx_reservation "1"
The value this is set to will be the amount of slots set aside for people with that access.

## amx_time_display

Valid Settings:
Example:
Description:
See amx.cfg file.
See amx.cfg file.
This controls the text reminder at the bottom of the screen that tells you how many minutes are remaining on the current map. The amx.cfg has the best description for this. Most people will probably leave this its default setting.

## amx_time_voice

Valid Settings:
Example:
Description:
0 or 1
amx_time_voice "1"
When a player uses the say command /thetime or /timeleft, this information is printed in the chat area. This setting will cause a voice to say what time it is as well when set to 1.

## amx_vote_delay

Valid Settings:
Example:
Description:
Length of time in seconds.
amx_vote_delay "30"
This is the time in seconds before another vote is allowed.

## amx_vote_time

Valid Settings:
Example:
Description:
Length of time in seconds.
amx_vote_time "20"
Time in seconds a vote will stay up for voting.

## amx_vote_answers

Valid Settings:
Example:
Description:
0 or 1
amx_vote_answers "1"
Setting this to 1 causes what people voted to be known to everyone.

## amx_votekick_ratio

Valid Settings:
Example:
Description:
0.00 to 1.00
amx_votekick_ratio "0.60"
Vote ratios work like this: 0.10 = 10%, 0.50 = 50%, 1.00 = 100%. You get the idea. This is the percentage required for a kick vote to go through. Consider carefully what you set this to, or the minority of players on your server will have decision making abilities if you allow voting.

## amx_voteban_ratio

Valid Settings:
Example:
Description:
0.00 to 1.00
amx_voteban_ratio "0.60"
Vote ratios work like this: 0.10 = 10%, 0.50 = 50%, 1.00 = 100%. You get the idea. This is the percentage required for a ban vote to go through. Consider carefully what you set this to, or the minority of players on your server will have decision making abilities if you allow voting.

## amx_votemap_ratio

Valid Settings:
Example:
Description:
0.00 to 1.00
amx_votemap_ratio "0.60"
Vote ratios work like this: 0.10 = 10%, 0.50 = 50%, 1.00 = 100%. You get the idea. This is the percentage required for a map vote to go through. Consider carefully what you set this to, or the minority of players on your server will have decision making abilities if you allow voting.

## amx_vote_ratio

Valid Settings:
Example:
Description:
0.00 to 1.00
amx_vote_ratio "0.60"
Vote ratios work like this: 0.10 = 10%, 0.50 = 50%, 1.00 = 100%. You get the idea. This is the percentage required for a vote to go through. Consider carefully what you set this to, or the minority of players on your server will have decision making abilities if you allow voting.

## amx_extendmap_max

Valid Settings:
Example:
Description:
Multiple of amx_extendmap_step in minutes.
amx_extendmap_max "30"
This is the max amount of time in minutes a mapcycle can be extended. Make this an even multiple of the amx_extend_step setting. Setting this to 30, would allow the map to be extended two times if the amx_extendmap_step is set to 15.

## amx_extendmap_step

Valid Settings:
Example:
Description:
Length of time in minutes.
amx_extendmap_step "15"
Time in minutes that a mapcycle will be extended if vote to do so succeeds.
Half-Life is a registered trademark of VALVe Software and Sierra
AMX Mod was created by OLO and is not affiliated with VALVe.