Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,40 @@ for i = 1, #items do
end
rules.txt = table.concat(items, ",")

local colors = {
background_color = "#FFF0",
font_color = "#FFF",
heading_1_color = "#AFF",
heading_2_color = "#FAA",
heading_3_color = "#AAF",
heading_4_color = "#FFA",
heading_5_color = "#AFF",
heading_6_color = "#FAF",
heading_1_size = "26",
heading_2_size = "24",
heading_3_size = "22",
heading_4_size = "20",
heading_5_size = "18",
heading_6_size = "16",
code_block_mono_color = "#6F6",
code_block_font_size = 14,
mono_color = "#6F6",
block_quote_color = "#FFA",
}

if minetest.global_exists("sfinv") then
sfinv.register_page("rules:rules", {
title = "Rules",
get = function(self, player, context)
return sfinv.make_formspec(player, context,
"textlist[0,0;7.85,8.5;help;" .. rules.txt .. "]", false)
md2f.md2ff(
0.2, 0.8, 8.3, 10,
minetest.get_modpath("rules").."/translations/rules_en.md",
"rules_en",
colors
),
false
)
end
})
end
Expand Down
1 change: 1 addition & 0 deletions mod.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
name = rules
depends = markdown2formspec
optional_depends = sfinv
23 changes: 23 additions & 0 deletions translations/rules_en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
### By playing on this server you agree to these rules:
1. No swearing, dating, or other inappropriate behaviour.
2. No spamming, using all-caps, or any other method of chat abuse.
3. Don't be a cheater. No hacked clients.
4. Spawnkilling is considered excessive and thus forbidden if it doesn't contribute to the goal of the game in a proper way. Consequently, spawnkilling can already be punished if only two kills are made, depending on the situation.
5. Don't be a traitor, don't dig blocks in your base to make it less secure or to trap team mates, and don't help the other team win.
6. Don't leave the game whilst in a fight
7. Don't impersonate other community members
8. Do not share your password with ANYONE.
9. Avoid controversial topics like politics/religion
10. Moderator decisions are final.

Failure to follow these rules may result in a kick or ban (temp or permanent) depending on severity.

Created by rubenwardy. Developed by LandarVargan.
Moderators: Thomas-S, IceAgeComing, Waterbug, DragonsVolcanoDance, Shara, Calinou, Aurika, LandarVargan, Xenon, Jhalman, Kat, _Lucy

Though the server owner will not actively read private messages/mails or disclose their content outside the mod team, random checks will be done to make sure they are not being abused and they will be reviewed if abuse or inappropriate behaviour is suspected.

Use `/report` to send a message to a moderator.
For example:
- `/report bobgreen is destroying our base`
`/report` can also be used for giving feedback/suggestions to the game