The client provides full Java runtime support and runs standard Java bytecode. By default, the client uses Java 21. You can compile with Java 21, but if you want to ensure compatibility with older launchers, you may also compile with Java 8.Documentation Index
Fetch the complete documentation index at: https://docs.opai.today/llms.txt
Use this file to discover all available pages before exploring further.
Development Tools
We recommend using IntelliJ IDEA or Eclipse for development:- Download IntelliJ IDEA — the Community Edition is recommended (scroll down; the first link is Ultimate)
- Download Eclipse
Set up SDK and Workspace
We recommend using Zulu 21 as your SDK.If you want to develop Java 8 extensions, use any JDK 8 distribution. Once Java is ready, clone or download the example extension and import it into your IDE.
If you have Git installed, you can clone with:
Packaging
After editing, you can build the JAR using the Maven sidebar in IntelliJ IDEA and selecting thepackage command.

target directory.
Copy this JAR file into the %appdata%\Opai\extensions folder to load it in the client.
Debugging
In the client, you can reload extensions using:Developer Documentation
The developer documentation is provided in Javadoc format. Inside the IDE, you canCtrl + Right Click any API class name, then click Download Source to view the Javadoc (only needs to be done once).

