Page 1 of 1

[0.14.10] /ban with empty parameters should display a proper message

Posted: Wed Sep 28, 2016 8:56 pm
by Sephrat
Not really a bug but a bit confusing.
If I just type /ban, the game bans a user with an empty name. There's a big chance I only wanted to see the list of players banned (/bans). Same kind of behaviour with /unban.
A bit better: /mute and other similar commands have en error message saying the player doesn't exist,

IMO, the best solution would be to notify that a parameter is missing, because in such a case the player probably didn't know they had to specify a parameter.

Re: [0.14.10] /ban with empty parameters should display a proper message

Posted: Wed Sep 28, 2016 9:03 pm
by Loewchen
I think the idea here was to make it possible to ban players that are not on the server right now.

Re: [0.14.10] /ban with empty parameters should display a proper message

Posted: Wed Sep 28, 2016 9:05 pm
by Sephrat
Yes but I think/hope nobody can join with an empty username, therefore I believe there should be a special treatment if the parameter is empty/not provided. Nobody wants to ban an unnamed user.

Re: [0.14.10] /ban with empty parameters should display a proper message

Posted: Wed Sep 28, 2016 10:57 pm
by Rseding91
It's on my to-do to improve the messages around console commands. If you just type: /ban *press tab* it displays all usernames on the server.

Also this isn't a bug.