Logger Pro

Logger Pro v1.2

No permission to download
This plugin logs various actions on server in separate log files in a clean and readable way.

Features :

Connection Logs :


Connection and disconnections are logged into separate folder. (cstrike/addons/sourcemod/logs/connections/)
Each day a new file is generated with the name date.txt
Example :
Code:
=================================Current Map : awp_lego_2=================================

L 08/04/2020 - 10:50:45: Player [STEAM_0:0:XXXXXXX] [XXX.XXX.XXX.XXX] connected from country India.
L 08/04/2020 - 10:52:08: Player [STEAM_0:0:XXXXXXX] [XXX.XXX.XXX.XXX] disconnected from country India (Disconnect by user.). [Total Connection Time : 15 minutes]
Bans Logs :

Bans are logged into bans.txt file in a separate folder cstrike/addons/sourcemod/logs/bans/
Example :
Code:
-------------------------------------------------------------
L 08/15/2020 - 18:48:07:
Player Name       : Hacker
Player SteamID    : STEAM_0:0:XXXXXXX
Player IP         : XXX.XXX.XXX.XXX
Ban Duration      : Permanent
Ban Admin         : Vertigo
Ban Reason        : Aimbot
Ban Type          : In Game Ban.
-------------------------------------------------------------
Unbans Logs :

Unbans are logged into unbans.txt file in folder cstrike/addons/sourcemod/logs/bans/
Example :
Code:
L 08/15/2020 - 18:48:07: Vertigo<12><STEAM_0:0:XXXXXXXX><>ubanned Hacker<STEAM_0:0:XXXXXXXX>.
Admins Action Logs :

Admins actions are logged into separate folder cstrike/addons/sourcemod/logs/admins/.
Each admin action are logged into separate log file. The log file name is generated based on admin's SteamID. (STEAM_0:0:XXXXXXXX.txt)
Example :
Code:
L 08/26/2020 - 22:05:18: [basecommands.smx] "Vertigo<12><STEAM_0:0:XXXXXXXX><>" changed map to "de_dust2"
L 08/26/2020 - 22:05:30: [basecommands.smx] "Vertigo<12><STEAM_0:0:XXXXXXXX><>" kicked "Spammer<12><STEAM_0:0:XXXXXXXX><>" (reason "Don't spam")
Chat Logs :

Chat messages are logged into separate folder. (cstrike/addons/sourcemod/logs/chat/)
Each day a new file is generated with the name date.txt
Example :
Code:
=================================Current Map : awp_lego_2=================================

L 08/26/2020 - 22:36:05: Player 1 [STEAM_0:0:XXXXXXXX] [XXX.XXX.XXX.XXX] : You are noob
L 08/26/2020 - 22:36:05: Player 2 [STEAM_0:0:XXXXXXXX] [XXX.XXX.XXX.XXX] : No you are noob
Reports Log :

Player reports using !report command are logged into separate folder. (cstrike/addons/sourcemod/logs/reports/)
Each day a new file is generated with the name date.txt
Code:
L 09/18/2020 - 22:37:59: Player 1 [STEAM_0:0:XXXXXXXX] [XXX.XXX.XXX.XXX] reported Player 2 [STEAM_0:0:XXXXXXXX] [XXX.XXX.XXX.XXX]. Reason: Abusive
L 09/18/2020 - 22:39:59: Player 1 [STEAM_0:0:XXXXXXXX] [XXX.XXX.XXX.XXX] reported Player 2 [STEAM_0:0:XXXXXXXX] [XXX.XXX.XXX.XXX]. Reason: He is hacking and abusing everyone
Requirements :
  • Sourcemod v1.8 or Higher
Installation :

Note:
If you have installed the previous version of this plugin. Then delete the existing cfg and smx files. Otherwise ignore.
  • Download Logger_Pro.zip file from this post.
  • Extract the contents of zip file and put it into cstrike folder of your server.
  • Configure report reasons in file cstrike/addons/sourcemod/configs/report_reasons.ini
  • Change the map or load the plugin using sm plugins load logger_pro.
Configuration :

You can configure report reasons in file cstrike/addons/sourcemod/configs/report_reasons.ini as you like.
Code:
// Report Reasons
// You can leave line empty for adding empty item in menu.
Abusive
Insulting Players
Racism
Breaking Server Rules
Admin Insult
Admin Misuse
Advertising
Spamming Mic
Spamming Chat
Spamming Radio Commands
Hacking
Exploits/Cheats
Camper
Threat
Cyber Bullying
Client Commands :

You can configure a cooldown for this command to stop spamming. Players will not be allowed to report again until their cooldown expires. In logger_pro.cfg a cvar has been provided to configure the cooldown. Default cooldown is 60 seconds.
Code:
!report or !rep or report     -     Report a player
CVARs :

cstrike/cfg/sourcemod/logger_pro.cfg

Code:
// Log Admin Actions ? (0 - Disable, 1 - Enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_logger_adminslog "1"

// Log bans ? (0 - Disable, 1 - Enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_logger_banlog "1"

// Log Chat ? (0 - Disable, 1 - Enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_logger_chatlog "1"

// Log connections ? (0 - Disable, 1 - Enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_logger_connlog "1"

// Log disconnections ? (0 - Disable, 1 - Enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_logger_disconnlog "1"

// Log unbans ? (0 - Disable, 1 - Enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_logger_unbanlog "1"

// Cooldown in seconds between each report.
// -
// Default: "60"
// Minimum: "0.000000"
sm_logger_report_cooldown "60"

// Log Reports ? (0 - Disable, 1 - Enable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_logger_reportslog "1"
NOTE: More features will be added upon request.
  • Love
Reactions: broaaloke
Author
Vertigo
Downloads
7
Views
99
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Vertigo

Share this resource

Latest updates

  1. Extra features have been added.

    Install Instructions : If you have installed previous version of this plugin. Then you need to...
  2. Bug Fixes

    Fixed Bug: Client index -1 is invalid.
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock