🚀 Getting Started
🛠️ Requirements
- To start developing plugins for Onix Client, you will need the following tools and software. Each section below includes a link to the official download page and a tutorial to help you get set up.
💎 Onix Client Premium
- Get Onix Client Premium
- Required to use the Onix Client Plugin API.
🎮 Minecraft: Bedrock Edition
- The game you will be modding so you need to have it installed.
💻 IDE (Integrated Development Environment)
To develop plugins for Onix Client, you will need an IDE to write and compile your code. I would personally recommend using Visual Studio or JetBrains Rider as they are both good IDEs, but it always comes down to personal preference. If your PC struggles to run either, then feel free to use Visual Studio Code, as it's lightweight and only needs a few extensions to work well with C#.
- Note: Make sure to install the C# extension for Visual Studio Code if you choose to use it.
🏢 Visual Studio
- Download Visual Studio (Tutorial here)
- A powerful IDE for C# development made by Microsoft. One of their last good products.
🦄 JetBrains Rider
- Download JetBrains Rider here
- A cross-platform C# IDE from JetBrains. Pretty good IDE, I personally use it. It has a lot of features and is very powerful.
📝 Visual Studio Code
- Download Visual Studio Code (Tutorial here)
- A lightweight, cross-platform code editor. Make sure to install the C# extension. I don't personally use it, but it's a good option if you have a low-end PC.
📥 Getting The Runtime Ready
- Before you start developing or using plugins, you need to get the .NET runtime, the OnixRuntime placed at the right place.
- Thankfully, it's very easy to do! Simply run the following command in the chat and wait for it to complete.
.plugin setup
This command will download everything you need to run a plugin. The correct OnixRuntime version will be automatically downloaded to match the client's desired version so you don't have to worry about it for the future.
- Temporary step, this does not get you the UI for it.
- The ui makes it much easier to manage your plugins, even if not strictly necessary for development.
- You can always use .plugin enable
to enable a plugin without the UI. - The UI allows you change settings you create for your plugin.
.plugin install uuid 50b8338a-1cc4-44ca-81ef-5ecf1062c37c
.plugin enable 50b8338a-1cc4-44ca-81ef-5ecf1062c37c
- Those commands will install and enable the Plugin Manager UI.
🧩 Creating Your First Plugin
- To get started with your first plugin, head over to the Creating Your First Plugin page. It will guide you through the process of creating a simple plugin and give you an overview of the Onix Client Plugin API.