Raised This Month: $32 Target: $400
 8% 

[ANY]Watchlist


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dmustanger
Member
Join Date: Mar 2008
Plugin ID:
1818
Plugin Version:
2.0.1
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A watchlist for admins to add suspicious players to.
    Old 07-20-2010 , 12:01   [ANY]Watchlist
    Reply With Quote #1

    Watchlist allows admins to add players they suspect of breaking server rules to a list.

    Every x minutes (configurable from cvar), a broadcast message is sent to admins stating all players who are in the server and on the watchlist.

    If you are upgrading to version 2.0.1 you must install the new watchlist.cfg and watchlist.phrases.txt and plugin of course.
    Installation
    1. Copy the watchlist.smx file into gamemod/addons/sourcemod/plugins
    2. Copy the watchlist.phrases.txt into gamemod/addons/sourcemod/translations
    3. Edit the watchlist.cfg and copy into gamemod/cfg/sourcemod
    3. Add the below code to your databases.cfg (gamemod/addons/sourcemod/configs)

    For MySQL (Use this if you have a remote Mysql server and more than one game server)
    Code:
    "watchlist"
    {
            "driver"            "mysql"
            "host"                "db_host"
            "database"            "db_name"
            "user"                "db_user"
            "pass"                "db_pass"
    }
    For sqlite (Use this if you have only 1 game server)
    Code:
    "watchlist"
    {
            "driver"           "sqlite"
            "database"      "watchlist"
    }
    Server ConVars
    - watchlist_adminflag - Controls what admin flag a admin must have to use the watchlist. Deafault is c (kick flag).
    - watchlist_announce - Controls how the watchlist will be announced. Default is 3 (both).
    - watchlist_announce_interval - Controls how often (in whole minutes) a brodcast message is sent with players on the server that are on the Watchlist. Default is 1.0.
    - watchlist_sound_enabled - Enables a warning sound to admins when a WatchList player is announced. Default is 1 (on).
    - watchlist_log_enabled - Enables logging. Default is 0 (off).
    - watchlist_auto_delete - Controls how long in days to keep a player on the watchlist before it is auto deleted.
    - watchlist_admin_join - If set to 1, when a admin joins he will get a list of players on the watchlist that are on the server in the console.

    Usage
    - watchlist_add "steam_id | #userid | name" "reason" - Allows admins to add a player to the watchlist by steamid, userid or name.
    - watchlist_remove "steam_id | #userid | name" - Allows admins to remove a player from the watchlist by steamid, userid or name.
    - watchlist_query "steamid | online"- Querys the database. You can search for a steamid or all players that are online. Leave blank to search all.

    Changelog

    v1.0.0
    - Initial Release.

    v2.0.0
    - Fixed the problem that was preventing the plugin from announcing the players on the watchlist
    - Plugin now stores userid's in the database instead of client index's.
    - Changed convar watchlist_logging_enabled to watchlist_log_enabled.
    - Added convar watchlist_adminflag.
    - Added convar watchlist_announce.
    - You can now use watchlist_query "STEAM_0:0:0000" to search for a steamid
    - You can now use watchlist_query "online" to search for all players that are on only that server and are online.

    v2.0.1
    - Added convar watchlist_auto_delete
    - Added convar watchlist_admin_join
    - Added Brazilian Portuguese translation (Thanks caxanga334)

    To Do
    Make a suggestion?

    Thanks To
    recon0 for the original plugin.
    Attached Files
    File Type: cfg watchlist.cfg (1.3 KB, 644 views)
    File Type: sp Get Plugin or Get Source (watchlist.sp - 1492 views - 37.1 KB)
    File Type: txt watchlist.phrases.txt (2.9 KB, 470 views)
    __________________

    Last edited by dmustanger; 08-28-2014 at 21:36.
    dmustanger is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 07-20-2010 , 14:50   Re: Watchlist
    Reply With Quote #2

    You edited this one and couldnt wait for cadav0r to release his new version..

    http://forums.alliedmods.net/showthr...t=67400&page=9
    __________________

    DontWannaName is offline
    dmustanger
    Member
    Join Date: Mar 2008
    Old 07-20-2010 , 16:04   Re: Watchlist
    Reply With Quote #3

    he posted that over 6 months ago and not a word from him.
    Also if you read threw the pages there i was the one to get the mysql to work proper.
    __________________
    dmustanger is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 07-20-2010 , 22:27   Re: Watchlist
    Reply With Quote #4

    He posted in another thread he would be releasing his soon.
    __________________

    DontWannaName is offline
    Annihilator
    Senior Member
    Join Date: Nov 2006
    Location: Lithuania
    Old 07-21-2010 , 07:43   Re: Watchlist
    Reply With Quote #5

    A few questions
    1.Does this plugin send the watchlist to all the players or just admins?
    2.Is the player saved in the watchlist until an admin removes him from there, or deletes it after he leaves the server (auto delete after x days would be nice)?
    3.Does it show only players in the watchlist who are online?
    4.Is it possible for multiple servers to use the same db, so that they could share the watchlist? (It would be a nice addition to our servers for multi-server player tracking)
    Annihilator is offline
    dmustanger
    Member
    Join Date: Mar 2008
    Old 07-21-2010 , 12:32   Re: Watchlist
    Reply With Quote #6

    1.just admins with the kick and root flag
    2.he is on the watchlist untill an admin removes him. i can add an auto delete after x days. (added this to my to do list)
    3.yes it will only broadcast if they are on the server.
    4.yes just use mysql
    __________________

    Last edited by dmustanger; 07-21-2010 at 12:36.
    dmustanger is offline
    TheBigD
    Junior Member
    Join Date: Aug 2009
    Old 07-22-2010 , 15:29   Re: Watchlist
    Reply With Quote #7

    I'm having a problem getting persistent storage through map changes using the sqlite database entry. The "add to watch" "remove from watch" commands work, but on map changes the list goes away. I'm not seeing anything in the error logs either. Any suggestions how I can troubleshoot this?

    Thank you for getting this plugin updated btw.
    TheBigD is offline
    dmustanger
    Member
    Join Date: Mar 2008
    Old 07-22-2010 , 15:32   Re: Watchlist
    Reply With Quote #8

    goto cstrike/cfg/sourcemod/watchlist.cfg and change "watchlist_logging_enabled" from 0 to 2 and see if you get anything in the logs.
    __________________
    dmustanger is offline
    TheBigD
    Junior Member
    Join Date: Aug 2009
    Old 07-22-2010 , 16:00   Re: Watchlist
    Reply With Quote #9

    Getting this repeated.

    L 07/22/2010 - 19:58:48: [watchlist.smx] Query Failed T_generic: no such column: CURDATEDEF
    TheBigD is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 07-22-2010 , 18:41   Re: Watchlist
    Reply With Quote #10

    looks like a great idea, knowing my admins the list will be 10 pages long but still very useful, will try it on CSS DM when its quiet. thanks
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 09:14.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode