Thread: Tag Protection
View Single Post
Author Message
InstantDeath
Senior Member
Join Date: Mar 2007
Old 11-03-2008 , 01:56   Tag Protection
Reply With Quote #1

Tag Protection
A small simple plugin that allows only certain people to wear a specific tag. or use it to keep clans that you don't want on your server out.


Current Features:
  • Allows only people with the Admflag_custom1 flag (and people with root access) to wear a protected clan tag
  • In-game Admin control, add and remove tags from in game, with the option to kick or ban offenders
  • a kick time limit, to give offenders a chance to remove the offensive tag

CVARS:

sm_tagcfg "configs/taglist.cfg" File to load and save tags.
sm_tagwarntime "60.0" Time in seconds to warn player that he has an invalid tag


Admin Cmds:

sm_addtag Add tags to the list. Usage: sm_addtag <tag> (time for ban, -1 for kick)
sm_removetag Removes the specified tag from the list. Usage: sm_removetag <tag>


Changelog:
1.0
-Initial Release
1.1
-fixed decimals from displaying on countdown
1.2
-fixed: Plugin was calling TagCheckChange(client) sometimes too early.
1.21
  • fixed: ban function was sending the incorrect format parameter for the time.

Requires:
Sourcemod
version 1.0.4 or later.


Upcoming Features:

Suggest one!


Installation:
  • Copy tagprotection.smx to addons/sourcemod/plugins
  • Copy taglist.cfg to addons/sourcemod/configs
Attached Files
File Type: cfg taglist.cfg (94 Bytes, 4437 views)
File Type: sp Get Plugin or Get Source (tagprotection.sp - 5840 views - 9.9 KB)
__________________

Last edited by InstantDeath; 11-17-2008 at 00:41.
InstantDeath is offline