A Discord bot for interacting with Minecraft RCON commands built with discord.js
About • Features • Installation • Setting Up • License • Credits
MCManagement is an open source, Discord bot that is constantly growing. With this bot you can connect to your minecraft servers and ran commands from discord.
If you liked this repository, feel free to leave a star ⭐!
Free version:
- Acces to execute command on a single server.
- No logs
- API without licence key (protection for api steal).
- Simple bot (only index.js)
- No updates
Paid version:
- Cooldown commands
- Multi servers support
- Database connection (for Logs & multi servers)
- Include future updates
You can clone this repo and host the bot and api yourself.
git clone https://github.com/darkwind01/mcmanagement.git
After cloning, run an
npm install discord.js & axios
to snag all of the dependencies. Of course, you need node installed.
(BOT) On index.js
you have 'client.config' where need to edit like this:
client.config = {
prefix: "Your prefix",
token: "Your discord token",
server_ip: "Server ip",
server_port: "Server rcon port",
server_pw: "Server rcon password"
}
(MINECRAFT SERVER)
On server_properties
you need to edit like this:
enable-rcon=false to enable-rcon=true
rcon.password= to rcon.password=my_rcon_password
rcon.port=25575 to rcon.port=your_port (you can leave default)
(API PHP)
You need a webhost to use api or you can use on localhost using XAMPP. When you have a webhost you can drag the api.php
and
rcon_class.php
into root folder and use.
Visit the Discord developer portal to create an app and use the client token you are given for the token
option.
Once done, feel free to launch bot using the command node index.js
.
McManagement is in a continuous state of development. New features/updates may come at any time for paid version. Some pending ideas are:
- Check host
- check online members
- and more.
Released under the GNU GPL v3 license.