Configuring AMX Mod X
Contents
Admins
See the section on Adding Admins for more information.
Plugins
Installing
Often, plugins will have their own directions if they need special installation requirements. However, this will instruct you on the basics of adding a plugin.
- Follow any directions the plugin author has given you. If the plugin requires extra steps or special files, make sure you have them in the proper place and order.
- If you are given a .sma source file instead of a .amxx, you must compile the plugin yourself. For more information, see Compiling Plugins (AMX Mod X).
- Place the plugin's .amxx file in the addons/amxmodx/plugins folder.
- Add the plugin's name to addons\configs\plugins.ini. Example:
myplugin.amxx
- Restart the server or change maps. If the plugin has any load errors, see Troubleshooting AMX Mod X#Plugins.
Removing
- Remove the entry from addons\amxmodx\configs\plugins.ini by deleting it or prepending a semi-colon to comment it out.
- Delete any associated files.
Default Plugins
Plugin Purpose admin.amxx Administration Base admin_sql.amxx Administration Base for SQL. Use only one base. admincmd.amxx Basic administration commands (such as kick/slap). adminhelp.amxx Help for admin commands. adminslots.amxx Slot reservation. multilingual.amxx Multi-Lingual client configuration. menufront.amxx Front-end for admin menus. cmdmenu.amxx Command menu for settings. plmenu.amxx Player menu commands (kick, ban, etc). telemenu.amxx Teleport Menu (fun module required). mapsmenu.amxx Maps menu (vote, changeleve, etc). adminchat.amxx Console-based chat commands. antiflood.amxx Prevents clients from flooding the say chat. scrollmsg.amxx Displays a scrolling message. imessage.amxx Displays a centered, timed information message. adminvote.amxx Voting commands. nextmap.amxx Displays next map in the mapcycle. mapchooser.amxx Allows players to vote for the next map. timeleft.amxx Displays time left on the current map. pausecfg.amxx Allows pausing/unpausing of plugins. statscfg.amxx Configuration of statistical plugins.
Modules
CVARs
SQL
Make sure you have mysql_amxx enabled in AMX Mod X's amxmodx/configs/modules.ini file.
Then, open amxmodx/configs/sql.cfg and edit the cvars accordingly:
CVAR | Default Setting | Purpose |
amx_sql_host | "127.0.0.1" | IP address of SQL server. |
amx_sql_user | "root" | Username to connect to the SQL server. |
amx_sql_pass | "" | Password to connect to the SQL server. |
amx_sql_db | "amx" | Database to use on the SQL server. |
amx_sql_table | "admins" | The table to use for the admin_sql plugin. |