server.setRule: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
|parameter2 = String value The rule's value | |parameter2 = String value The rule's value | ||
|return1 = Null | |return1 = Null | ||
|returnFail1 = Null | |||
|usage = set a server rule | |usage = set a server rule | ||
|returnInfo = null | |returnInfo = null |
Latest revision as of 02:22, 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.