IPington is a simple Discord-bot for automating remote management of a self-hosted Minecraft server.
IPington requires Python 3 to run.
pip install discord.py
# Server settings
MINECRAFT_VERSION=1.18.1
SERVER_PORT=25565
PATH_TO_SERVER=/path/to/server
SERVER_EXEC=minecraft_server.${MINECRAFT_VERSION}.jar
XMS=2G
XMX=8G
# Bot settings
PREFIX=!
TOKEN=H3R3I$AS@mP1eD1$c0rDT0k3n.1tSh0u1d8eEx4C7Ly59[hAR@CT3r$10N6
The bot can be started from a terminal with the following command:
./ipington.py
or
python3 ipington.py
python ipington.py
Commands | Description |
---|---|
!Info |
Post a list available commands. |
!IP |
Post the current Minecraft server IP and port number. |
!Version |
Post the current Minecraft server version. |
!Minecraft |
Start the Minecraft server. |
!Source |
Post a URL to repository for the source code. |