This repository has been archived by the owner on Jul 19, 2020. It is now read-only.
CraftOS-PC v1.1 Beta 1
Pre-release
Pre-release
What's new
- Added peripheral emulation
- Uses the
periphemu
API - Also linked into
peripheral
API - Use
periphemu.create(side, type[, option])
to create - Use
periphemu.remove(side)
to remove - Currently only monitors and printers are supported; speaker support is coming soon
- Uses the
- Added
config
API & toolconfig.get(name)
: Get value of settingconfig.set(name, value)
: Set value of settingconfig.list()
: List all available settingshttp_enable
disable_lua51_features
default_computer_settings
logPeripheralErrors
computerSpaceLimit
maximumFilesOpen
maxNotesPerTick
clockSpeed
config.getType(name)
: Get type of value- 0 = boolean
- 1 = string
- 2 = number
- Added
mounter
APImounter.mount(name, path[, readOnly])
: Mount localpath
toname
mounter.unmount(name)
: Unmountname
mounter.list()
: List all mounts
- Added
mount
andunmount
commands - Added margins at the edges
- General performance improvements
Please note this is PRE-RELEASE SOFTWARE and may still have bugs. This is just a preview of what's to come.