Ban Disconnected Player Menu

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Ban Disconnected Player Menu

Post by greenie »

Ban Disconnected Player Menu v2.0.1

Description

Displays a menu that allows admins to ban recently disconnected players.

Commands
banmenu_show - displays ban menu
discon_list - prints current disconnected list in console
Notes
Uses the amx_show_activity cvar like amxmodmenu.
Stores all players who have disconnected during the current and previous map.
The first item in the menu is used to change the duration of the ban.
To save on processing time, not all duplicate menu items are removed. All duplicate menu items will still work the same no matter which one is selected.
If the list becomes full, the least recent disconnections are removed.
The Back, More, and Exit items are always mapped to the 8, 9, and 0 keys respectivly. The menu is padded with blank items which are ignored when selected.
To add to amxmodmenu, just add the line to the custommenuitems.cfg:
amx_addmenuitem "Ban Disconnected" "banmenu_show" "d" "Ban Disconnected Menu"

get plugin
get source
Post Reply

Return to “Admin Commands”