ban and banlist


(awkenney) #1

ok so we’ve got mulitple threads on how to kick a player but I’m wondering where the ban functionality is.

[ol]
[li]is there a command to ban a player?[/li][li]is there a banlist or a way to unban a player?[/li][li]is there a way to report a VAC violation specific to the game?[/li][/ol]
FYI: I searched for a thread on this, but several relevant words produced no results .


(Rosie the Riveter) #2

Typing admin in game console gave a list of these commands

admin kick
admin login
admin ban
admin setTeam
admin kickAllBots
admin changeMap
admin globalMute
admin globalVOIPMute
admin playerMute
admin playerVOIPMute
admin restartMap
admin nextStopWatchRound
admin changeUserGroup
admin startMatch
admin execConfig
admin shuffleTeams
admin addbot
admin adjustBots
admin disableProficiency
admin setTimeLimit
admin setTeamDamage
admin setTeamBalance
admin listBans
admin unBan

Bans are listed in server’s (Windows 2003 64bit)
C:\Documents and Settings\Administrator\My Documents\splash damage\brink\base\guidstates.dat


(Deadwalking) #3

Nice post Riveter, should help a lot people who are trying to use these commands.


(Apophus) #4

Indeed thanks for the info.


(ZeroLG) #5

Any idea what the format of that file needs to be? Is it just a list of steam ids or a combination of something? We havent had to ban anyone yet, but it would be nice to know :slight_smile:

Thanks for the info above - great help:stroggbanana:


(ZeroLG) #6

Following on from my post 1 above, I still have not found out where the banlist gets saved to - can anyone help?

We tried to find it by banning myself last night using that rcon tool of explicits. I did get banned (or so it seemed), and i was removed from the server, but I could still not see any obvious file that would contain said ban. But then I still managed to connect back onto my server anyways.

I also could not manage to ban from the console as it thinks i was not logged in. Can anyone post steps on how to login via console when in-game please?


(Rosie the Riveter) #7

the banlist is saved in a file called guidstates.dat

The deafault path on Windows 2003 server is

C:\Documents and Settings\Administrator\Local Settings\Application Data\splash damage\brink\base\guidstates.dat

It can be opened and edited with Notepad"

entry {
“guid” “xxxxxxxxxxxxxxxxx”
“user_name” “Name”
“ban_time” “1306109376”
}

What I discovered last night is that using the rcon admin kick # command in fact “bans” the player. for “ban_time” “1306109376”. His friend messaged me that his friend had been “banned” so I assume that he received some sort of message when he tried to rejoin.

In order to unban the player, I stopped the server , deleted the players guidstates.dat entry and then rebooted the server. ( So sorry Abbot, the intent was not to ban you :frowning: )

I also did not see an option in the admin command list to move a player onto the opposing team or at least, temporarily into into spectator. Are there such commands?

What is the duration of a “ban_time” “1306109376” ?
I am familiar with rcon and SourceMod times for bans in minutes wherein the usual values are 30, 60, 1440 (24hours), 10080 (1 week) and 0 for permanent

@awKenny
You can’t report a perceived “VAC” violation. VAC screens for cheats and when they are found bans the player on all games using the same engine. There is a deliberate delay in time between detection and ban so the player can’t deduce what cheat was detected.
You can report cheat sites or details of a particular cheat by messaging a Steam Forum Moderator and they will forward that information to the appropriate parties.

The Splash Damage team already has a forum thread posted with instructions on how to report “cheats” and “exploits” to them.


(ZeroLG) #8

[QUOTE=Rosie the Riveter;320428]the banlist is saved in a file called guidstates.dat

The deafault path on Windows 2003 server is

C:\Documents and Settings\Administrator\Local Settings\Application Data\splash damage\brink\base\guidstates.dat

It can be opened and edited with Notepad"

entry {
“guid” “xxxxxxxxxxxxxxxxx”
“user_name” “Name”
“ban_time” “1306109376”
}

[/QUOTE]

Thanks for the reply Rosie. So do you have to create a block like the above for every player ban or multiple guid, user_name, and ban_times inside one entry block/tags?

So either:


entry {
"guid" "xxxxxxxxxxxxxxxxx"
"user_name" "Name"
"ban_time" "1306109376"
} 
entry {
"guid" "xxxxxxxxxxxxxxxxx"
"user_name" "Name 2"
"ban_time" "1306109376"
} 

or


entry {
"guid" "xxxxxxxxxxxxxxxxx"
"user_name" "Name"
"ban_time" "1306109376"
"guid" "xxxxxxxxxxxxxxxxx"
"user_name" "Name 2"
"ban_time" "1306109376"
} 

Thanks again :slight_smile:

PS Is the guid their steam id?


(Rosie the Riveter) #9

that entry was made automatically by an in game use of the rcon admin kick # command

each player gets a seperate entry like your example

entry {
"guid" "xxxxxxxxxxxxxxxxx"
"user_name" "Name"
"ban_time" "1306109376"
} 
entry {
"guid" "xxxxxxxxxxxxxxxxx"
"user_name" "Name 2"
"ban_time" "1306109376"
}

The GUID number is an account specific number. I’ve only had experience with them when using the X-ray Anticheat (XAC) program for DODS league play The concept is the same. The GUID is a unique number for a game account. It is not the same as your STEAMID

