Difference between revisions of "NDGIB"
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<center><p style="width: 60%">[[NDGIA|A]] [[NDGIB|B]] [[NDGIC|C]] [[NDGID|D]] [[NDGIE|E]] [[NDGIF|F]] [[NDGIG|G]] [[NDGIH|H]] [[NDGII|I]] [[NDGIJ|J]] [[NDGIK|K]] [[NDGIL|L]] [[NDGIM|M]] [[NDGIN|N]] [[NDGIO|O]] [[NDGIP|P]] [[NDGIQ|Q]] [[NDGIR|R]] [[NDGIS|S]] [[NDGIT|T]] [[NDGIU|U]] [[NDGIV|V]] [[NDGIW|W]] [[NDGIX|X]] [[NDGIY|Y]] [[NDGIZ|Z]]</p></center> | <center><p style="width: 60%">[[NDGIA|A]] [[NDGIB|B]] [[NDGIC|C]] [[NDGID|D]] [[NDGIE|E]] [[NDGIF|F]] [[NDGIG|G]] [[NDGIH|H]] [[NDGII|I]] [[NDGIJ|J]] [[NDGIK|K]] [[NDGIL|L]] [[NDGIM|M]] [[NDGIN|N]] [[NDGIO|O]] [[NDGIP|P]] [[NDGIQ|Q]] [[NDGIR|R]] [[NDGIS|S]] [[NDGIT|T]] [[NDGIU|U]] [[NDGIV|V]] [[NDGIW|W]] [[NDGIX|X]] [[NDGIY|Y]] [[NDGIZ|Z]]</p></center> | ||
<p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Global Functions & Examples</p> | <p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Global Functions & Examples</p> | ||
+ | |||
+ | <center> | ||
+ | {| class="wikitable" | style="width: 60%" | ||
+ | |- | ||
+ | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">BanIP(...)</p>Params:<br>ipaddress - the ipaddress to ban<br>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.. | ||
+ | |} | ||
+ | </center> | ||
+ | <p style="width: 60%;margin: 0 auto">Example</p> | ||
+ | <div style="width:60%;margin: 0 auto"> | ||
+ | -- ban the ipaddress of a naughty player for 24 hours | ||
+ | BanIp("123.45.67.890",24) | ||
+ | </div> | ||
+ | |||
+ | <center> | ||
+ | {| class="wikitable" | style="width: 60%" | ||
+ | |- | ||
+ | |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> | ||
+ | <p style="width: 60%;margin: 0 auto">Example</p> | ||
+ | <div style="width:60%;margin: 0 auto"> | ||
+ | -- ban a user for 24 hours | ||
+ | -- userid of the player is 1327 | ||
+ | BanUser(1327,24) | ||
+ | </div> |
Latest revision as of 17:46, 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
-- ban a user for 24 hours -- userid of the player is 1327 BanUser(1327,24)