Mineuniverse
Mods
ChatJS

ChatJS

MOD
Access large language models from KubeJS using an OpenAI-compatible API.
by im_gizmo
Download Claim this project
320 downloads
0 likes
Updated Oct 14, 2026
0 hypes
API and Library KubeJS
Advertisement Remove ads with Premium →

ChatJS

License

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 1.0.2 for Forge 1.20.1
MC 1.20.1, Forge, Server
Release 2025-09-19 Get
ChatJS 1.0.2 for Fabric 1.20.1
MC Fabric, 1.20.1, Server
Release 2025-09-19 Get
ChatJS 1.0.2 for NeoForge 1.21.1
MC NeoForge, 1.21.1, Server
Release 2025-09-19 Get
ChatJS 1.0.1 for NeoForge 1.21.1
MC NeoForge, 1.21.1, Server
Release 2025-09-18 Get
ChatJS 1.0.0 for NeoForge 1.21.1
MC NeoForge, 1.21.1, Server
Release 2025-09-12 Get
ChatJS 1.0.0 for Fabric 1.20.1
MC Fabric, 1.20.1, Server
Release 2025-09-11 Get
ChatJS 1.0.0 for Forge 1.20.1
MC 1.20.1, Forge, Server
Release 2025-09-11 Get

More from im_gizmo

Advertisement Remove ads with Premium →

You Might Also Like