Advertisement
Stiepen

Official KilOS installer

Nov 11th, 2012
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. --[[
  2.   This is the official installer for KilOS
  3.   To install run these 2 commands:
  4.   pastebin get sP9WXu8n install
  5.   install
  6.  
  7.   make sure http api is enabled. (in smp it has to be enabled server-side)
  8.   after the setup is done you can just delete install.
  9. --]]
  10. function main()
  11.   if not http then
  12.     printError("HTTP API is disabled.")
  13.     return
  14.   end
  15.   local h = http.get("http://stiepen.bplaced.net/KilOS/install.lua")
  16.   if not h then
  17.     printError("Could not download installer :(")
  18.     return
  19.   end
  20.   s, m = loadstring(h.readAll(), "Installer")
  21.   s()
  22. end
  23. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement