Romania XPlayZM.CSBlackDevil.COM # Zombie Plague UltimateX [ Respawn + FDL + VIP 22-12PM + POINTS] ® 23/32
Unknown ❤ RESPAWN.ZAFEST.RO | VIP FREE | FREE FOR ALL ❤ 0/32
France EMIRATES.KiNGS 亗 GAMEAREA ||͇̿P͇̿U͇̿B͇̿L͇̿I͇̿C͇̿| ✪ 32/32
Promouvoir serveur

CSB Immunity Manager v1.0.0

CSB Immunity Manager centralises admin immunity so your kick/ban/slay plugins stop each re-implementing the same flag check. It registers a native, csb_has_immunity(admin, target), that returns 1 when the target should be shielded from the acting admin.

A target is immune if their SteamID is listed in configs/csb_immunity.ini (always protected), or if they carry ADMIN_IMMUNITY and outrank the acting admin by flag weight — the number of access letters they hold. Console (admin index 0) can act on anyone, and no one is ever immune to themselves.

Using the native

  • Add native csb_has_immunity(admin, target); to your own plugin.
  • Call it before a punishment: if (csb_has_immunity(admin, target)) return;
  • amx_immunitylist prints the loaded protected SteamIDs to console.

Installation

  1. Compile csb_immunity_manager.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini above the plugins that call the native, and change the map.
  3. Edit addons/amxmodx/configs/csb_immunity.ini.
Installation
1. Put csb_immunity_manager.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini ABOVE any plugin that calls csb_has_immunity
3. Change map
4. Edit addons/amxmodx/configs/csb_immunity.ini
Commandes1
CommandAccessDescription
amx_immunitylistu (ADMIN_CFG)List protected SteamIDs loaded from csb_immunity.ini.
Note
Pas encore de notes