Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Console Command Browser

Featured Replies

  • Administrator

Lets admins search and browse all console commands by name or description from a menu or console output.

Console Command Browser 1.0.0 (olds.ro)

Lets admins search all console commands of all plugins by name or description, in the console or in a menu, and see which plugin each one comes from.

Requirements

  • AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed)
  • Written for AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814

Install

  • Compile scripting/olds_cmdsearch.sma with amxxpc 1.10 and copy olds_cmdsearch.amxx to addons/amxmodx/plugins/.
  • Copy data/lang/olds_cmdsearch.txt to addons/amxmodx/data/lang/.
  • Copy configs/plugins/olds_cmdsearch.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the defaults on its first start).
  • Add olds_cmdsearch.amxx to addons/amxmodx/configs/plugins.ini.

Admin commands (flag "h", ADMIN_CFG) amx_cmdsearch <text> Lists every console command whose name or description contains the text (any case), numbered, with the plugin file and the description:

  • amx_slap [admincmd.amxx] <name> [power] - slaps player ... Works from the server console too.

amx_cmdmenu [text] The same list in a menu, 7 commands per page, in the same order and with the same numbers as amx_cmdsearch. Without text it lists all console commands. Choosing a command prints its details to your console; the menu stays on the same page.

  • Both stop at olds_cmdsearch_max results and say how many there were, so search for something longer to narrow it down.
  • Players without the flag are refused and nothing is listed.
  • The access flag can be changed in addons/amxmodx/configs/cmdaccess.ini.

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

  olds_cmdsearch_max  50   most results shown (1 - 500)

Texts are in data/lang/olds_cmdsearch.txt (English). Descriptions of other plugins' commands are shown in the player's language when those plugins have translations. No sounds, models or sprites are used.

Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1505. 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_cmdsearch.sma, test/olds_cmdsearch_test.sma

Idea: olds.ro workshop library · Plugin: alexit · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-1505).

Console Command Browser
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads4.8 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 289 lines
/*
 * Console Command Browser (olds.ro workshop card LIB-1505)
 *
 * Lets admins search all console commands of all plugins by name or
 * description, in the console or in a menu.
 *
 * Admin commands (ADMIN_CFG, flag "h"; amx_cmdsearch also from the server
Show all 289 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.