Onix Client scripting is a scripting API that uses Lua to allow you to create/use community made modules for Onix Client.
- Onix Client Scripting
To set up Onix Client scripting for script usage (go here for development):
- Press
Windows Key + R
and paste the following in:
explorer.exe %localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\RoamingState\OnixClient
- Press
OK
or the enter key. - Make a
Scripts
folder inside of the folder that opens. - 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 theScripts
folder.
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.
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!
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
Onix Client Scripting Documentation
Lua Documentaion
Rosie's Lua Basics
How to get started with OnixClient Scripting
Programming In Lua
Lua Tutorial Video
Repo created July 24, 2021
.