From fCraft Wiki
Revision as of 02:00, 31 May 2013 by F
Display the server rules.
|Usable from console?||Yes|
|Introduced in||fCraft 0.316|
- 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.
- Additional rule sections may be specified by creating a "rules" directory, and placing text files into it. For instance,
/Rules blahwill read from rules/blah.txt file. Colors and constants may also be used in these section files.
- Empty lines in
rules.txtare ignored, but may be desireable. To print an empty line, simply put
&Rin it, which is the default color. This way the line won't be ignored by the parser, and the linewrapper doesn't need to print any additional characters.