This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
osLoadAPI("json") | |
file = fs.open("playerDB.txt", "r") | |
fileStr = file.readAll() | |
file.close() | |
jsonObj = json.decode(fileStr) | |
for key, value in pairs(jsonObj) do | |
if key == "player" then | |
local playerObj = value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local myid = os.computerID() | |
local doorList = { 11,13 } | |
local passwordForDoor = { "notch","minecraft" } | |
mon=peripheral.wrap("top") | |
print("Access Terminal") | |
rednet.open("left") | |
print("Computer id for Access Terminal is "..tostring(myid)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--EN: | |
--This program will create a virtual map of | |
--an specified area. This map can be used for | |
--copying this area somewhere else. | |
-- | |
--Download BuildArea from http://pastebin.com/45dc4FG2 | |
--CZ: | |
--Tenhle program naskenuje danou oblast a vytvori | |
--virtualni mapu. Tu muze pouzit program BuildArea |
NewerOlder