Jump to content

/Rules: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
Line 4: Line 4:
|aliases=
|aliases=
|uses=/Rules
|uses=/Rules
/Rules <Section>
|cat=Info
|cat=Info
|perm=
|perm=
Line 10: Line 12:
|}}
|}}


Shows you all the rules of the server. If you don't follow them, it will probably get consequences by the server Administrator and the staff of the server. The Administrator can change the rules using <code>'ConfigTool < General < Edit Rules'</code>.
==<code>/Rules</code>==
:Prints contents of ''rules.txt'' file. If no such file exists, prints a placeholder message ("Rules: Use common sense!"). This message can be changed by editing ''rules.txt'', or by using ConfigGUI (General tab -> Edit Rules). You may use any [[/Colors|color codes]] or [[Constants|string constants]] in ''rules.txt''.
 
==<code>/Rules <Section></code>==
:Additional rule sections may be specified by creating a "rules" directory, and placing text files into it. For instance, <code>/rules blah</code> will read from ''rules/blah.txt'' file. Colors and constants may also be used in these section files.

Revision as of 21:03, 3 December 2011

Command
Rules

Display the server rules.

Usage

/Rules

/Rules <Section>

CategoryInfo
Usable from console?Yes
Introduced infCraft 0.316


/Rules

Prints contents of rules.txt file. If no such file exists, prints a placeholder message ("Rules: Use common sense!"). This message can be changed by editing rules.txt, or by using ConfigGUI (General tab -> Edit Rules). You may use any color codes or string constants in rules.txt.

/Rules <Section>

Additional rule sections may be specified by creating a "rules" directory, and placing text files into it. For instance, /rules blah will read from rules/blah.txt file. Colors and constants may also be used in these section files.