ModsFinder

MCAI - Client

by alfuwu

MCAI - Client connects a Fabric client to character AIs from c.ai, so players can chat with them inside the game.

FabricClient-side onlyMIT LicenseOpen source1.20 – 1.20.6

What it does

Players who play Minecraft alone often find the blocky world quiet, and this mod gives them a way to talk with AI characters from c.ai in the same session. Setup is handled by the client: a player logs in to c.ai, reads an authorization token from the browser's Local Storage, and pastes its value into the mod's configuration file, where the mcai.toml file lists a General section for it. The in-game ai authorize command can update that file automatically instead.

Each AI chat is registered with the ai register command or by editing the configuration file by hand. Every entry takes a character ID, copied from the character's URL on c.ai, and an optional list of space-separated aliases. Aliases work like nicknames, so a player can address a character by a shorter name when sending messages. Environment: Client-side only, so only the player's client needs the mod, and a server does not run it. The mod is open source under the MIT License, with public source code and an issue tracker, and it requires Cloth Config API and Fabric API.

Files cover Minecraft 1.20 – 1.20.6, with 2 for 1.20.6 (published 2024-05-19) as the latest Fabric build. The first release was published 2024-02-26.

Key features

  1. AI chat in game

    Players talk with AI characters from c.ai through the mod's chat interface during play.

  2. Token setup

    An authorization token taken from the c.ai browser session is stored in the configuration file or set by command.

  3. Character registration

    The ai register command adds a character to the chat list using its character ID from the c.ai URL.

  4. Aliases

    Players can add a nickname for a character by listing optional alternative names, separated by spaces, that the character responds to in chat.

Compatibility

Latest build for each game version and loader.

1.20.62
1.20.52
1.20.42
1.20.32
1.20.22
1.20.12
1.202
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 2

Cloth Config APIConfiguration Library for Minecraft Mods
Required
Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Use cases

Solo play

A player on a single-player world can chat with registered characters while exploring alone.

Who it’s for: Players who use Fabric on the client and have a c.ai account. Server owners do not need to install anything, since the mod is client-side only.

Questions

Does MCAI - Client need to be installed on the server?

No. It is installed on the player's side alone, so servers need nothing.

Where does the authorization token come from?

It is read from the c.ai browser session. Open Inspect Element, go to Application, and copy the value of the char token key from Local Storage.

Which dependencies does MCAI - Client require?

It requires Cloth Config API and Fabric API, both of which must be installed on the Fabric client next to the mod.

In the catalog

MCAI - Client is one of 5,392 Social mods on ModsFinder, and one of 4,084 Social mods for Fabric. 11,154 mods support Minecraft 1.20.6.

More from alfuwu

All projects

Similar mods

What the author says

Have you ever played Minecraft alone? Well, let me tell you something - it gets very lonely, very quickly when you're all alone in a vast blocky world and the only human-ish thing in the game just makes 'hrm' and 'huh' noises. This mod aims to alleviate that by providing you access to your very own AIs for you to…
alfuwu, on the Modrinth page

Official listing

Owner
alfuwu
Published
2024-02-26
Updated on Modrinth
2024-05-19
Facts verified
2026-10-15

Tags