Skip to content

Minecraft Chat bridge bot discord to mc coded in python

Notifications You must be signed in to change notification settings

AlindasUK/Mc-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Discord Bot with Mineflayer Integration

This Discord bot is integrated with Mineflayer to interact with a Minecraft server.

Prerequisites

  • Python (3.6 or higher)
  • Discord.py library
  • Mineflayer and Pathfinder plugins
  • Other dependencies mentioned in the script

Clone the Repository

  1. Open a terminal or command prompt.

  2. Clone the repository using the following command:

    git clone https://github.com/your-username/your-repository.git
  3. Change into the project directory:

    cd your-repository

Update Bot Token and Login Settings

  1. Open the main.py file using a text editor of your choice.

  2. Find the following section in the code:

    # Replace with your actual bot token
    dcbot.run("YOUR_BOT_TOKEN")
  3. Replace "YOUR_BOT_TOKEN" with the actual token for your Discord bot. You can obtain this token from the Discord Developer Portal.

  4. Update other login settings, such as server IP, username, password, and version in the Mineflayer configuration section.

Install Dependencies

  1. Make sure you have Python installed on your system.

  2. Install the required Python packages using the following command:

    pip install -r requirements.txt

Run the Bot

  1. Ensure the Mineflayer server is running and accessible.

  2. Run the bot using the following command:

    python main.py
  3. The bot should now connect to the Discord server and the Mineflayer server.

Additional Notes

  • This bot uses Discord.py and Mineflayer libraries. Ensure that the versions are compatible.

  • Customize other settings and functionalities based on your requirements.

Feel free to contribute or report issues in the GitHub repository.

About

Minecraft Chat bridge bot discord to mc coded in python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages