Note: This forum is merely an archive. It is no longer possible to register or post. - StackOverflow
New Ace of Spades Forums: http://buildandshoot.com/

Spectator Control

Finished a script? Pop it in here.

Spectator Control

Postby Tocksman » Sun Mar 25, 2012 2:07 am

Spectator Control is a small script that I wrote to curb abuse of spectator in the Goon Haven servers.

# Script by Tocksman made for Goon Haven
# Short bit of documentation:
#
# This script will hopefully give server owners some control over what
# spectators do on there server. As of now since the release of v0.75,
# Goon Haven has had issues with spectators idling and using global chat
# to send information to a team so that they may know enemy positions
# or what the enemy is doing, etc. This script can block spectator chat
# as well as kick spectators after so much time as passed.
#
# Add these lines to your config:
# spectator_no_chat - This determines whether spectators can chat or not
# in your server. True disables chat. [True/False]
# spectator_kick - This determines whether spectators will be kicked after
# remaining for so long. True activates this. [True/False]
# spectator_kick_time - How long a spectator may remain before he is kicked.
# Time is in seconds. Note that setting time to 0
# will cause the script to deactivate or malfunction.
#
# Additionally, server owners who also give out "guard" or "mini-mod"
# positions can add the right "specpower" to the group rights in commands.py
# to have the guards/minimods be immune to the spectator kick and chat
# restrictions.
#
#
# Oh, and admins are also automatically immune to spectator kick and chat
# restrictions.
#
# Hope you enjoy!
# Tocksman


Download it here: http://code.google.com/p/pyspades/sourc ... control.py
Tocksman
Member
 
Posts: 90
Joined: Mon Jan 02, 2012 10:46 pm

Re: Spectator Control

Postby LASTofS » Sun Mar 25, 2012 4:45 pm

I can see this being very useful to have on a server.
ImageImageImage
Join the [LoS] (last of spades) clan here | my greatest contribution: Image icon on openGL client
User avatar
LASTofS
News Reporter
 
Posts: 852
Joined: Sat Jan 21, 2012 6:34 pm
Location: pls there are kids in here


Return to Script releases



Who is online

Users browsing this forum: No registered users and 1 guest

cron