banid [Minutes] [User ID]
This command will ban the user with the specified ID from the server, and add them to the banlist so that they cannot reconnect. The user ID of a user can be obtained by typing status into the console: the user ID is first number before a player's name in the list of players that is printed by that command.
Arguments are parameters that you add to a command. Find information about this command's arguments below.
|Minutes||The number of minutes you want to ban the user for. Use the value 0 to permanently ban them.|
|User ID||The user ID of the person you want to ban from the server. Find the ID of a user by typing "status" into the console. The ID is the first number before a player's name in the list of players.|
|Client or Server Command?||Both|
Find below working examples of this command (copy and paste into console).
banid 0 30
This command would permanently ban the user with the ID 30 assigned to them from your server.