namespace menus client server contents
dio.blocks
  • createNewDefinitionId()
  • setDefinition(definitionTable)
dio.clientChat
  • send(message)
dio.drawing
  • createRenderToTexture(w, h)
  • setRenderToTexture(renderToTexture)
  • font.drawBox(x, y, w, h, rgba)
  • addRenderPassBefore(order, callback)
  • addRenderPassAfter(order, callback)
  • font.drawString(x, y, text, rgba)
  • font.measureString(text)
  • getWindowSize()
  • drawTexture(renderToTexture,x,y,w,h,rgba)
dio.events
  • addListener(types,callback)
  • types.*
dio.file
  • isExistingWorldFolder(path)
  • deleteWorld(path)
  • listExistingWorlds()
  • loadlua(filename)
  • saveLua(filename)
dio.inputs
  • keyCodes.*
  • bindings.setKeyBinding(bindingTypes, keyCode)
  • bindings.getKeyBinding(bindingTypes)
  • bindingTypes.*
  • mouse.x
  • mouse.y
  • mouse.left_button_is_clicked
  • mouse.setIsInverted(bool)
  • hackSetFov(number)
  • keys.keyCodeFromString(string)
  • hackGetFov()
  • mouse.getIsInverted()
  • mouse.setExclusive(bool)
  • setArePlayingControlsEnabled(bool)
  • mouse.getScrollWheelDelta()
  • setExclusiveKeys(bool)
  • setPlayerBlockId(playerIdx, blockId)
dio.mods
  • load(modName,permissionsAllowed)
dio.serverChat
  • send(target, message)
dio.session
  • beginSp(worldSettingsTable, roomSettingsTable)
  • beginMp(settingsTable)
  • terminate()
  • hasTerminated()
dio.system
  • getVersion()
  • shouldAppClose()
dio.world
  • getPlayerXyz()
  • setPlayerXyz()
  • getPlayerNames()

Twitch | Twitter