Skip to content

Discord bot to manage your exaroton servers. Fork of PhoenixAPI.

License

Notifications You must be signed in to change notification settings

Alex22sv/CommanderBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommanderBot

What does it do?

CommanderBot is an updated and improved version of PhoenixAPI-Bot which has the same commanods but the difference between both bots is that CommanderBot no longer uses message commands but slash commands.

Features

  • Get information about your exaroton account.
  • List all servers in your exaroton account.
  • Create an embed to automatically display the current status of your server.
  • Start, stop & restart your own servers.
  • Start servers that you have shared access to with your own credits.
  • Get your server log or upload it to https://mclo.gs/.
  • Update your server settings, like RAM, banned players & ips, whitelisted players, etc.
  • Execute Minecraft commands.
  • Get your server Dynamic IP (DynIP).

Slash commands?

Yes. CommanderBot will only reply through slash commands, e.g. /help. image

Setting up the bot

Requirements

What's next?

  1. Download the code. image
  2. Run npm install in the path where you have the main folder. image
  3. Create a Discord application here image
  4. Click the "Bot" tab and "Add Bot". image
  5. Copy your Discord token. image
  6. Move the file example.config.json to the src folder and rename it to config.json, then paste the Discord token inside the discordToken value. image
  7. Go to your exaroton account, copy the exaroton API token and paste it inside the exarotonAPIkey value. image image
  8. To invite the bot to your server use this link and replace the 'ID' with the client ID of your application which you can find here image image image
  9. Paste the client ID you copied from the Discord Developer Portal and paste it inside the clientId value in the config file. image

Starting the bot

Once you have the bot on your server and added all the config to the config.json file, you can start the bot running the command node main.js. Make sure the path is set to the CommanderBot folder. You'll see this message when the bot is online:

image

And done! The bot is set up and online. You can now run /help to get the list of commands.

Support

If you have questions about the bot or you want to report a bug you can join our Discord server here or you can create an issue on GitHub here.

About

Discord bot to manage your exaroton servers. Fork of PhoenixAPI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published