License of source code: AGPL v.3
Notice:
Reprints messages from the general chat Minetest to Discord and back.
![Image](http://i.piccy.info/i9/204ca80fa5228ffe45f778d0c8bb33fb/1490082192/38388/1114669/mtdiscord_800.jpg)
![Image](http://i.piccy.info/a3/2017-03-21-07-46/i9-10980730/800x225-r/i.gif)
Support command in the Discord:
!status - Server’s Minetest version, time the server is running in seconds list of connected players and the message of the day.
!msg <player> <message> - Send a private message <message> to <player>.
!ban <player name> - Ban IP of player.
!unban <player name/IP address> - Remove ban of player with the specified name or IP address.
!kick <player name> <reason> - Kicks the player with the name <player name>. Optionally a <reason> can be provided in text-form. This text is also shown to the kicked player.
!setpassword <player> <passwovrd> - Sets password of <player> to <password>.
!grant <player> <privilege> - Gives the <privilege> to <player>.
!revoke <player> <privilege> - Takes away a <privilege> from <player>.
You can disable this by setting "SUPPORT_CMD = false" in "~/mods/http_api/subscriber/init.lua"
Installing:
Download: Windows 386/x64
or
Download: Linux 386/x64
Unzip and Install "http_api" minetest modpack.
Usage:
Add your bot.
https://discordapp.com/developers/applications/me
Run on the server:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
mtdBot -t <TokenBot> -c <ChannelID>
Links:
Source code on Bitbucket:
- https://bitbucket.org/g00g01/mtdbot
Discord:
- https://discordapp.com/
![Image](http://i.piccy.info/i9/35a42113261448bae5ae7287c70fe85d/1488960525/5157/1114669/donate.png)