A Minecraft implementation of the Google Gemini AI for players and developers
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
All of BlockGPT commands use the same permission, witch is blockgpt.ask
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
At the moment, there is no specific documentation, but here is how you can use BlockGPT in your project:
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
GeminiLibrary library = ((BlockGPT) Bukkit.getPluginManager().getPlugin("BlockGPT")).getGeminiAPI()