CSB Admin Logger keeps an audit trail of what admins do. It watches the common commands — amx_kick, amx_ban, amx_banip, amx_gag, amx_slay, amx_slap, amx_map — and records the admin's name and SteamID, the target/args, the current map and a timestamp into a MySQL table using threaded SQLx, so the game thread never blocks on the database. If the DB is unreachable it falls back to a flat log file, and it exposes a csb_log_action() native other CSB admin plugins can call to record their own actions.
SQL_ThreadQuery — no lag spike on a slow database.addons/amxmodx/logs/csb_admin_actions.log) when SQL fails.native csb_log_action(const admin_auth[], const admin_name[], const target[], const action[]) for other plugins.sqlx module in addons/amxmodx/configs/modules.ini.csb_log_sql_host/user/pass/db (in amxx.cfg or a server cfg). Leave them empty to use file logging only.csb_admin_logger.sma, copy it to addons/amxmodx/plugins/, add it to plugins.ini and change the map.The csb_admin_log table is created automatically on first load if it does not exist.