Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
A Minecraft plugin that enhances player interactions with an AI chatbot using OpenAI's API.
Breaking: the proxy provider and the trial key are removed. AI Friend now talks only to the provider you configure yourself: openai, anthropic, ollama or custom (any OpenAI-compatible server). The plugin sends nothing to the author's server (the old relay at gpt.netuj.eu is no longer contacted). The only other outbound calls are bStats (metrics: false) and the GitHub update check (update-check: false). config-version is now 5.
- Removed: the
proxyprovider (ProxyProvider,ApiClient), the free 3-daytrialkey and everything around it - Removed: the top-level
api-keyandmodeloptions (they only existed for the proxy). Keys and models live underprovider.providers.<name>.api-key/.model - Change:
provider.primarynow defaults toopenai. Without an API key the bot stays silent and nothing is sent - Change:
/aifriend statusshows the key and model of the provider that answers (key still masked); a provider without a model shows- - Change: the 1.x keys
openai_api_keyandgpt_versionare no longer migrated to the removed top-level options (they belonged to the proxy) - Docs: the privacy notice (README, Modrinth, SpigotMC) now starts with the statement that chat goes only to the provider you choose
Migration (nothing is switched for you, because moving chat to another company would be a change you have to agree to):
- Update the jar.
config.ymlgetsconfig-version: 5and a backupconfig.yml.bak-v<old>is written. None of your values is changed or deleted. - If
provider.primaryisproxy, or your config has a top-levelapi-key(for exampletrial) and never chose a provider, the bot stays inactive and sends nothing; the log says so in one line at startup. The same goes for a config that listsproxyfirst and a working provider only underfailover. - Set
provider.primarytoopenai,anthropic,ollamaorcustom, put that provider's key underprovider.providers.<name>.api-key, and run/aifriend reload. - A
proxyentry inprovider.failoveris skipped with a warning. A top-levelapi-keyleft in the file is ignored (with a warning), is never copied anywhere and can be deleted.
Platforms
Paper
26.3