[SPADS] Addbox spectator spam

[SPADS] Addbox spectator spam

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

[SPADS] Addbox spectator spam

Post by Forboding Angel »

Can we have a setting where specs can't use the addbox command?
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: [SPADS] Addbox spectator spam

Post by Jools »

Edit the addbox command in commands.conf of spads.

Code: Select all

#?source:status:gameState|directLevel:voteLevel

 status: status of the client calling the command (string)
#   playing -> player currently playing in game
#   player -> player in battle lobby and/or in game
#   spec -> spectator in battle lobby
#   outside -> user outside battle
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: [SPADS] Addbox spectator spam

Post by Forboding Angel »

Code: Select all

[addBox]
#battle,pv:player,spec:stopped|10:10
battle:player:stopped|100:10
::|30:
I don't think this could possibly make less sense.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: [SPADS] Addbox spectator spam

Post by Jools »

Yes, it's a bit confusing. I have this:

Code: Select all

[addBox]
battle,pv:player,spec:stopped|10:10
::|100:
I think it means that the first row specifies a list of conditions and then two required levels, directlevel and votelevel. Then the second row acts as an "else" statement. So you could try to set it like this:

Code: Select all

[addBox]
battle,pv:player:stopped|10:10
battle,pv:spec:stopped|100:100
::|100:
Maybe?
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: [SPADS] Addbox spectator spam

Post by Jools »

By the way if you make me an admin no your hosts I can help out with all that. And I also speak a lot of languages: Swedish, English, Finnish, German, Spanish and French.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: [SPADS] Addbox spectator spam

Post by Forboding Angel »

Ok I will do. Thanks :-)
Post Reply

Return to “SPADS AutoHost”