Skip to content

MRUIAW/OnixClient_Scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Onix Client Scripting GitHub Repository

Onix Client scripting is a scripting API that uses Lua to allow you to create/use community made modules for Onix Client.

Prerequisites

  • Onix Client Scripting

Setup

To set up Onix Client scripting for script usage (go here for development):

  1. Press Windows Key + R and paste the following in:
explorer.exe %localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\RoamingState\OnixClient
  1. Press OK or the enter key.
  2. Make a Scripts folder inside of the folder that opens.
  3. Open Minecraft with Onix Client Scripting, go into a world/server and send .lua reload in the game chat. This will create required sub folders within the Scripts folder.

Usage

To use scripts, go to the Onix Client Script Downloader.

  • There is a video on this site to help you with the rest of the script usage!
  • You can also go to the video here.

Development

Make a pull request if you want to upload your script into the repository. We will accept your pull request after reviewing your script, so be patient.
If you would like to use TypeScript instead of Lua, please refer to the experimental compatability layer!

Setup

Use this setup script to get started quickly and easily. Press Windows Key + R and paste the following in:

powershell.exe -nop -c "iex(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/OnixClient-Scripts/OnixClient_Scripts/master/Extras/SetupScript.ps1')"

This will set up the whole development environment:

  • Install the Lua extension
  • Install the Onix Client autocomplete
  • Open Visual Studio Code in the correct workspace

Useful resources

Documentations

Onix Client Scripting Documentation
Lua Documentaion
Rosie's Lua Basics

Tutorials

How to get started with OnixClient Scripting
Programming In Lua
Lua Tutorial Video

Repo created July 24, 2021.

About

Scripts for Onix Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 99.2%
  • Other 0.8%