addip [Minutes Banned] [IP Address ]
This console command bans the specified IP from the server for the specified amount of minutes. Specify 0 as the amount of minutes to ban permanently.
Arguments are parameters that you add to a command. Find information about this command's arguments below.
|Minutes Banned||The number of minutes you want to ban somebody for. Use the value 0 for a permanent ban. Entering 60 here would ban someone for an hour.|
|IP Address||The IP address you want to add to the server's ban list (i.e. the IP address to ban).|
|Client or Server Command?||Both|
Find below working examples of this command (copy and paste into console).
addip 0 220.127.116.11
Running the above command would add the IP address "18.104.22.168" to the ban list, meaning the player(s) with that IP would be banned from the server and unable to connect.