server.setRule: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{ScriptItem |endpoint = server |type = function |name = server.setRule |returnTypes = null |usage = set a server rule |returnInfo = null |since = 1.2.2 |notes = See ServerR...") |
No edit summary |
||
Line 3: | Line 3: | ||
|type = function | |type = function | ||
|name = server.setRule | |name = server.setRule | ||
| | |parameters = String name, String value | ||
|parameter1 = String name The rule's name/key | |||
|parameter2 = String value The rule's value | |||
|return1 = Null | |||
|usage = set a server rule | |usage = set a server rule | ||
|returnInfo = null | |returnInfo = null |
Revision as of 02:21, 10 November 2020
Function
Server Only
Online and Offline
Available since Server 1.2.2
Null server.setRule(String name, String value)
The server.setRule function is used to set a server rule.
Parameters
1) | String | name | The rule's name/key. |
2) | String | value | The rule's value. |
Return
Null | This function doesn't return a value. |
Notes
- See server rules for more information on server rules.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.