[0.17.56] game.ban_player doesn't work the same as /ban

This subforum contains all the issues which we already resolved.
veladon
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Jun 27, 2015 3:36 pm
Contact:

[0.17.56] game.ban_player doesn't work the same as /ban

Post by veladon »

I am trying to put players on the server banlist using lua that haven't yet joined the server. If I do game.ban_player('someplayer') it fails saying it doesn't recognise the player, yet I can run the console cmd '/ban someplayer' and that works fine.

Thanks
Rseding91
Factorio Staff
Factorio Staff
Posts: 14478
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.56] game.ban_player doesn't work the same as /ban

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”