ollamachat

ollamachat

Chat with a locally deployed AI model from Ollama in Minecraft.

by
363 Downloads
fabricdecorationminigamesocial
Rent Server with this Mod

Screenshots

ollamachat Screenshot 1

About this Mod

OllamaChat Mod (Fabric)

Empower Minecraft players to interact with locally deployed AI(Free for use) models through in-game commands! Built on Ollama, this mod enables dynamic AI-generated conversations.

Thank DeepSeek Chat for helping me solve various problems and writing most of the network communication code and other code.

🛠️ Prerequisites

  • Must have Ollama installed locally with at least one model deployed.
  • Run ollama serve in your terminal to start the local service.
  • Download models using ollama pull <model-name> (e.g., llama3).

✨ Key Features

  1. Model Switching
    Seamlessly switch between downloaded models in-game.
  2. Real-time Chat
    Send messages starting with ai to receive AI-generated responses.
  3. Service Control
    Manage Ollama service status directly via commands.

📜 Command List

Command Description
/ollama list List all downloaded models
/ollama model <model-name> Switch to a specific model
/ollama serve Start the Ollama service
/ollama ps View active model processes

🎮 Usage Examples

  1. Set Model
    /ollama model llama3
    Switch to the "llama3" model.

  2. Send Request
    Type in chat:
    ai How to build a house in Minecraft?
    The AI will respond with an answer in-game.


⚠️ Important Notes

  • Ensure Ollama is properly installed and models are downloaded via CLI before use.
  • Check if the Ollama service is running if you encounter timeout errors.
  • Response speed depends on your local hardware performance.

Available Versions

ollamachat 1.0.1-1.20.1release
MC 1.20.1fabric
February 4, 2025
ollamachat 1.0-1.20.1release
MC 1.20.1fabric
February 3, 2025

How to Install ollamachat on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "ollamachat". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.1

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

ollamachat server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is ollamachat compatible with fabric?

ollamachat officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with ollamachat – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if ollamachat consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install ollamachat with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

1.20.1