-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
59 lines (38 loc) · 1.23 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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.