Raised This Month: $51 Target: $400
 12% 

[ANY] Anti Caps Lock


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Plugin ID:
4350
Plugin Version:
1.1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Forces players' chat to lowercase if too many letters are uppercase
Old 09-13-2014 , 11:57   [ANY] Anti Caps Lock
Reply With Quote #1

[ANY] Anti Caps Lock

v1.1.0

Description:
Same idea as this plugin, but it uses Simple Chat Processor instead of blocking/sending the say/say_team commands.

Cvars:
  • anti_caps_lock_version - plugin version
  • anti_caps_lock_auto_update - enables automatic updating (has no effect if Updater is not installed)
  • anti_caps_lock_percent (default 0.9) - percent of letters that must be uppercase before the entire message is lowercased
  • anti_caps_lock_min_length (default 5) - minimum number of letters required before the uppercase check is performed

Overrides:
  • anti_caps_lock_immunity (default root) - admins with access to this override will not have their messages manipulated; this can be overridden in admin_overrides.cfg.

Requirements:
You need Simple Chat Processor (Redux)

Installation:
Install Simple Chat Processor (Redux) if you don't have it already, and then put anticapslock.smx into /addons/sourcemod/plugins and reboot your server or type "sm plugins load anticapslock" 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.1.0 (9/22/14)
    • Added admin immunity
  • v1.0.0 (9/13/14)
    • Initial release

Download Plugin (anticapslock.zip)
View Source (anticapslock.sp)


Requires updater.inc, scp.inc and mckayupdater.sp to compile.
__________________

Last edited by Dr. McKay; 07-14-2020 at 05:08.
Dr. McKay is offline
 



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:09.


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