[TF2] Free2BeKicked with Stats
Ever wanted to know exactly how many Free2Players you're kicking from your server? Now you can! This plugin logs to a file every time an F2Player is kicked, and every time an F2Player is allowed through via overrides. This is basically a rewrite of asherkin's original Free2BeKicked. In the near future, the plugin will also log an exact tally of F2P's kicked and F2P's allowed in. It also allows you to change the message displayed when a player is kicked via a cvar.
Provided it's enabled via cvar, all kicks and overrides passthroughs will be logged to /addons/sourcemod/logs/anti_f2p_stats.log. Here's an example of what an entry looks like:
Code: L 10/23/2011 - 02:15:48: Player [GoR] Dr. McKay<STEAM_0:0:23071901> is F2P, and has been kicked.Cvars:
- anti_f2p_stats_enable (1) - enables or disables F2Player kicking
- anti_f2p_stats_log (1) - enables or disables logging of kicks and overrides to a file
- anti_f2p_stats_message - specifies the message to be shown to players when kicked (defaults to "You need a Premium TF2 account to play on this server")
- anti_f2p_stats_version - plugin version
Put anti_f2p_stats.smx into /addons/sourcemod/plugins and reboot your server or type "sm plugins load anti_f2p_stats" into your console or rcon.
Like the original, this plugin requires SteamTools.
BypassPremiumCheck - Add this to your overrides to change the flag required to bypass the F2P check (defaults to ADMFLAG_ROOT)
Install Plugin Autoupdater. Every time sm_autoupdate_download is run, the plugin will be updated if there is a new version available. The plugin will still work if Autoupdater is not installed, it just won't auto update.
- v1.0 (10/23/11)
- Initial Release
Download Source (anti_f2p_stats.sp) (right click > save as...)
Wyświetl pełny artykuł