paramus

ChunkLoad Detector Node

Jul 2nd, 2026 (edited)
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | Gaming | 0 0
  1. -- Description: This is suposed to be deployed on a hidden computer as Startup, once the chunk it is in loads startup will run and send (PINGS) to the controller computer
  2. local modem = peripheral.find("modem", rednet.open)
  3.  
  4. -- Parameters
  5. local ParentID = 4
  6. local Data = { name="Name", x=0, y=0, z=0 }
  7.  
  8. while (true) do
  9.     local message = textutils.serialiseJSON(Data)
  10.     rednet.send(ParentID, message)
  11.     sleep(1)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment