Skip to content
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
Compare
Choose a tag to compare
@MCJack123 MCJack123 released this 16 Oct 04:34
· 28 commits to master since this 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
  • Added config API & tool
    • config.get(name): Get value of setting
    • config.set(name, value): Set value of setting
    • config.list(): List all available settings
      • http_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 API
    • mounter.mount(name, path[, readOnly]): Mount local path to name
    • mounter.unmount(name): Unmount name
    • mounter.list(): List all mounts
  • Added mount and unmount 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.