BlockGPT 图标

BlockGPT

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.1.02-BETA
本资源为搬运资源,原资源地址: https://modrinth.com/mod/blockgpt
资源信息

Minecraft 版本: 1.21 1.21.1

平台: paper spigot

标签: library utility

资源介绍

BlockGPT

A plugin that integrates Minecraft with Google Gemini AI

How it works

This plugin integrates with Gemini API using a API key and adds 2 commands /ask and /reply.

/ask: Creates a new chat, sends the message and waits for the AI to respond.

/reply: Replies to the answer sent by the AI in the last created chat

Setting up

  1. Head over to Gemini's API key page (witch can be found here).
  2. Generate a API key following the steps provided by the page.
  3. Head over to the config.yml file and edit the APIKey field to your API key
  4. The configuration is done!

Permissions

All of BlockGPT commands use the same permission, witch is blockgpt.ask

FAQ

  • Why Gemini instead of ChatGPT

Gemini is free for a time period quota, and ChatGPT only have a specific amount of credits for free use, with no refresh time period

For developers

At the moment, there is no specific documentation, but here is how you can use BlockGPT in your project:

  1. Download the latest .jar file from the versions page
  2. Add this file to your project as an external library
  • You can also do steps 1 and 2 via JitPack

    Click here for instructions on how to install via JitPack

  • Use the following code to get the GeminiLibrary class

    Spigot

    GeminiLibrary library = ((BlockGPT) Bukkit.getPluginManager().getPlugin("BlockGPT")).getGeminiAPI()
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Copyable Discs and Sherds

价格:0 墨喵币
下载量:0

查看详情
NobleCraft

价格:0 墨喵币
下载量:0

查看详情
MedieCraft - Lite

价格:0 墨喵币
下载量:0

查看详情
Dungeon's Delight

价格:0 墨喵币
下载量:0

查看详情