server.banIP
Method
Server Only
Online and Offline
Available since Server 1.2.4
null server.banIP(string ipAddress int timeoutInMilliseconds)
The server.banIP method is used to bans an IP address and blocks it from connecting.
Parameters
1) | string | dataName | The IP to be banned. |
2) | int | timeout | How long before the ban should expire (in milliseconds). Use 0 for permanent ban. |
Return
null | This method doesn't return a value. |
Types
Client
Server
Notes
There aren't any notes for this method.
Examples
There aren't any examples for this method.
Compatibility
There isn't any compatibility information for this method.