Romania XPlayZM.CSBlackDevil.COM # Zombie Plague UltimateX [ Respawn + FDL + VIP 22-12PM + POINTS] ® 10/32
Unknown ❤ RESPAWN.ZAFEST.RO | VIP FREE | FREE FOR ALL ❤ 0/32
France EMIRATES.KiNGS 亗 GAMEAREA ||͇̿P͇̿U͇̿B͇̿L͇̿I͇̿C͇̿| ✪ 32/32
United Kingdom BALKAN.KiNGS.EU ||͇̿P͇̿U͇̿B͇̿L͇̿I͇̿C͇̿| ✪ 10/32
Promote server
csb-admin-password / README.md
1 lines 1.4 KiB Markdown Source Rendered Raw Permalink History

CSB Admin Password is the fast way to close a server for a clan war or a private match. amx_lock [password] sets sv_password to the string you give it, or generates a short random one (ambiguous characters like 0/O and 1/I are left out), and prints the password only to admins. amx_unlock clears it again. While the server is locked a HUD reminder with the current password is shown to admins so nobody forgets it is on.

Features

  • amx_lock [password] — use your own password or get a generated one.
  • Random length set by csb_lock_len (clamped 4–20), from a confusion-free charset.
  • Password revealed only in the admin chat channel, never to regular players.
  • Recurring HUD reminder to admins while locked, kept in sync if sv_password is changed by hand.
  • amx_unlock clears the password; both actions are logged.

Installation

  1. Compile csb_admin_password.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.

Both commands need the ADMIN_PASSWORD flag (i) by default. Remember the server must have sv_lan 0 to appear in the master list; a password does not remove it from the list, it just gates joining.