fork of guillaumearm/cc-libs github repo
Go to file
2022-07-18 23:28:17 +02:00
apis feat: optimize net.sendMultipleRequests function 2022-07-18 02:07:42 +02:00
programs feat: rename set-startup command in set-boot 2022-07-18 23:28:17 +02:00
servers feat: rename set-startup command in set-boot 2022-07-18 23:28:17 +02:00
startup feat: rename set-startup command in set-boot 2022-07-18 23:28:17 +02:00
.gitignore feat: rename set-startup command in set-boot 2022-07-18 23:28:17 +02:00
.routerstartup fix: router and net 2022-07-18 02:03:49 +02:00
install.lua feat: rename set-startup command in set-boot 2022-07-18 23:28:17 +02:00
README.md feat: rename set-startup command in set-boot 2022-07-18 23:28:17 +02:00

Trap's ComputerCraft APIs

Installation

wget run https://raw.githubusercontent.com/guillaumearm/cc-libs/master/install.lua

Apis

  • /apis/eventloop: a simple event loop api
  • /apis/net: api to simplify sending and receiving routed messages (based on eventloop library)

Servers

All servers are automatically started at boot

  • /servers/ping-server: allow a machine to respond to a ping command.
  • /servers/cube-server: allow a machine to be controllable via cube.
  • /servers/cube-boot.lua: cube boot script.

Programs

  • router: route messages (you need to setup a router to be able to use all apis/net based programs and libs)
  • ping : ping machines (use apis/net)
  • cube: cube client for deployment (use cube help command for more details)