Difference between revisions of "NDGIB"
Line 17: | Line 17: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">BanUser(...)</p> || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">BanUser(...)</p>Params:<br>userid - the user id to ban<br>hours - hours to ban the user || Bans the user off the server, 0 in the hours or if hours is omitted it is permanent. |
|} | |} | ||
</center> | </center> |
Revision as of 17:40, 13 November 2019
Global Functions & Examples
BanIP(...) Params:ipaddress - the ipaddress to ban hours - the amount of hours to ban |
ip address to ban, accepts wildcards such as 192.168.1.* or 192.*.*.* ip bans are always perma bans.. |
Example
CODE EXAMPLE BLOCK
BanUser(...) Params:userid - the user id to ban hours - hours to ban the user |
Bans the user off the server, 0 in the hours or if hours is omitted it is permanent. |
Example
CODE EXAMPLE BLOCK