Advertisement
posicat

/cattech/updateAll.lua

Sep 11th, 2024 (edited)
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. --File: /cattech/updateAll.lua
  2. dofile("/cattech/file.lua")
  3.  
  4. local loadFiles = {
  5. "SXKQEEp8", -- /cattech/moves.lua
  6. "35iXeCgd", -- /cattech/lists.lua
  7. "aAxRpLdX", -- /cattech/comms.lua
  8. "Lvw2V8vx", -- /cattech/common.lua
  9. "cXTMm7G1", -- /startup
  10. "CUAsZxJU", -- /config
  11. "SpBtXdpa", -- /placeBlocks
  12. "rKDPXPrv", -- /patchtunnel
  13. "PEXA8Fp6", -- /digtunnel
  14. "9fsjgn7S", -- /spiralStairs
  15. "Bd2jRvhf", -- /showInventory
  16. -- "stD8Nghc", -- /testMoves
  17. -- "Yz4CfHb9", -- /test_comms
  18. "H6i6dnL2", -- /fuelReport
  19. "cabvNHab", -- /replaceBlocks
  20. }
  21.  
  22. local loadFiles_commandBlock = {
  23. "2CQGCCY1", -- worldServer
  24. "CnspGrT9", -- /cattech/serverops.lua
  25. }
  26.  
  27. print("updateAll loading...")
  28. for _, pbFile in ipairs(loadFiles ) do
  29. downloadNamedFileFromPastebin(pbFile)
  30. end
  31.  
  32. if commands then -- Is a command block server, then download command block specific code.
  33. print ("Also grabbing command computer code")
  34. for _, pbFile in ipairs(loadFiles_commandBlock ) do
  35. downloadNamedFileFromPastebin(pbFile)
  36. end
  37. end
  38.  
  39. print("Done.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement