Jackson_Pike icon

Towny Info

Jackson_Pike | PRO | 08/04/17 10:52:39 PM UTC | 0 ⭐ | 229 👁️ | Never ⏰ | []
Lua |

2.18 KB

|

None

|

0 👍

/

0 👎

-------------------
if fs.exists("m") then
--fs.delete("m")
--shell.run("pastebin get nXvVUSuw m")
term.clear()
term.setCursorPos(1, 1)
else
shell.run("pastebin get nxvvusuw m")
 
term.clear()
term.write("Downloading Text API.")
sleep(1)
term.write(".")
sleep(1)
term.write(".")
sleep(1)
term.write(" Success")
term.setCursorPos(1, 2)
os.loadAPI("m")
shell.run("m")
end
function Ters()
term.setBackgroundColor(colors.gray)
term.clear()
term.setCursorPos(1, 1)
term.write("Running: Towny Info")
end
-------------------
mon = m.getMonitor()
monX, monY = mon.getSize()
mon.setTextScale(1)
-------------------
m.clearScreen(colors.black, colors.black)
m.drawBars(colors.gray, 1)
m.writeText(monX/2-7, 1, colors.gray, colors.white, "  Towny Plugin")
m.writeText(2, 3, colors.black, colors.cyan, "What is it? -")
m.writeText(15, 3, colors.black, colors.white, " Towny is a Grief Prevention and")
m.writeText(2, 4, colors.black, colors.white, " Plot Management plugin, which allows complete")
m.writeText(2, 5, colors.black, colors.white, " control and protection of your base")
m.drawBars(colors.gray, 7)
m.writeText(2, 7, colors.gray, colors.cyan, " Commands:")
m.writeText(3, 9, colors.black, colors.yellow, "Create Town: ")
m.writeText(15, 9, colors.black, colors.white, " /t create <name>")
m.writeText(3, 10, colors.black, colors.yellow, "Town Stats:")
m.writeText(10, 10, colors.black, colors.white, " /t or /t <towname>")
m.writeText(3, 10, colors.black, colors.yellow, "Add Residents: ")
m.writeText(17, 10, colors.black, colors.white, " /t add <username>")
m.writeText(3, 11, colors.black, colors.yellow, "Deposit $: ")
m.writeText(14, 11, colors.black, colors.white, "/t deposit <amount>")
m.writeText(3, 12, colors.black, colors.yellow, "Toggle Settings: ")
m.writeText(20, 12, colors.black, colors.white, "/t toggle <setting>")
m.writeText(3, 13, colors.black, colors.yellow, "Outposts: ")
m.writeText(13, 13, colors.black, colors.white, "/t claim outpost and /t outpost")
m.writeText(3, 14, colors.black, colors.yellow, "(Mayor Only)Withdraw $: ")
m.writeText(27, 14, colors.black, colors.white, "/t withdraw <$>")
 
 
 
 
 
while true do
Ters()
sleep(20)
end

Comments