Raised This Month: $155 Target: $400
 38% 

[TF2] SteamRep Checker (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Plugin ID:
3551
Plugin Version:
1.2.0
Plugin Category:
Server Management
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
287 
Plugin Description:
Unofficial, improved SteamRep Checker
Old 03-02-2013 , 00:03   [TF2] SteamRep Checker (Redux)
Reply With Quote #1

[TF2] SteamRep Checker (Redux)

v1.2.0

Description:
This is an (unofficial) improved version of the SteamRep Checker plugin that adds a few features and cleans up existing features.
  • Chat tagging is now accomplished by renaming the client and optionally using Simple Chat Processor (Redux) to colorize the tag.
  • The SteamTools extension is used instead of the Socket extension for HTTP requests.
  • Added ability to query Steam for a user's trade ban/probation status and deal with them accordingly (requires Steam Web API key).
  • Added optional chat message upon first player spawn stating that the server is protected by SteamRep.

Cvars:
  • steamrep_checker_version - plugin version
  • steamrep_checker_deal_method - how to deal with SteamRep reported scammers
    • 0 = Disabled
    • 1 = [SCAMMER] tag on name + chat warning to all players (requires Simple Chat Processor (Redux) for color in chat)
    • 2 = Kick (default)
    • 3 = Ban Steam ID for steamrep_checker_steamid_ban_length minutes
    • 4 = Ban IP for steamrep_checker_ip_ban_length
    • 5 = Ban Steam ID + IP
  • steamrep_checker_steamid_ban_length - length in minutes to ban Steam IDs for (0 = permanent), defaults to 0
  • steamrep_checker_ip_ban_length - length in minutes to ban IP addresses for (0 = permanent), defaults to 0
  • steamrep_checker_kick_tagged_scammers - if steamrep_checker_deal_method is set to 1, kick a tagged scammer/trade-banned/trade-probation player when the server gets full, defaults to 1
  • steamrep_checker_valve_ban_deal_method - how to deal with trade-banned players (requires steamrep_checker_steam_api_key to be set)
    • 0 = Disabled
    • 1 = [TRADE BANNED] tag on name + chat warning to all players (requires Simple Chat Processor (Redux) for color in chat)
    • 2 = Kick (default)
    • 3 = Ban Steam ID for steamrep_checker_steamid_ban_length minutes
    • 4 = Ban IP for steamrep_checker_ip_ban_length
    • 5 = Ban Steam ID + IP
  • steamrep_checker_valve_probation_deal_method - how to deal with players on trade probation (requires steamrep_checker_steam_api_key to be set)
    • 0 = Disabled
    • 1 = [TRADE PROBATION] tag on name + chat warning to all players (requires Simple Chat Processor (Redux) for color in chat) (default)
    • 2 = Kick
    • 3 = Ban Steam ID for steamrep_checker_steamid_ban_length minutes
    • 4 = Ban IP for steamrep_checker_ip_ban_length
    • 5 = Ban Steam ID + IP
  • steamrep_checker_steam_api_key - API key used to query trade ban/probation status, obtained from http://steamcommunity.com/dev
  • steamrep_checker_send_ip - enable to send the IP address of connecting players to steamrep.com, this is used to block known scammer IPs and for other SteamRep internal scammer investigations, defaults to 0
  • steamrep_checker_untrusted_tags - enter any community tags that you don't trust here, defaults to empty
  • steamrep_checker_spawn_message - enable to display a "protected by SteamRep" message on every player's first spawn, defaults to 1
  • steamrep_checker_log_level - level of logging
    • 0 = Errors only
    • 1 = Info + errors (default)
    • 2 = Info, errors, and debug
  • steamrep_checker_auto_update - enables automatic updating (has no effect if Updater is not installed), defaults to 1

Plugin creates and loads cfg/sourcemod/plugin.steamrep_checker.cfg

Overrides:
SkipSR - Anyone with access to this override will not be checked for SteamRep scammer status, Valve trade ban status, or Valve trade probation status. Defaults to root (z), but can be overridden in admin_overrides.cfg.

Requirements:
Requires the SteamTools extension and Simple Chat Processor (Redux) if you wish to utilize the chat-tag coloring feature.

Installation:
Install any requirements, put steamrep_checker.smx into /addons/sourcemod/plugins, and reboot your server or type "sm plugins load steamrep_checker" into your console or rcon.

Auto Update:
Install Updater. The plugin will be auto-updated according to your Updater settings. It'll work without Updater.

Changelog:
  • v1.2.0 (1/6/14)
    • Added support for SourceBans 1.5/2.0 plugin
    • Switched from deprecated CCC_OnTagApplied forward to CCC_OnColor
  • v1.1.0 (3/2/13)
    • Removed optional Custom Chat Colors dependency
    • Updated scammer tagging to rename the client
    • Added optional Simple Chat Processor (Redux) dependecy for scammer tag coloring
    • Added blocking of tags applied by Custom Chat Colors for tagged scammers
  • v1.0.0 (3/2/13)
    • Initial release

Download Plugin (steamrep_checker.smx)
View Source (steamrep_checker.sp)
__________________

Last edited by Dr. McKay; 01-06-2014 at 11:41.
Dr. McKay is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 03-02-2013 , 00:08   Re: [TF2] SteamRep Checker (Redux)
Reply With Quote #2

~Reserved~
__________________
Dr. McKay is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 03-02-2013 , 01:34   Re: [TF2] SteamRep Checker (Redux)
Reply With Quote #3

Good work! I'll be migrating to this solution from the original and provide some feedback if needed.
Mr. Man is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 03-02-2013 , 01:42   Re: [TF2] SteamRep Checker (Redux)
Reply With Quote #4

I suggest that it also changes the players name. That way if they decide not to type we can still tell if they talk over the mic.

Nice work on the remake.
__________________

Last edited by Fearts; 03-02-2013 at 01:42.
Fearts is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 03-02-2013 , 01:44   Re: [TF2] SteamRep Checker (Redux)
Reply With Quote #5

Quote:
Originally Posted by Fearts View Post
I suggest that it also changes the players name. That way if they decide not to type we can still tell if they talk over the mic.

Nice work on the remake.
Was going to suggest this as well. Up until about 2 weeks ago, I wasn't aware of the fact that player names can be force-changed.
Mr. Man is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 03-02-2013 , 01:59   Re: [TF2] SteamRep Checker (Redux)
Reply With Quote #6

Quote:
Originally Posted by Fearts View Post
I suggest that it also changes the players name. That way if they decide not to type we can still tell if they talk over the mic.

Nice work on the remake.
If I'm going to go this route (changing the player's name), I'll probably end up removing the CCC dependency and just using Simple Chat Processor to colorize the tag in chat. Don't see why it couldn't be done.