This online prgram converts STEAMID / STEAMID64 = GUID / Steam profile url
http://steamidconverter.com/

Note: The STEAMID64 is the same as the GUID and a one step application that might be useful for the BRINK competitive players


(togsj777) #10

this looks like a UNIX timestamp. If you plug it into this: http://www.onlineconversion.com/unix_time.htm

you’ll see it converts to Mon, 23 May 2011 00:09:36 GMT

So I’m concerned that this is not a ban duration but a record of the time when you banned them. So infact the ban is permanent? I suppose I could test this on myself but im going to sleep instead:cool:

So the question is: does ADMIN KICK # actually do a perm ban?


(Rosie the Riveter) #11

[QUOTE=togsj777;320501]this looks like a UNIX timestamp. If you plug it into this: http://www.onlineconversion.com/unix_time.htm

you’ll see it converts to Mon, 23 May 2011 00:09:36 GMT

So I’m concerned that this is not a ban duration but a record of the time when you banned them. So infact the ban is permanent? I suppose I could test this on myself but im going to sleep instead:cool:

So the question is: does ADMIN KICK # actually do a perm ban?[/QUOTE]

Wow! I would never have surmised that. Thanks

Questions to the Devs:
Q. Does the “rcon kick” command actually Ban?
Q If so, how long does this ban last?
Q. How long does a “rcon ban” last


(ZeroLG) #12

How do you perform a manual ban/kick in-game?

I tried last night but kept getting a msg saying I don’t have sufficient rights.

I thought you just had to type this in the console:
net_clientRemoteConsolePassword avalidpassword

and then:
admin kick playername


(Rosie the Riveter) #13

Type in console
admin kick <space>
Then press TAB key and it will cycle through the players’ names and their #

Then type in console
rcon admin kick #


(DrFunkenstein) #14

A kick is nothing more then temporary ban.

Kicks are stored in the format Rosie posted above, bans use the exact same format but the “ban_time” is changed to “forever”. A ban will look like this in the guidstates.dat file:

entry {
“guid” “12345678901234567”
“user_name” “DrFunkenstein”
“ban_time” “forever”
}

You can find out where the guidstates.dat is located by typing “fs_userpath” directly into the server console or by typing “rcon fs_userpath” in the console of the client when you’re connected to your server.

Typing “admin listbans” will give you a list of the people that are currently banned:

]admin listbans
0: DrFunkenstein

(use rcon in front of every command if you’re doing this from a client and make sure you have net_clientRemoteConsolePassword set correctly!)

You can unban someone with “admin unban #” where “#” is the number you see before the player name when you use “admin listbans” command. I can unban myself by typing “admin unban 0” in the server console.

@Rosie: there’s no need to do all those things when you kicked or banned someone by accident. A kick is a ban with an end date, the player will show up in the list if you use “admin listbans” and you can unban him with the commands I mentioned above.

You can edit the guidstates.dat file manually with Wordpad or Notepad, but you have to be careful with this, since it’s easy to mess up the formatting and the game seems to be quite picky about that. Banning and unbanning is best done from within the game or the server console in my opinion. The commands you need to know are simple and you don’t run the risk of screwing up the format of the ban entries. If you decide to edit it yourself, please make a backup first!

Dr. Funkenstein


(Rosie the Riveter) #15

you seem to have the info :slight_smile:

How long is the temporary ban for a “kicked” player ?

I kicked a player yesterday but he was unable to reconnect
His friend asked why he was “banned” so I assumed the kicked player received some sort of message when trying to reconnect.

You can edit the guidstates.dat file manually with Wordpad or Notepad, but you have to be careful with this, since it’s easy to mess up the formatting and the game seems to be quite picky about that. Banning and unbanning is best done from within the game or the server console in my opinion.

Total agreement here. Read somewhere else that the admin listbans an admin unban # from console wasn’t working.
I was indicating that removing an entire player entry will unban them. It wouldn’t be right to leave someone perm banned when the intent was a simple kick. I was not advocating adding bans through Notepad. Tedious and nit picky endeavor. Glad to hear that the earlier post that admin listbans and admin unban # function was in error.


(ZeroLG) #16

[QUOTE=Rosie the Riveter;320535]Type in console
admin kick <space>
Then press TAB key and it will cycle through the players’ names and their #

Then type in console
rcon admin kick #[/QUOTE]

Thanks, will try that. I thought I did but may have screwed it up :o


(DrFunkenstein) #17

If I kick myself from my local dedicated server, I see this in the logfile of my client:

2011-05-23 22:03:44 : You have been kicked from the session.

My local time is GMT+2 so that translates to 20:03:44 GMT.

The guidstates.dat looks like this:

entry {
“guid” “12345678901234567”
“auth_group” “Default”
“user_name” “DrFunkenstein”
“ban_time” “1306181055”
}

That’s 20:04:15 GMT according to the link that togsj777 posted so I guess the kick time is 30 seconds.

There’s a cvar called g_kicktime, default value is “1” but it’s labelled as a cheat and I can’t change it on the dedictated server. At least not as far as I can tell.

Dr. Funkenstein


(Jamieson) #18

Before you can kick or ban you will need to login first.

net_clientRemoteConsoleAddress (server IP)

net_clientRemoteConsolePassword (rcon password)

admin kick (press tab key) will list all players and their numbers.

rcon admin kick (number here) could kick 2 so it would look like this
rcon admin kick 2