/Rules: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
==<code>/Rules <Section></code>== | ==<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. | :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. | ||
{{LastUpdated|1201}} | |||
Revision as of 21:03, 3 December 2011
| Command | |
| Rules Display the server rules. | |
|---|---|
| Usage |
/Rules /Rules <Section> |
| Category | Info |
| Usable from console? | Yes |
| Introduced in | fCraft 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 blahwill read from rules/blah.txt file. Colors and constants may also be used in these section files.