Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tText = {
- "Rule 1 - Be considerate of others.",
- " * Ask before entering someone's are; Leave if told to.",
- "Rule 2 - Be Respectful of staff.",
- " * Use the available methods (petitions, forums, ect) to request help.",
- " * Do not demand/beg for staff to do things for you.",
- "Rule 3 - Use Chat Appropriately.",
- " * Use regular case or title case, not all capitals.",
- " * Explicit language will not be tolerated!",
- " * Use other channels as intended.",
- "Rule 4 - Follow building guidlines.",
- " * Do not build 1x1 towers.",
- " * Do not build machines or contraptions that cause lag.",
- " * Do not build next to spawn towns without permission.",
- " * Do not build near someone else's construction.",
- "Rule 5 - Do not use hacks/cheats or expliot glitches",
- " * Any method of duplication",
- " * Using x-ray mods or texture packs",
- " * Flying without the use of a jetpack",
- " * Exploiting game glitches",
- " * Using a cheat client",
- " * Accepting inappropriately obtained items",
- "Rule 6 - Absolutely no advertising of other servers!"
- -- and you can add more if you want, just don't forget to put the commas (,) at the end of the lines (except for the last one)
- }
- local sSide = "top"
- local nTextSize = 1 -- change the text size here (from 1 to 5)
- local function printCenter(mon, t)
- local w, h = mon.getSize()
- local y = math.floor((h / 2) - (#t / 2)) - 1
- for i, line in ipairs(t) do
- local x = math.floor((w / 2) - (#line / 2))
- mon.setCursorPos(x, y + i)
- mon.write(line)
- end
- end
- local mon = peripheral.wrap(sSide)
- mon.setTextScale(nTextSize)
- printCenter(mon, tText)
Advertisement
Add Comment
Please, Sign In to add comment