This simple docker compose runs a minecraft server and a Discord bot that tracks the server's logs and execute commands using RCON.
- Add DISCORD_TOKEN and CHANNEL_ID to .env for the discord bot
- If you want AI, add GEMINI_APY_KEY to .env
- Add a strong password RCON_PASSWORD to .env
- To run a modpack, download its server files, unzip it, and copy its content to
./data. To run vanilla server, leave it as it is. - Check compatible forge, java, and minecraft versions and edit the docker compose file
- Run
docker compose up --build
- [Passive] Logs player logons and logoffs to selected Discord channel.
- [Passive] logs server overload warning to selected Discord channel.
- Send messages with prefix
--yoin Minecraft to ask AI questions (e.g.--yo how to make an iron farm)