MineBot is a Python Discord bot made to control and give information on your Minecraft server on linux or macOS.
Download the setup.sh
shell script and run it using these commands :
chmod a+x setup.sh
./setup.sh
(You might need to use sudo for both commands)
This script will download all the necessary packages and python modules in addtion to the discord bot.
To create your discord bot, you can follow this link to the discord.py documentation.
Then add the discord bot to your discord server.
You'll need to edit the config.yaml file to customise your discord bot.
Copy your bot's token and paste it after DiscordToken :
.
In the server.properties
file, set enable-query
to true .
You can then run the python script using screen -S MineBot -d -m python3 MineBot.py
.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
GNU General Public License v3.0
Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.
MineBot uses this software to create "virtual terminals" that will each run a certain process (minecraft server, ip tunnel...).
To access the minecraft server console, you'll need to perform this command :
screen -r <ScreenPrefix>
Where you replace ScreenPrefix
by the ScreenPrefix's value in the config.yaml file.