MoonCraft Discord Bot 🚀
https://safemoon.net/
About • Commands • Requirements • Installation • Setup • License • Contributors
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!
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 |
- Java JDK 11
- Gradle 6+
$ 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.
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 |
In order to keep user information safe and secure, our backend servers are not available for public usage.
Released under the GNU GPL v3 license.
Find the list of ✨ awesome ✨ contributors here. Thank you to all who have contributed to the SafeMoon Discord Bot. 🚀