Skip to content

A Discord bot for interacting with Minecraft RCON commands

License

Notifications You must be signed in to change notification settings

darkwind01/mcmanagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


MCManagement Discord Bot

A Discord bot for interacting with Minecraft RCON commands built with discord.js

AboutFeaturesInstallationSetting UpLicenseCredits

About

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 ⭐!

Features

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

Installation

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.

Setting Up

(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.

Alt Text

To-Do

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.

License

Released under the GNU GPL v3 license.

Credits

  • Chris Churchwell - RCON class - github
  • DarkWind#6969 - api and d.js bot - github
  • xIonut#9999 - Beta tester - github