Daemon666 / CSB Admin Godmode Public

Flag-gated godmode toggle with a live HUD marker that auto-clears on death, disconnect and map change.

v1.0.0 145 descărcări GPL-3.0 Ultima actualizare Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 May 21, 2025 1 Versiuni
csb_admin_godmode.sma main 60deabe 4.2 KB
README.md

CSB Admin Godmode gives an admin a clean invulnerability toggle: amx_god <target> [0|1]. It calls set_user_godmode() from the fun module, paints a small [ GODMODE ] HUD marker over anyone currently protected, and — the part most stock implementations get wrong — it clears the state on death, on disconnect and on map change so a player can never keep godmode by accident.

Inspired by the god-mode command from the classic AMX Mod X Admin Commands plugin. This is an independent GPL re-implementation; no original code is reused.

Features

  • amx_god <name or #userid> [0|1] — toggle, or force on/off with the second argument.
  • Targeting through cmd_target with ADMIN_IMMUNITY respected and self-targeting allowed.
  • HUD marker refreshed once a second via a HUD sync object, so it never flickers with other messages.
  • Auto-clear on DeathMsg, client_disconnected and map change.
  • Every toggle is announced in the admin-only chat channel and written to the AMXX log.

Installation

  1. Compile csb_admin_godmode.sma and drop it in addons/amxmodx/plugins/.
  2. Add csb_admin_godmode.amxx to addons/amxmodx/configs/plugins.ini.
  3. Change the map.

The command needs the ADMIN_CFG flag (u) by default; adjust it in users.ini or through your admin system.

Instalare
1. Put csb_admin_godmode.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map
Cvar-uri
CVARDefaultDescription
csb_god_enabled 1 Enable or disable the command.
csb_god_hud 1 Show the [ GODMODE ] HUD marker while active.
Comenzi
CommandAccessDescription
amx_god u (ADMIN_CFG) amx_god <name or #userid> [0|1] - toggle godmode on a target.
Jurnal de modificări — v1.0.0
1.0.0 - Initial release.
Versiuni →
Evaluare

No ratings yet.

Despre
  • Admin
  • Licență: GPL-3.0
  • Daemon666
  • Autor original: AMX Mod X Development Team (Admin Commands)
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Descarcă .sma
Cerințe
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opțional
ReAPI Opțional
Metamod Metamod / Metamod-r
Module fun
Conflicte cunoscute Any other plugin that also calls set_user_godmode on the same players will fight this one for control of the flag.
Contribuitori
Înapoi la Pluginuri