Skip to content

Safemoon-Protocol/MoonCraft-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


SafeMoon

MoonCraft Discord Bot 🚀
https://safemoon.net/

AboutCommandsRequirementsInstallationSetupLicenseContributors


About

MoonCraft Bot is open source to allow our community to utilize, contribute and improve the experience of the SafeMoon Discord Server.

Feel free to leave a ⭐ to help promote SafeMoon!

Commands

Substitute ! in the below commands to be the prefix that is set in config.json.

Command Feature
!!help Lists all available commands
!!online Lists all players currently online MoonCraft
!!verify Links users' Minecraft and Discord accounts

Requirements

  • Java JDK 11
  • Gradle 6+

Installation

$ git clone https://github.com/Safemoon-Protocol/MoonCraft-Bot.git

Once you've cloned the repository to your machine or server, you will need to import it into your IDE of choice by importing the build.gradle file. We recommend using IntelliJ for your IDE.

Setup

Copy the config.example.json file within the src\main\resources directory, and rename it to config.json. You can then update the values in the JSON file to your preference. The configuration file should look something like this:

{
  "auth": "Backend API Auth Token",
  "token": "Discord Bot Token",
  "prefix": "!!"
}

To find your bot's token, go to the Discord Developer Portal and create a bot. Copy the token that Discord gives you, and place this inside of your configuration JSON file. You will also need to give your bot on the Developer Portal privileged gateway intents, you can find this on the Bot Settings on the portal.

Configuration Setting Information
auth Backend API authentication token
token Your Discord bot's token
prefix The identifier for commands

Additional Information

In order to keep user information safe and secure, our backend servers are not available for public usage.

License

Released under the GNU GPL v3 license.

Contributors

Find the list of ✨ awesome ✨ contributors here. Thank you to all who have contributed to the SafeMoon Discord Bot. 🚀

About

A Discord bot to integrate with Safemoon's Minecraft server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published