local rules = {
   'We are in BETA right now, some stuff is somewhat broken right now.',
   '',
   'Want interact? visit the page below to find out how to get it.',
   'www.nathansalapat.com/server/epic-server',
   'Para español visite www.nathansalapat.com/server/epic-server_es',
   '',
   "Rules:",
   "1. Never ever ask for, or give out, any personal information, this is a bannable offense.",
   "2. Don't be rude.",
   "3. Don't spam chat.",
   "4. Be civil, we're here to have fun, not to have dumb arguments about stuff (Politics, religion, current events, etc).",
   "5. Do not try and bypass the chat filter. I look over the chat, and will punish offenders.",
   "6. PVP is allowed, but all spawns, malls, and post offices are no PVP zones.",
   "7. Absolutely no talking about fortnite. :P",
   "8. Don't give out the keyword, point people to the below site.",
   "9. No ban evading.",
   "10. Do not pretend to be somebody else, using fake identities​ is 100% acceptable and encouraged, but don't pretend to be another person.",
   "11. Don't waste your time asking for privs, you'll be given them if you need them.",
   "12. Only YOU can prevent forest fires, cut fire lanes BEFORE starting a burn.",
   "",
   'You can request custom skins via email (minetest@nathansalapat.com)',
   'English is the primary language here. You may not get responses if you chat in other languages.',
   'Please report bugs. Minetest@nathansalapat.com, or the discord channel.',
   '',
   'Breaking these rules could result in you being sent to jail or banned.'}

for i = 1, #rules do
	rules[i] = minetest.formspec_escape(rules[i])
end
rules.txt = table.concat(rules, ',')

spawn_rules_formspec =
   'size[11,10]'..
   'no_prepend[]'..
   'bgcolor[#080808BB;true]'..
   'background[0,-1;12,11;spawn_poster.png]'..
   'hypertext[0,.2;12,1;;<center><style color=black size=40>~~Rules~~</style></center>]'..
   'textlist[2,1.5;11,6;msg;'..rules.txt..';0;true]'
