HomeJavaModsAIServerHost
AIServerHost

AIServerHost

An AI-powered server host plugin for Minecraft

Overview

AIServerHost integrates DeepSeek AI into your Minecraft server to act as an intelligent server host. It monitors player chat, detects conflicts, mediates disputes, enforces rules, and even initiates conversations when players are idle.

Features

Safety Restrictions

The AI is hardcoded to never perform these actions:

Requirements

Installation

  1. Download AIServerHost-1.0.0.jar
  2. Place it in your server's plugins/ directory
  3. Start the server — default config will be generated
  4. Edit plugins/AIServerHost/config.yml and set your DeepSeek API key
  5. Run /aiserverhost reload or restart the server

Configuration

config.yml

# DeepSeek API Configuration
api:
  key: "YOUR_API_KEY_HERE"           # Your DeepSeek API key (required)
  base-url: "https://api.deepseek.com"  # API base URL
  model: "deepseek-chat"             # Model name (deepseek-chat for V3)
  timeout: 30                        # Request timeout in seconds

# AI Behavior Settings
ai:
  max-context: 100                   # Maximum chat history messages to keep
  max-pause-duration: 30             # Maximum pause duration (minutes)
  idle-chat:
    enabled: true                    # Enable idle chat feature
    min-players: 2                   # Minimum online players to trigger
    check-interval: 120              # Check interval in seconds
    max-idle-time: 300               # Max idle time before AI chats (seconds)

# Punishment Settings
punishment:
  max-direct-duration: 10            # Max direct punishment (minutes)
  log-threshold: 10                  # Log threshold for severe punishment (minutes)

# Logging Settings
logging:
  whataido-retention-days: 30        # Days to keep whataido.yml records

Generated Files

File Description
config.yml Plugin configuration
whataido.yml AI action log (auto-cleaned based on retention days)
log.yml Severe punishment log (for admin review)

Commands

Command Permission Description
/aiserverhost reload aiserverhost.admin Reload configuration
/aiserverhost aiserverhost.admin Show plugin info

Aliases: /ash, /aishost

AI Actions

The AI responds in JSON format and can perform these actions:

Action Description
chat Send a public chat message
ask_player Ask a specific player a question publicly
ask_witness Ask an online player for evidence/testimony
query_coreprotect Query CoreProtect block logs (3-day limit)
punish Issue a temporary ban (max 10 minutes)
request_ban Request a ban over 10 minutes (logged, not auto-executed)
mediate Mediate a conflict between players
pause Pause chat monitoring to save tokens
idle_chat Initiate a casual conversation
no_action No action needed

How It Works

  1. When a player sends a chat message, it's added to the AI's context
  2. The AI analyzes the message along with recent chat history
  3. Based on its analysis, the AI decides on an action (or no action)
  4. Actions are executed on the main server thread (game operations) or async threads (API calls)
  5. Every step is logged in whataido.yml
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more