server.banIP

Revision as of 19:21, 26 November 2020 by Vortrex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Method Server Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png 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 ipAddress 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.