View Single Post
Author Message
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-21-2012 , 17:04   [TF2] Votekick Switcher
Reply With Quote #1

[TF2] Votekick Switcher

v1.3.0

Description:
Sets the value of sv_vote_issue_kick_allowed to 1 when there are no admins connected with access to sm_kick, and 0 when there are. Mirrors this functionality to sv_vote_issue_kick_allowed_mvm.

Cvars:
votekick_switcher_version - plugin version
votekick_switcher_auto_update (default 1) - allows you to disable automatic updating (has no effect if Updater is not installed)

Installation:
Put votekick_swithcer.smx into /addons/sourcemod/plugins and reboot your server or type "sm plugins load votekick_switcher" into your console or rcon.

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

Changelog:
  • v1.3.0 (4/28/14)
    • Added support for CS:GO
    • Updater improvements
  • v1.2.0 (8/16/12)
    • Added support for sv_vote_issue_kick_allowed_mvm
  • v1.1.0 (7/12/12)
    • Added option to disable automatic updating (votekick_switcher_auto_update)
  • v1.0.0 (1/21/12)
    • Initial release

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

Last edited by Dr. McKay; 07-14-2020 at 04:13.
Dr. McKay is offline