Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[TF2] Free2BeKicked with Stats


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 23.10.2011 07:28

[TF2] Free2BeKicked with Stats


v1.0

Description:
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
Installation:
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.

Requirements:
Like the original, this plugin requires SteamTools.

Overrides:
BypassPremiumCheck - Add this to your overrides to change the flag required to bypass the F2P check (defaults to ADMFLAG_ROOT)

Auto Update:
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.

Changelog:
  • v1.0 (10/23/11)
  • Initial Release
Download Plugin (anti_f2p_stats.smx)
Download Source (anti_f2p_stats.sp) (right click > save as...)


Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych