Enderbro is heavily inspired by shulker, and operates in much the same way. This package is built primarily on top of Discord.js and modern-icon. Many thanks to the authors of all of those packages.
If everything is working correctly, Enderbro should work like so:
Clone this repository and run npm install
to set things up.
Enderbro requires a configuration file called config.json
in the same directory as index.js
. An example configuration file might look like this:
{
"port": "3000",
"token": "YOUR-TOKEN-HERE",
"channelId": "YOUR-CHANNEL-ID-HERE",
"endpoint": "http://your-endbro-installation.com/your/post/route",
"postRoute": "/minecraft/hook",
"src": "/path/to/your/minecraft/server/logs",
"chatRegExp": "\\[Server thread/INFO\\]: <([^>]*)> (.*)",
"ignoreRegExp": "packets too frequently",
"rcon": {
"host": "localhost",
"port": 25575,
"password": "hunter2",
"timeout": 5000
},
"playerMap": {
"minecraftPlayer1": "123456789101112131",
"minecraftPlayer2": "123456789101112132",
"minecraftPlayer3": "123456789101112133"
}
}
Once everything is installed and your config.json
is ready to go, then you can run the application from the cloned directory with node index.js
. It is strongly recommended that you use a process manager like pm2 to run Enderbro as a background process.
Pull requests, bug reports, and feature requests are all welcome! To contribute to Enderbro, please fork this repository, create a new feature branch and submit a pull request to the master
branch.