ServerRules: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4: Line 4:


== Using Rules ==
== Using Rules ==
Rules can be added in two ways: using the [[ServerConfiguration|server configuration xml]] via the <rule> tag or using the server-side scripting functions [[server.setRule|server.setRule]] and [[server.getRule|server.getRule]]. Setting a rule's value to null will delete the rule.
Rules can be added in two ways: using the [[ServerConfiguration|server configuration xml]] via the <rule> tag or using the server-side scripting functions [[server.setRule|server.setRule]] and [[server.getRule|server.getRule]]. Setting a rule's value to null will delete the rule. Server rules are case sensitive so for example, "test" and "Test" will display as separate rules.
 


== Built-in Rules ==
== Built-in Rules ==
2,603

edits