Skip to content
View in the app

A better way to browse. Learn more.

Learn more

nomination-reserve/README.txt

README.txt
49 lines · 2.3 KB · Text
Raw
Nomination Reserve 1.0.0 (olds.ro)
==================================

Map voting: after nominating a map, a player can name a backup with
/backup <map>. If the nominated map drops out before the vote opens (the map
file is gone, it was taken out of the map cycle, or the map chooser blocks
it), the backup goes into the vote in its place.

Requirements
  - AMX Mod X 1.10.0.5490 or newer
  - Map Manager Modular by Mistrick (github.com/Mistrick/MapManagerModular):
    map_manager_core and map_manager_nomination

Install
  1. Compile scripting/olds_reserve.sma and copy olds_reserve.amxx to
     addons/amxmodx/plugins/. In plugins.ini put it AFTER
     map_manager_nomination.amxx, so the nominated maps are already in the
     vote list when backups are resolved.
  2. Copy data/lang/olds_reserve.txt to addons/amxmodx/data/lang/.

Use
  say /backup <map>       name a backup for your latest nomination that has none
  say /backup             list your nominations and backups
  olds_reserve_status     every nomination and backup (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_reserve.cfg, created on first run)
  olds_reserve_max 1      backups each player may name (1-5)

Rules for a backup
  - It must be installed (is_map_valid), in the server's map cycle (the file
    named by the mapcyclefile cvar), and not the current map. An unknown name
    is refused with "Unknown map name".
  - It must not be nominated or named as a backup by anyone already: a
    duplicate is refused.
  - Backups can be named until the vote starts.

When a backup is used
  - Just before the vote opens (mapm_prepare_votelist), every nomination that
    is not in the vote and is no longer valid or no longer in the map cycle is
    replaced by its backup (mapm_push_map_to_votelist). The map cycle file is
    read again at that moment, so removing a map from it mid-map counts.
  - A nomination the player took back is still a valid map in the cycle, so
    its backup is not used.
  - When the vote starts or is cancelled, the chooser has used up the
    nominations, so all backups are released; nominate again for the next vote.
  - Nominations are recorded through map_manager_nomination's
    mapm_can_be_nominated forward. A player's records go when they leave.

No downloads: the commands answer in chat only.

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.