Skip to content
/SLASHPLAY

How to set localinfo keys on a CS 1.6 server

Type localinfo amxx_basedir addons/amxmodx in the server console to set a server-only key for AMX Mod X. localinfo alone lists them.

localinfo

Sets or lists server-only key and value pairs, used mostly by Metamod and AMX Mod X for paths.

localinfo [key] [value]

Examples

localinfo

List all keys and values.

localinfo amxx_basedir addons/amxmodx

Point AMX Mod X at its base folder.

Arguments

keyOptional
The key to set or read.
valueOptional
The value to store.

What it does

Stores key and value pairs on the server that are not sent to players. AMX Mod X reads several of its paths from localinfo, such as amxx_basedir. Run it with no arguments to see all current keys.

Good to know

  • Values are usually set on the launch line or in a config so they exist before plugins load.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to cstrike/server.cfg. New to this? Start a CS 1.6 server first.

Your own
CS 1.6 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.