- Download/checkout
- cd into directory
- add/change config.py
- (pipenv install)
- add
pipenv run main.py
to your autostart of choice - contact @ModischMinecraftBot on telegram
- /start (start is called by telegram on first contact)
- c/cmd/commands
- rank [ID]
- start_server
- stop_server
- status
Q: Why no docker?
A: Because I can't access executables (minecraft!) from inside a container
check server status (n_players, uptime) -> verbose mode prints joined players
Start/save/stop server/service -> needs to be able to type commands in screen OR start server here --> /say group messages in minecraft
resolve names to ids: search group for name, return id, group only implicit conversion -> message entity type "mention" get rank of all users -> \rank Robin =>\rank 213243
eastereggs (send fortnite dancing steve gif?)
add telegram badge
accept inline commands https://github.com/eternnoir/pyTelegramBotAPI#inline-mode
similar implementations:
- https://python-telegram-bot.org/ -> oldest, feels clunky
- https://github.com/aiogram/aiogram -> best, but least tutorials
- https://github.com/eternnoir/pyTelegramBotAPI -> nice midway, easy to use and used