1.0 KiB
1.0 KiB
Trap's ComputerCraft APIs
Development
Requirements:
justluacheck
After cloning the repository, run:
just install
This installs the local Git hooks, including a pre-push hook that runs just check.
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 oneventlooplibrary)
Servers
All servers are automatically started at boot
/servers/ping-server: allow a machine to respond to apingcommand./servers/cube-server: allow a machine to be controllable viacube./servers/cube-boot.lua:cubeboot script.
Programs
router: route messages (you need to setup a router to be able to use allapis/netbased programs and libs)ping: ping machines (useapis/net)cube: cube client for deployment (usecube helpcommand for more details)goo: turtle program for Just Dire Things goo block processing.