Skip to content

Installation Guide

fourbones edited this page Jul 14, 2023 · 1 revision

Certainly! Here's an example of an installation guide for the Discord Minecraft Whitelist Bot:

Installation Guide

Follow these steps to install and set up the Discord Minecraft Whitelist Bot:

Prerequisites

Step 1: Clone or Download the Bot

Step 2: Configure the Bot

  • Open the config.json file in a text editor.
  • Replace You're token goes here with your Discord bot token. You can obtain a token by creating a new bot in the Discord Developer Portal.
  • Replace You're ID goes here with your Discord ID. This can be found by right clicking your discord profile and clicking copy id(You need to have developer mode enabled).
  • Save the config.json file.

Step 3: Install Dependencies

  • Open a terminal or command prompt and navigate to the directory where you downloaded the bot.
  • Run the following command to install the required dependencies:
pip install -r requirements.txt

Step 4: Start the Bot

  • In the terminal or command prompt, run the following command to start the bot:
python main.py
  • The bot should now be up and running.

Step 5: Add the Bot to Your Discord Server

  • Go to the Discord Developer Portal and select your bot application.
  • Under the "OAuth2" section, select the appropriate bot permissions required for your server.
  • Copy the generated OAuth2 URL and open it in a web browser.
  • Select your Discord server from the dropdown and authorize the bot to join your server.

Step 6: Test the Bot

  • In your Discord server, create a text channel where the bot will operate.
  • Type /mc-setup in the text channel to initiate the setup process.
  • Follow the prompts and provide the required information to complete the setup.

Congratulations! You have successfully installed and set up the Discord Minecraft Whitelist Bot. It's now ready to manage your Minecraft server's whitelist through Discord.

If you encounter any issues during the installation process or have further questions, please refer to the Troubleshooting section or reach out to the project community for assistance.


Clone this wiki locally