View Single Post
Author Message
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-03-2012 , 11:22   [ANY] Ban Player's Spray
Reply With Quote #1

DESCRIPTION:
This plugin will give admins the ability to permanently ban a player's ability to use the in-game spray function. Once banned, a player will not be able to spray anymore until an admin unbans them.

Admin can also view the ban list of currently connected players. Players can also view a menu to check the status of their spray ban status.

New in 0.0.3.4+, ability to use SteamID in command to ban sprays when player isn't online.

New in 0.0.3.7, basic spray on spray protection with cvar sm_banedsprays_protection

Commands


sm_settings (this is a SM command)
- This is what players will use to check the status of their ban

CVars


The plugin is compiled to have admins with the ban flag able to use the commands. You can override the command "AllowSprayTrace" to be whatever you want.

Change Log


REQUIREMENTS:
A few include files if you wish to manually compile.

Known Issues:
None that I'm aware of

NOTE:
All player's ability to use a spray before cookies are cached are restricted (this usually is not a problem, just wanted to let you know). There is now a CVar so you can determine the ability of using sprays before cookies are cached (defaulted to NOT allow sprays).

INSTALLATION:
For now, just drop the .smx in your sourcemod/plugins folder. I will be adding a translation file later on so this can get approved. I wasn't planning on releasing this plugin, but I've seen a few requests for it lately.I've updated this plugin as of 0.0.3.4 to have a translation file, make sure you place that in your translations folder.
Attached Files
File Type: txt ban_player_sprays.phrases.txt (1.8 KB, 1504 views)
File Type: sp Get Plugin or Get Source (ban_player_sprays.sp - 1133 views - 35.7 KB)
File Type: smx ban_player_sprays.smx (28.1 KB, 1216 views)
__________________
View my Plugins | Donate

Last edited by TnTSCS; 01-21-2015 at 11:14. Reason: Update from 0.0.3.7 to 0.0.3.8
TnTSCS is offline