This is a Minecraft-to-Telegram chat bridge
- Install Node.js
- Install temicross:
npm i -g temicross
- Download the Minecraft server jar and put it in a folder if you haven't.
- Open a terminal.
cd
to your Minecraft server folder.- Run
tmc botwrap
to set up your server and bot.- You will be asked to fill in some values.
- Get a bot token from @BotFather.
- The server and bot will start.
- Test it in-game and from your Telegram-chat to make sure it works!
- Report any bugs you find on the Issues page here!
This mode enables updating the bot without restarting the Minecraft server.
- Follow steps 1-3 from above.
- Run
tmc wrap
to start the server.- You will be asked to fill in some values.
- The server will start.
- Open a new terminal and
cd
to any folder (Your bot config will be stored here, if you don't know which folder to pick, the same folder as above is a good choice). - Run
tmc bot
(make sure the Minecraft server is started usingtmc wrap
first, see above).- You will be asked to fill in some more values.
- Use the token you got from @BotFather.
- Make sure to use the same port and IP as you did before (the defaults are the same).
- The bot will start.
The client allows remote control of a server that has been properly set up with port and IP.
MAKE SURE YOU KNOW THE SECURITY IMPLICATIONS OF ALLOWING REMOTE UNAUTHENTICATED ACCESS TO YOUR SERVER CONSOLE
- Open a new terminal and
cd
to any folder (your client config will be stored here) - Run
tmc client
(make sure the Minecraft server is started usingtmc wrap
first, see above).- You will be asked to fill in even more values.
- The client will start, and you can type commands into it to run commands on the server console.
You can reconfigure the bot at any time by running: tmc <command> config
Example: tmc botwrap config
will load values from botwrapper.json
and ask you the configuration questions again. You may or may not need to do this after updating.