Skip to content
View in the app

A better way to browse. Learn more.

Learn more

warden-s-agenda/README.txt

README.txt
42 lines · 2 KB · Text
Raw
Warden's Agenda 1.0.0 (olds.ro)
===============================

Jailbreak: the warden writes up to three short lines of orders for the round.
Anyone can read them with /agenda, and a player who joins mid-game sees them
once, a moment after their first spawn, so late joiners get the same orders.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer
  - The Jailbreak core "[JB] Core" (library "jailbreak",
    github.com/al1k24/JailBreak-ReAPI, Jb_Core.sma), which provides
    jb_get_simon_id(). The warden is always whoever the core names.

Install
  1. Compile scripting/olds_agenda.sma and copy olds_agenda.amxx to
     addons/amxmodx/plugins/, below the Jailbreak core in plugins.ini.
     The compiler needs ReAPI's include files next to the stock includes.
  2. Copy data/lang/olds_agenda.txt to addons/amxmodx/data/lang/.

Use
  say /agenda <text>       warden only: add a line (at most three; each line
                           is cut at olds_agenda_len characters). A fourth
                           line is refused and the warden is told the limit.
  say /agenda clear        warden only: remove every line
  say /agenda              anyone: read the agenda
  olds_agenda_status       the warden, the agenda and late-join state (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_agenda.cfg, created on first run)
  olds_agenda_len 70       longest line in characters (10-100)

Details
  - Prisoners and guards who are not the warden are refused; nothing changes.
  - The agenda is cleared at every round restart and as soon as a different
    player becomes warden (checked every second and on each /agenda).
  - Late joiners: a player who connects gets the agenda once, 1.5 seconds
    after their first spawn, in chat and as an on-screen block, with the stock
    sound buttons/button3.wav. Respawns later in the round show nothing.
  - Control characters and ^ are removed from lines; a cut never splits a
    UTF-8 character.

No new sounds, models or sprites are added.

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.