Difference between revisions of "NDGIB"
Line 11: | Line 11: | ||
<p style="width: 60%;margin: 0 auto">Example</p> | <p style="width: 60%;margin: 0 auto">Example</p> | ||
<div style="width:60%;margin: 0 auto"> | <div style="width:60%;margin: 0 auto"> | ||
− | + | -- ban the ipaddress of a naughty player for 24 hours | |
+ | BanIp("123.45.67.890",24) | ||
</div> | </div> | ||
Revision as of 17:43, 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
-- ban the ipaddress of a naughty player for 24 hours BanIp("123.45.67.890",24)
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