
/server start: How I Let My Friends Control Our Minecraft Server via Discord
BUZZ BUZZ BUZZ My phone is getting blown up in the middle of the night with calls, texts, and pings from my friends wanting to hop on our Minecraft server. Turns out I had accidentally turned off my ancient laptop that was hosting it. I begrudgingly get up from my cozy bed to boot up the server. Interrupted sleep, all to preserve the sacred annual 2-week Minecraft phase... So I put my thinking cap on. Is there a way that I could host the server in the cloud and let my friends turn it on and off themselves? In this post, I'll show you how to build a Discord bot that can interact with your AWS resources. We'll set up a Minecraft server on EC2 as our example, but this same pattern works for any AWS service. Before we dive in, here's what you'll need: AWS Account Discord Developer Account Docker (for packaging dependencies in a Linux environment) Python 3.12 Minecraft Account 1. Create Discord Application Go to Discord Developer Portal Create New Application Go to Bot → then click Reset To
Continue reading on Dev.to
Opens in a new tab