Edit: This has been done.

Plugin updated to v1.1.0. Changelog:
  • Removed optional Custom Chat Colors dependency
  • Updated scammer tagging to rename the client
  • Added optional Simple Chat Processor (Redux) dependecy for scammer tag coloring
  • Added blocking of tags applied by Custom Chat Colors for tagged scammers
__________________

Last edited by Dr. McKay; 03-02-2013 at 02:37.
Dr. McKay is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Poland() Yume-no-Sekai
Old 03-02-2013 , 19:22   Re: [TF2] SteamRep Checker (Redux)
Reply With Quote #7

Great Plugin
I've got one question and one suggestion

QUESTION: Do those tags are going to replace existing tags created by 'custom chat color' example: player got tag [ADMIN] it will show up only [SCAMMER] or it will showup [ADMIN] [SCAMMER] ?

SUGGESTION:
Maybe add more steamrep tags like 'VALVE EMPLOYEE', 'TF2TP ADMIN', 'SOP TRUSTED SELLER', 'SR DONATOR' .....
__________________
Hello,
I'm just a freelance programmer with bunch of experience in Assembly, C++, Lua, Pawn and Sourcepawn... I've got a TF Server Community aswell...


Currently Accepting Plugin Requests For $$$... Add me!
- Paid Jobs
Temporarily Closed

Last edited by Oshizu; 03-02-2013 at 19:27.
Oshizu is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 03-02-2013 , 19:26   Re: [TF2] SteamRep Checker (Redux)
Reply With Quote #8

My suggestion for a setting for this or the other old plugin is to set it to BAN any scammer from entering your servers vs tagging them, tagging them IMO is just pointless - best to keep the scum out of the servers. The more servers that do that the less places the scum have to try to scam others.
Horsedick is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 03-02-2013 , 19:37   Re: [TF2] SteamRep Checker (Redux)
Reply With Quote #9

It might also be a good idea to give us the ability to tag F2Ps
Mr. Man is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 03-02-2013 , 20:48   Re: [TF2] SteamRep Checker (Redux)
Reply With Quote #10

Quote:
Originally Posted by Oshizu View Post
Great Plugin
I've got one question and one suggestion

QUESTION: Do those tags are going to replace existing tags created by 'custom chat color' example: player got tag [ADMIN] it will show up only [SCAMMER] or it will showup [ADMIN] [SCAMMER] ?

SUGGESTION:
Maybe add more steamrep tags like 'VALVE EMPLOYEE', 'TF2TP ADMIN', 'SOP TRUSTED SELLER', 'SR DONATOR' .....
This plugin will replace CCC tags.

Not possible at the moment. The SteamRep API doesn't return that information.
Quote:
Originally Posted by Mr. Man View Post
It might also be a good idea to give us the ability to tag F2Ps
Use Free2BeRenamed.
__________________
Dr. McKay 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 04:19.


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