PDA

View Full Version : WatchSpec v1.0


Nicolous
07-11-2007, 10:49
Description :
Watch and punish the spectators when they are observer since too long time.

Installation :
- Place the watchspec.smx file inside of the addons/sourcemod/plugins/ folder.
- Place the plugin.watchspec.cfg file inside of the cfg/sourcemod/ folder. It will be automatically excuted.
- Place the plugin.watchspec.txt file inside of the addons/sourcemod/translations/ folder (translated in english and french)

Cvars :
* watchspec_max_warnings
Max warnings before sanction (0 = off) (1 per minute)

* watchspec_sanction
Sanction for spectatoring
0 = kick
1 = ban o_O Why not ?

* watchspec_ban_time
Ban time if watchspec_sanction is "1"

Currently script does not punish the fake client, because I do not know how find which bot is HLTV.

Rebell
07-11-2007, 12:39
Nice plugin, will try out ^^

cya

^BuGs^
07-11-2007, 14:40
try to keep filenames all lower-case as Linux is case-sensitive. __MAXPLAYERS__ could be removed and "MAXPLAYERS + 1" is all that is needed.

new Handle:timersList[MAXPLAYERS +1]
... and you need the other flags for the version for it to work for stats tracking.

Otherwise good job.

Some idea for improvement:
* Check Immunity from being kicked/banned
* If they have the revered slot (i.e. clan/group server) if they should be put under a spec limit.

Nicolous
07-13-2007, 06:17
try to keep filenames all lower-case as Linux is case-sensitive.
__MAXPLAYERS__ could be removed and "MAXPLAYERS + 1" is all that is needed.
you need the other flags for the version for it to work for stats tracking.
Done.

krod
07-17-2007, 17:27
This is giving my players warnings when they are on ct/t and in spec..

Extreme_One
07-18-2007, 09:00
How can a player be on ct/t and in spec? :S

krod
07-18-2007, 11:16
Simple. They can't.
This plugin is giving warnings to all players regardless of what team/spec they are on.

Extreme_One
07-18-2007, 12:03
Simple. They can't.
This plugin is giving warnings to all players regardless of what team/spec they are on.

Yeah after I posted I re-read what you'd posted and realised that was what you meant.

tigerox
10-08-2008, 01:26
This plugin didn't work.

Fixed.

Also, admins are immune from being punished.

TigerOx

tigerox
10-11-2008, 17:03
Fixed an issue with players being kicked if they are spectating and the map changes.

Molli
11-08-2008, 07:28
Is this plugin working or not ?

Nice one still.

tigerox
11-08-2008, 11:02
The one on the first page isn't working.

Try this version. I have been using it for a few months without a problem.

TigerOx

Alderman [3rd MD]
12-24-2008, 18:17
Does this work with insurgency?