Promuj serwer

CSB Reserved Slots v1.0.0

CSB Reserved Slots guarantees a configurable number of open slots for your flagged VIPs and admins. Whenever the free-slot count falls below csb_slots_reserved, the plugin makes room by removing the "worst" non-VIP on the server: bots go first, then the real player with the highest ping. VIPs and immune admins are never chosen. The check runs both when a player connects and on a short repeating timer, so a reserved slot is kept available even as the roster changes.

Inspired by the Reserved Slots plugin bundled with AMX Mod X. Independent GPL re-implementation.

Features

  • Reserve any number of slots with csb_slots_reserved.
  • VIP access defined by a cvar flag string (csb_slots_flag, default a).
  • Bots removed before real players; among players the highest-ping one is chosen.
  • Immune admins (ADMIN_IMMUNITY) are protected from removal.

Installation

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

Grant your VIPs the configured flag in users.ini or your admin system.

Instalacja
1. Put csb_reserved_slots.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Give VIPs the csb_slots_flag flag
4. Change map
Cvary3
CVARDefaultDescription
csb_slots_enabled1Enable reserved-slot enforcement.
csb_slots_reserved1Number of slots to keep free for VIPs.
csb_slots_flagaAdmin flag string that grants reserved access.
Ocena
Brak ocen