Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Featured Replies

  • Administrator

Let players find an admin who has opted in as on duty for this map.

Staff Shift 1.0.0 (olds.ro)

Moderation: admins opt in as "on duty" for this map with /duty; any player types /staff and gets one on-duty admin's name, the next one each time (round-robin), so requests spread across the staff.

Requirements

  • AMX Mod X 1.10.0.5490 or newer

Install

  • Compile scripting/olds_staff.sma and copy olds_staff.amxx to addons/amxmodx/plugins/.
  • Copy data/lang/olds_staff.txt to addons/amxmodx/data/lang/.

Use

  say /duty            admins with the staff flag: go on or off duty
  say /staff           anyone: one on-duty admin's name, or "No staff on duty."
  olds_staff_status    who is on duty (ADMIN_KICK)

Settings (addons/amxmodx/configs/plugins/olds_staff.cfg, created on first run)

  olds_staff_flag "c"  access flag(s) needed for /duty (any of them); empty
                       means c (ADMIN_KICK)

Details

  • Each player has their own place in the rotation: with two admins on duty, one player's /staff names them in turn.
  • The admin's flags are checked again every time a name is given; an admin who lost the flag (for example after amx_reloadadmins) is taken off duty and never named. Bots are never on duty.
  • Duty lives only in memory: it is cleared when the admin leaves and at every map change, and never written to disk.

No downloads: replies are chat lines.

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_staff.sma

Idea: olds.ro workshop library · Plugin: daemon · 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 (AMX-030).

Staff Shift
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads2.9 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 163 lines
/*
 * Staff Shift (olds.ro workshop card AMX-030)
 *
 * Moderation: admins opt in as "on duty" for this map with /duty; any player
 * types /staff and gets one on-duty admin's name, the next one each time
 * (round-robin), so requests spread across the staff.
 *
Show all 163 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.