Skip to content

Instantly share code, notes, and snippets.

rednet.open("top")
os.pullEvent = os.pullEventRaw
os.loadAPI("json")
local serverID = 1087
function playerDetected(player)
term.clear()
term.setCursorPos(1,1)
print("Player Detected: "..player)
end
rednet.open("top")
os.pullEvent = os.pullEventRaw
os.loadAPI("json")
local serverID = 1087
function playerDetected(player)
term.clear()
term.setCursorPos(1,1)
print("Player Detected: "..player)
end
local myid = os.computerID()
local doorList = { 11,13 }
local passwordForDoor = { "notch","minecraft" }
mon=peripheral.wrap("top")
print("Access Terminal")
os.loadAPI("json")
os.loadAPI("peripherals")
print(peripherals.getDeviceSide("modem"))