Skip to content

Fulfix/DiscordCraftBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Prerequisites:

  • A Discord bot token
  • A Minecraft server : your can run without sudo
  • Python installed
  • Python packages installed: discord.py, mcstatus, subprocess, asyncio

Explanation:

Bot Token:

  • To use the Discord bot, you need to obtain a bot token from the Discord Developer Portal.
  • Replace "YOUR_BOT_TOKEN_HERE" in the Python script with your actual bot token.

complete the file:

you have to complete the script start_server.sh and replace "YOUR_SERVER_ADRESSE:PORT" by your ip of your server and replace "YOUR_BOT_TOKEN" by the token of your bot

Python Installation:

  • Make sure Python is installed on your system. You can download and install Python from the official Python website.

Required Python Packages:

  • Install the required Python packages using pip:

    pip install discord.py
    pip install mcstatus
    pip install subprocess
    pip install asyncio
    

Modify the start_server.sh script:

  • Replace "your_minecraft_server_ip" with the IP address of your Minecraft server in the start_server.sh script. This script is responsible for starting the Minecraft server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published