• AMX Guide Home
  • Step 1: Installing AMX
  • Step 2: Enabling AMX
  • Step 3: Configuring AMX
  • AMX by File:
    • amx.cfg
    • mysql.cfg
    • clcmds.ini
    • cmds.ini
    • configs.ini
    • cvars.ini
    • maps.ini
    • modules.ini
    • paths.ini
    • plugins.ini
    • speech.ini
    • users.ini
  • AMX by Topic:
    • Creating Admins
    • Commands Guide
    • Plugin Installation
    • Plugin Compiling
    • Module Setup
    • Menu Use
    • Language Setup
    • Language Install
    • Weapon Restriction
    • Stats Setup
    • Custom Map Configs
  • Misc. Resources
  • Credit
AMX Mod 2005v1.0 Setup Guide
Half-Life server administration

paths.ini - AMX file & path control

The paths.ini file in your addons\amx\config folder stores the location and name for the different components of AMX. This file is useful if you run multiple servers from a single folder and want to run different AMX configurations for each. This is what the default paths.ini file looks like:

; Configuration file for AMX
amx_basedir addons/amx
amx_configdir addons/amx/config
amx_langdir addons/amx/lang
amx_modulesdir addons/amx/modules
amx_pluginsdir addons/amx/plugins
amx_logdir addons/amx/logs

amx_modules addons/amx/config/modules.ini
amx_plugins addons/amx/config/plugins.ini
amx_vault addons/amx/config/vault.ini

csstats_score addons/amx/plugins/csstats.amx
csstats addons/amx/modules/csstats.dat

dodstats_score addons/amx/plugins/dodstats.amx
dodstats addons/amx/modules/dodstats.dat

An example would be running two instances of Counter-Strike from a single install folder. However each CS server may require very different configurations and plugins. If we wanted to change the location of the AMX logs folder, and use a different AMX plugins.ini file, we would make a change similar to this:

amx_logdir addons/amx/logs_27016
amx_plugins addons/amx/config/plugins_27016.ini

In the example above we edit the name of the file and folder to reflect the port in which the second server is running on, but any name will do.

To specify a different paths.ini file for your server, copy the paths.ini file to a different name such as paths_27016.ini. Then you need to add this to your shortcut or startup script:

+localinfo amx_cfg addons/amx/config/paths_27016.ini
Half-Life is a registered trademark of VALVe Software and Sierra
AMX Mod was created by OLO and is not affiliated with VALVe.