Server Rules 🔗
This mod adds a nice rules interface that is displayed to players, with several key features including a split-screen view to edit the rules in-game.
Features: 🔗
- Supports hypertext formatting
- Rules can be modified using
/set_rules - Split-screen GUI to set the rules allows previewing the formatted hypertext
- Rules are saved to
rules.txtin the worldpath - Players must agree to the rules when they join for the first time to gain interact
Commands: 🔗
/rulesshows the rules./set_rulesedit the rules. (requiresserverprivilege)
Using hypertext 🔗
The rules support hypertext formatting. Take a look at https://api.luanti.org/formspec/#markup-language for more info on how to use hypertext.
Note: Hypertext is only supported for >5.2.0 clients.
Basic usage:
<b>Bold text</b><i>Italics</i><u>Underlined text</u><center>Centered text</center><style color=#ff0000>This text will be red</style><style size=20>Bigger text</style><style font=mono size=20>Bigger text with mono font</style>
Licenses 🔗
Source code is licensed under the MIT license.
Simple and functional
Thanks for this simple mod, I worked with others in the past but this one was most easy to set up and with the help of Claude i was able to tailor it to my needs. <3