Перейти к содержимому
Mineforgian

CraftGPT

CraftGPT is a powerful Minecraft plugin that integrates AI capabilities into your Spigot/Bukkit server, allowing players to interact with AI directly within the game.

Загрузки
497
Подписчики
7
Обновлён
5 июля 2026 г.
Лицензия
MIT

Опубликован 4 марта 2025 г.

CraftGPT

CraftGPT is a powerful Minecraft plugin that integrates AI capabilities into your Spigot/Bukkit server, allowing players to interact with AI directly within the game.

CraftGPT CraftGPT

Features

  • AI integration within Minecraft
  • Command-based interaction (/craftgpt)
  • Support for multiple Minecraft versions (1.8.8+)
  • Configurable settings
  • Real-time AI responses
  • Free AI usage

Requirements

  • Java 8 or higher
  • Spigot/Bukkit server (1.8.8 or higher)

Installation

  1. Download the latest CraftGPT-1.0.0.jar from the releases section
  2. Place the JAR file in your server's plugins folder
  3. Restart your server
  4. A default configuration file will be generated at plugins/CraftGPT/config.yml

Configuration

The plugin creates a config.yml file in the plugins/CraftGPT directory.

Usage

Basic commands:

  • /craftgpt <message> - Send a message to the AI
  • /craftgpt help - Display help information
  • /craftgpt reload - Reload the plugin configuration
  • And more...

Building from Source

This project uses Gradle as its build system. To build the plugin:

  1. Clone the repository
  2. Navigate to the project directory
  3. Run:
./gradlew clean shadowJar

The compiled JAR will be in build/libs/CraftGPT-1.0.0.jar

Dependencies

  • Spigot API
  • OkHttp3
  • JSON
  • Gson
  • SnakeYAML

Contributing

Contributions are welcome! Feel free to:

  • Report bugs
  • Suggest enhancements
  • Submit pull requests

License

This project is open source and available under MIT.

Authors

  • art3m4ik3

Support

If you find this plugin useful, please consider giving it a star on GitHub!


Made with ❤️ for the Minecraft community

Ченджлог

1.1.0Релиз26.1.1, 26.1.2, 26.2 · 5 июля 2026 г.

Added in-world actions for AI

1.0.2Релиз26.1, 26.1.1, 26.1.2 · 24 мая 2026 г.

Added

  • Conversation Memory — AI now remembers the context of the player's previous messages within the session. The depth of the history is set via features.conversation.max_history in `config.yml'.
  • Auto-injection of the player's context — Before each request, AI automatically receives information about the player's current state: coordinates, biome, health, satiety, experience level, item in hand, weather and time of day.
  • Cooldown between requests — Anti-spam: configurable delay between requests (`features.cooldown.seconds', 5 seconds by default).
  • Chat mode with AI (/craftgpt chat) — Switches the mode in which all text in the chat is sent to AI instead of the usual chat. It turns off automatically when logging out of the server.
  • Usage Counter — tracks the number of requests per player per session. Supports the limit (features.usage.max_requests_per_session, 0 = unlimited).
  • New commands: /craftgpt clear, /craftgpt history, /craftgpt stats <player>.
  • New localization messages (ru/en) for all new features.

Changed

  • Updated the Spigot API to 1.20.1.
  • AIService — the interface has been expanded: generateResponse now supports transmission of conversation history.
  • config.yml — added the features section with settings for all new functions.
  • `plugin.yml' — updated the description of the command.
1.0.1Релиз1.21.3, 1.21.4, 1.21.5 · 3 июня 2025 г.

Fixed custom ai service

1.0.0Релиз1.21.2, 1.21.3, 1.21.4 · 4 марта 2025 г.

Release! More details on Github.

Комментарии

Загружаем…