Watchlist

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

Watchlist

Post by greenie »

Watchlist


Allows you to 'watch' a player.


When a watched player joins the server, all admins are notified who and why he is watched.
Watchlist is by default saved using a file located in addons/amxmodx/data/watchlist.ini .
To save using MySql, uncomment #define SQL on line 28

This was a special assigment for supercentral
But was voted to be released to public here and at supercentral


commands:
- amx_watch <player/steamid> <reason>
- amx_unwatch <player/steamid>
- amx_watchlist "shows the currently watched players"


Changelog:
v1.0 - Created plugin

v1.1 - Changed amx_chat because of servername displaying.

v1.2 - Added amx_watchlist command.
- fixed bug that reasons can't have spaces.

v1.3 - Added SQLite support (sqlvault)

v1.4 - Removed SQLite and added MySql support.
Credits:
Exolent[jNr]: sqlvault include and tutorial.
Notes:
To compile with MySql you'll need this include

get plugin or get source
Post Reply

Return to “Admin Commands”