Allows Large Language Models (AI) to build structures
BuildAI is a creative mode utility that allows various Large Language Models to build structures ingame. This plugin is meant just for fun, AI models are generally not advanced enough to build anything good.
After installing the plugin on your server and starting the server, a config.yml file will be created in theplugins/BuildAI directory. At the bottom of this file, you can configure the provider you want to use. You should be able to add all common providers like OpenAI or Anthropic (both not tested!), but if you are running the server on your PC I suggest Ollama, as it allows you to run LLMs locally for free.
As an operator, you can use the command:/aigenerate {model_preset} {x1} {y1} {z1} {x2} {y2} {z2} {somevar=somevalue} {prompt}. You can make a selection using a wooden shovel and use the command:/aigenerate {model_preset} {somevar=somevalue} {prompt}. The variables ("somevar") can be configured in the config.
Most providers require an API key to access their models. Safeguarding this key is crucial, as anyone with access to it can use the model without your consent. This plugin offers two primary methods for storing API keys:
config.yml file:%api-key% in the configuration and allowing players to input their own key:BuildAI was developed with Paper 1.20.1 and is primarly tested with this version. It should be able to run on all bukkit based softwares in all versions after 1.13.