Get the files on 9Minecraft
OpenOS
OpenOS is the primary operating system for OpenComputers. It provides a command-line interface (CLI) similar to Unix/Linux. Users can create, edit, and run scripts using the built-in edit command.
The Component API
In Lua, the computer interacts with its hardware via the component library.
Example of turning on a redstone signal:
local component = require("component")
local rs = component.redstone
rs.setOutput(5, 15) -- Sets redstone output on the back side to max strength
Persistence (Eris)
OpenComputers uses the Eris library to serialize the state of the Lua VM. This means that if a computer is running a complex script and the chunk unloads, the script will be exactly where it left off when the chunk reloads. This eliminates the need for complex 'startup' scripts for every minor task.












