|
il y a 2 ans | |
---|---|---|
bot | il y a 2 ans | |
chat_mod | il y a 2 ans | |
.gitignore | il y a 2 ans | |
LICENSE | il y a 2 ans | |
README.md | il y a 2 ans |
python3
, flask
, python-telegram-bot
cd
git clone https://git.webionite.com/ceda_ei/minetest-telegram-bridge
ln -s ~/minetest-telegram-bridge/chat_mod ~/.minetest/mods/chat_mod
secure.http_mods
.
secure.http_mods
doesn't exist. secure.http_mods = chat_mod
world.mt
cd minetest-telegram-bridge/bot
sample.config.py
to config.py
and edit.python3 bot.py &
export FLASK_APP=server.py
export FLASK_ENV=production
flask run -p 9876
minetest [params] |& python3 pipe_in.py
To use a different port, change the respective config in config.py
and add chat_server_port = PORT
in minecraft.conf
and run flask run -p PORT
instead of the last step.