Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Custom Game Description

Featured Replies

  • Administrator

Replaces the game name shown in the server browser, for example Counter-Strike with the server's own name.

Custom Game Description 1.0.0 (olds.ro)

Replaces the game name that the server browser shows for your server ("Counter-Strike") with your own text, for example "olds.ro CS 1.6". HLSW, GameTracker and other query tools read the same text from the server info.

Requirements

  • AMX Mod X 1.10 or newer with the fakemeta module (part of AMX Mod X; ReAPI is not needed)
  • Tested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814

Install

  • Compile scripting/olds_gamename.sma with amxxpc 1.10 and copy olds_gamename.amxx to addons/amxmodx/plugins/.
  • Copy configs/plugins/olds_gamename.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the default on its first start).
  • Add olds_gamename.amxx to addons/amxmodx/configs/plugins.ini.
  • Set your name in olds_gamename.cfg and change the map.

Settings (addons/amxmodx/configs/plugins/olds_gamename.cfg)

  olds_gamename "olds.ro CS 1.6"   the game name in the server list;
                                   empty ("") = the game's own name
  • The name is read at every map start, after server.cfg, amxx.cfg, the plugin configs and the per-map configs have run. A change made during a map shows from the next map on. Until the new map's configs have run (the first seconds of a map) the server keeps the name of the last map.
  • The server info has room for 31 bytes. A longer name is cut to 31 bytes and the AMX Mod X log says so, for example: olds_gamename is 58 bytes long; the server list has room for 31, so it shows "This name is far too long for t". Accented and other non-English letters take 2 bytes or more in UTF-8; the cut never splits such a letter, so the name can end up a little shorter.
  • Spaces at the start and the end and control characters (tabs, line breaks) are removed.

No commands, player messages, sounds, models or sprites are used, so there is no language file.

Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1522. Licence: GNU GPL version 3 or later (GPL-3.0-or-later).

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_gamename.sma, test/olds_gamename_test.sma

License: GPL-3.0-or-later.
Written for the olds.ro plugin workshop (LIB-1522), by alexit and checked by the automated Claude review.

Custom Game Description
v1.0Counter-Strike 1.6PluginTests: warnings
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads3.8 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 175 lines
/*
 * Custom Game Description (olds.ro workshop card LIB-1522)
 *
 * Replaces the game name that the server browser shows for this server
 * ("Counter-Strike") with the server's own text, for example
 * "olds.ro CS 1.6". Query tools that read the server info see the same text.
 *
Show all 175 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.