Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --File: spawn_board.lua
- --Created By: Cavious
- --For the purpose of the GotBawlz FTB Monster Server
- --+==================================+
- --Legal:
- --Content is available for open use.
- --+==================================+
- --Setup is for a Golden Monitor with three(3) in width, and four(4) in height
- mon = peripheral.wrap("top")
- net = peripheral.wrap("bottom")
- --Initial Clearing
- mon.clear()
- mon.setTextScale(1)
- --Draw Frames
- term.redirect(mon)
- --Title Frame
- local img = paintutils.loadImage(".img_topframe")
- paintutils.drawImage(img, 1, 1)
- --Admin Frame
- local img = paintutils.loadImage(".img_leftFrame")
- paintutils.drawImage(img, 1, 9)
- --Meta Frame
- local img = paintutils.loadImage(".img_rightFrame")
- paintutils.drawImage(img, 18, 9)
- --Rules Frame
- local img = paintutils.loadImage(".img_bottomFrame")
- paintutils.drawImage(img, 1, 14)
- --
- term.native()
- --Get the size of the monitor
- width, height = mon.getSize()
- --Server Header
- headerTop = "Got Bawlz Server"
- headerBottom = "A FTB Monster Host"
- --Server Rules
- ruleOne = "(1)No Hacks"
- ruleTwo = "(2)No Cheating"
- ruleThree = "(3)No Begging"
- ruleFour = "(4)No Asking For Free Items"
- ruleFive = "(5)No Asking For Teleports"
- --Server Meta Tags
- metaOne = "PvP"
- metaTwo = "Griefing"
- metaThree = "" --Add another meta tag if needed
- --Admin Listing
- adminNameOne = "[OWN]Iggyiguana"
- adminNameTwo = "[ADMIN]Cavious"
- adminNameThree = "" --Add another admin if needed
- --HEADER SECTION
- -----------------------------------------------
- --Header Section Formatting
- mon.setTextColor(colors.yellow)
- mon.setBackgroundColor(colors.lightGray)
- --Line 4[headerTop](7,4)
- mon.setCursorPos(7,4)
- mon.write(headerTop)
- --Line 5[headerBottom](5,5)
- mon.setCursorPos(6,5)
- mon.write(headerBottom)
- ----------------------------------------------
- --RULES SECTION
- ----------------------------------------------
- --Rule Section Formatting
- mon.setTextColor(colors.yellow)
- mon.setBackgroundColor(colors.lightGray)
- --Line 14(15,14)
- mon.setCursorPos(15,14)
- mon.write("RULES")
- --Rule Mid-Section Formatting
- mon.setTextColor(colors.black)
- mon.setBackgroundColor(colors.green)
- --Line 15(1,15)
- mon.setCursorPos(1,15)
- mon.write(ruleOne)
- --Rule Line-Section Formatting
- mon.setTextColor(colors.black)
- mon.setBackgroundColor(colors.lime)
- --Line 16(1,16)
- mon.setCursorPos(1,16)
- mon.write(ruleTwo)
- --Rule Line-Section Formatting
- mon.setBackgroundColor(colors.green)
- --Line 17(1,17)
- mon.setCursorPos(1,17)
- mon.write(ruleThree)
- --Rule Line-Section Formatting
- mon.setBackgroundColor(colors.lime)
- --Line 18(1,18)
- mon.setCursorPos(1,18)
- mon.write(ruleFour)
- --Rule Line-Section Formatting
- mon.setBackgroundColor(colors.green)
- --Line 19(1,19)
- mon.setCursorPos(1,19)
- mon.write(ruleFive)
- ----------------------------------------------
- --META SECTION
- ----------------------------------------------
- --META Section Formatting
- mon.setTextColor(colors.yellow)
- mon.setBackgroundColor(colors.lightGray)
- --Line 10(21,10)
- mon.setCursorPos(21,10)
- mon.write("Allowed")
- --META Mid-Section Formatting
- mon.setBackgroundColor(colors.lightBlue)
- --Line 11(23,11)
- mon.setCursorPos(23,11)
- mon.write(metaOne)
- --META Line-Section Formatting
- mon.setBackgroundColor(colors.blue)
- --Line 12(20,12)
- mon.setCursorPos(20,12)
- mon.write(metaTwo)
- ---------------------------------------------
- --ADMIN SECTION
- ----------------------------------------------
- --Admin Section Formatting
- mon.setTextColor(colors.yellow)
- mon.setBackgroundColor(colors.lightGray)
- --Line 10(3,10)
- mon.setCursorPos(3,10)
- mon.write("Administration")
- --Admin Mid-Section Formatting
- mon.setBackgroundColor(colors.yellow)
- mon.setTextColor(colors.black)
- --Line 11(2,11)
- mon.setCursorPos(2,11)
- mon.write(adminNameOne)
- --Admin Line-Section Formatting
- mon.setBackgroundColor(colors.orange)
- --Line 12(2,12)
- mon.setCursorPos(2,12)
- mon.write(adminNameTwo)
- ----------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment