Skip to content

YMC-Minecraft/minebridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minebridge

IPMI for Minecraft over Telegram.

REQUIREMENTS

json-c 0.15 (libjson-c.so.5)
curl 7.75 (libcurl.so.4)
POSIX compliant system
gnu99 C compiler

INSTALLATION

make release
make install

CONFIGURATION

TG_ADMIN=114514,1919810 # UIDs allowed to execute more rcon commands other than /list. A complete list of commands supported is listed below.
TG_CHAT=-114514 # Chat that is allowed to send message to and from.
TG_LINK_FMT=https://t.me/c/xxx/%d # Format of Telegram links. %d: Message ID.
TG_API=114514:1919810 # Telegram bot API Key.
RCON_HOST=localhost # rcon host.
RCON_PORT=25575 # rcon port.
RCON_PASSWD=p@ssw0rd! # rcon password.

stdin: read from Minecraft server stdout. Use either pipe or log. For example:

tail -f --lines=0 /path/to/logs/latest.log | minebridge

LIMITATIONS

Cannot start the server if it is not running.

COMMANDS

Any users in the chat can use `/list` or `/list uuids` to check online players.

In additional to these two commands, administrators can use the following commands as well:

`/debug `
`/data `
`/whitelist `
`/reload`
`/reload `

ACKNOWLEDGEMENTS

mcrcon: https://github.com/Tiiffi/mcrcon/tree/b02201d689b3032bc681b28f175fd3d83d167293
json-c
libcurl

BUG REPORT

yuuta@yuuta.moe

LICENSE

GPL v2 only.

Releases

No releases published

Packages

No packages published