- A Discord bot token
- A Minecraft server : your can run without sudo
- Python installed
- Python packages installed: discord.py, mcstatus, subprocess, asyncio
- To use the Discord bot, you need to obtain a bot token from the Discord Developer Portal.
- Replace "YOUR_BOT_TOKEN_HERE" in the Python script with your actual bot token.
you have to complete the script start_server.sh and replace "YOUR_SERVER_ADRESSE:PORT" by your ip of your server and replace "YOUR_BOT_TOKEN" by the token of your bot
- Make sure Python is installed on your system. You can download and install Python from the official Python website.
-
Install the required Python packages using pip:
pip install discord.py pip install mcstatus pip install subprocess pip install asyncio
- Replace "your_minecraft_server_ip" with the IP address of your Minecraft server in the start_server.sh script. This script is responsible for starting the Minecraft server.