Access large language models from KubeJS using an OpenAI-compatible API.
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Runs entirely on the server. Also works in singleplayer.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
ChatJS
Access large language models from KubeJS using an OpenAI-compatible API.
Config
Edit the chatjs.server.toml file to change the OpenAI compatible API you are using.
Use the /chatjs set_apikey <your API Key> command to set your API Key (requires OP permission).
If everything is set up correctly, executing /chatjs models can list all available models (requires OP permission).
Example
Death message
Send a message after the player dies.
example/server_scripts/death_message
Function Calling
Enter @ai <What you want to say to AI> in Chat, the AI will execute game commands based on what you enter.
For example @ai Kill all slimes.
example/server_scripts/function_calling
License
This mod is distributed under LGPL-3.0 license
⚠️WARNING⚠️
The mod files (.jar files) published on Modrinth and CurseForge contain icon files under an ARR (All Rights Reserved) license. You are not allowed to redistribute these files elsewhere. If you need to modify the mod, you can compile it yourself from the source code (the default compilation does not include ARR-licensed content).
ChatJS
Access large language models from KubeJS using an OpenAI-compatible API.
Config
Edit the chatjs.server.toml file to change the OpenAI compatible API you are using.
Use the /chatjs set_apikey <your API Key> command to set your API Key (requires OP permission).
If everything is set up correctly, executing /chatjs models can list all available models (requires OP permission).
Example
Death message

Send a message after the player dies.
example/server_scripts/death_message
Function Calling

Enter @ai <What you want to say to AI> in Chat, the AI will execute game commands based on what you enter.
For example @ai Kill all slimes.
example/server_scripts/function_calling
License
This mod is distributed under LGPL-3.0 license
⚠️WARNING⚠️
The mod files (.jar files) published on Modrinth and CurseForge contain icon files under an ARR (All Rights Reserved) license. You are not allowed to redistribute these files elsewhere. If you need to modify the mod, you can compile it yourself from the source code (the default compilation does not include ARR-licensed content).
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
-
<1,000
<1,000
<1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
-
- Last synced
-
Nov 20, 2026 4:15 AM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works
External Links
Stats
- Downloads
-
<1,000
<1,000
<1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
-
- Last synced
-
Nov 20, 2026 4:15 AM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works