Page 1 of 1

I need a way to perma ban players

Posted: Thu Jul 21, 2016 5:14 am
by jvmguy
I've been running a public game server, and have had griefers trash the place.

I'd like to permaban them. Something like a config file of permanently banned players. Is that possible?

Re: I need a way to perma ban players

Posted: Thu Jul 21, 2016 6:05 am
by Koub
There are several discussions (past and running) about grievers, and how to protect from them.
There is actually not much to do, but you can express your ideas on the existing topics.
viewtopic.php?f=5&t=29422 for example.

Re: I need a way to perma ban players

Posted: Thu Jul 21, 2016 11:57 am
by ssilk
Set password protection?

I see that here currently off-topic, cause it needs some kind of general discussion first.

Re: I need a way to perma ban players

Posted: Thu Jul 21, 2016 11:40 pm
by jvmguy
I'm not looking for a global ban. I just want to permanently ban certain players from any games I host.

An ideal solution would be a file, banned-players.json, that contains the usernames of all banned players.

Alternately, allow us to ban players via command without them already being in the game.

A third possibility, which would be even better, is to allow us to specify a start location for named players (who may not have joined yet)... out in the cornfield... equivalent to:
/c game.player.teleport({10000,0})

Re: I need a way to perma ban players

Posted: Thu Jul 21, 2016 11:46 pm
by Oxyd
jvmguy wrote:A third possibility, which would be even better, is to allow us to specify a start location for named players (who may not have joined yet)... out in the cornfield... equivalent to:
/c game.player.teleport({10000,0})
/c game.player.force.set_spawn_position({10000, 0}, game.player.surface)

Though that will set the spawn point for everyone. (Or at least everyone on your force.)

Another option would be to create a custom script that reads the standard output and if it detects that a player has joined, sends an RCON command to teleport them immediatelly.

Also I'll see what I can do about the other suggestions.

Re: I need a way to perma ban players

Posted: Mon Jul 10, 2017 5:17 pm
by slayith
The current workaround is to create the file yourself and have a multitail or swatch look at the serverlog , on each join, check name against the array then kick.