Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MonitorSide = "top"
- Monitor = peripheral.wrap(MonitorSide)
- SeparatorColour = colours.cyan
- LinePosition = 1
- function IncrementLine()
- LinePosition = LinePosition + 1
- end
- function Repeat(char, amount)
- local text = ""
- for i = 1, amount, 1 do
- text = text .. char
- end
- return text
- end
- function TextColour(colour)
- Monitor.setTextColor(colour)
- end
- function BackgroundColour(colour)
- Monitor.setBackgroundColor(colour)
- end
- function Write(text, x, y)
- Monitor.setCursorPos(x, y)
- Monitor.write(text)
- end
- function DrawSeparator(y, width)
- local text = Repeat("-", width)
- Write(text, 1, y)
- IncrementLine()
- end
- function WriteBanned(item, reason)
- local offsetX = string.len(item)
- TextColour(colours.red)
- Write(" " .. item, 2, LinePosition)
- TextColour(colours.orange)
- Write("- " .. reason, offsetX + 3, LinePosition)
- IncrementLine()
- end
- function WriteUnbanned(item)
- TextColour(colours.green)
- Write(" " .. item, 2, LinePosition)
- IncrementLine()
- end
- function WriteTitle(title)
- TextColour(colours.cyan)
- Write(title, 1, LinePosition)
- IncrementLine()
- end
- function Main()
- while true do
- -- idk how to do != in lua XDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
- if ((Monitor == nil) == false) then
- local monX, monY = Monitor.getSize()
- BackgroundColour(colours.black)
- TextColour(colours.black)
- Monitor.clear()
- TextColour(colours.white)
- WriteTitle("Limited Items")
- WriteBanned("Quarry", "Use in the mining world (/warp mining)")
- WriteBanned("Steve Carts", "Use in the mining world (/warp mining)")
- WriteBanned("Autonomous Activator", "Ask staff to place one")
- WriteBanned("Block Placers", "Ask staff to place one, or rank up")
- DrawSeparator(LinePosition, monX)
- WriteTitle("Banned Items")
- WriteBanned("Turtles", "Not allowed (atleast not at the moment)")
- WriteBanned("TNT/Dynamite", "Causes lag")
- WriteBanned("Plastic Cup ", "Used for duping")
- WriteBanned("Golden Flail", "Glitching")
- WriteBanned("Liquid Pyrotheum and floorbs", "Bypasses claims")
- WriteBanned("Sacred Rubber Sapling", "Crashes the server")
- WriteBanned("REP/Tracker", "Crashes your game")
- WriteBanned("MFFS (only forcefields)", "Laggy and can crash the server")
- WriteBanned("Redstone in motion", "Laggy")
- WriteBanned("Trade Booth", "Duping")
- WriteBanned("ME Partition Editor", "Crashes the server")
- WriteBanned("Transfer node (Liquid)", "Laggy: use fluiducts")
- WriteBanned("Transfer node (Energy)", "Can duplicate energy")
- WriteBanned("ME Spatial Storage", "Griefing")
- DrawSeparator(LinePosition, monX)
- WriteTitle("Items that are NOT Banned")
- WriteUnbanned("Particle accelerators")
- WriteUnbanned("Mystcraft (the worlds are wiped every week or so)")
- LinePosition = 1
- end
- os.sleep(5)
- end
- end
- Main()
Add Comment
Please, Sign In to add comment