-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Setup
John Grosh edited this page May 11, 2021
·
28 revisions
- Instructions on how to install Java on your system: Installing Java
- Download the latest JMusicBot-X.Y.Z.jar (and optionally, example config.txt file) from the releases page (or, get the URL from the releases page and then use wget or similar command-line tool to download).
- Your folder should look similar to this (on desktop):
⚠ Note: The above image is Windows, but it should look similar on all platforms
⚠ Note: Do not put this in the Downloads or Desktop. Use a folder within Documents
- Fill in the config file (if you downloaded it). If you didn't download it, you will be prompted when you run for the first time. An example
config.txt
is provided below (See Getting a Bot Token and Finding Your User ID if you need help with the config).
token = MJHJkljflksdjfCoolTokenDudeILikeItkasdk
owner = 113156185389092864
prefix = "!"
⚠ Note: You can also copy & paste a template from the Example Config
- Run the jar file (choose one of these options):
- Double-click the jar file (on desktop environments), OR
- Run
java -Dnogui=true -jar JMusicBot-X.Y.Z.jar
from the command line (replace X, Y, and Z with the release numbers), OR - Run
nohup java -Dnogui=true -jar JMusicBot-X.Y.Z.jar &
to run in the background (Linux only)
- Provide the requested information, if prompted.
- Wait for the "Finished Loading" message.
- When the bot starts, if it hasn't been added to any servers yet, it will provide you with a link in the console.
- Alternatively, follow these instructions (with images): Adding Your Bot To Your Server