Git Product home page Git Product logo

dc_contro_mcserver's Introduction

Control Minecraft server with Discord bot.

Scroll down for requirements, setup instructions and screenshots.

Features:

  • Basic commands: say, kick, teleport, save, weather, and gamemode.
  • Show connection history, chat log, online players, banned, OP list, and whitelist.
  • World save backup and restore system. Also has server folder backup/restore feature. These features need direct access to server files.
  • Server autosave, start, stop, status, version, log, update server.jar (only with Vanilla or PaperMC), and edit server.properties
  • Interface via RCON, Tmux or subprocess. Some features and command may be disabled if using RCON or Subprocess.

Requirements:

Python Modules:

Setup

  1. Create Discord bot using this portal.
  2. Setup Python venv and install libraries.
  3. Update slime_vars.py variables.
  4. Run python3 run_bot.py help, shows commands to setup tmux and/or run bot.
    e.g. python3 run_bot.py starttmux startboth attachtmux
  5. Use ?setchannel command to set channel id, so you get important bot/server event updates.
  6. Read through the help pages with ?help or ?help2 in Discord.

Using Virtualenv or venv:

Install Python3 venv:

sudo apt install python3-venv -y

Create Python Virtualenvt:

python -m venv ~/pyenvs/slime_server 

Activate new Python Virtualenv:

source ~/pyenvs/slime_server/bin/activate

Install required Python modules:

pip install discord.py discord-components asyncio file-read-backwards mctools requests bs4
or
pip install -r requirements.txt

Screenshots

Screen Shot 2021-12-04 at 22 33 54

Screen Shot 2021-12-04 at 22 57 41

Screen Shot 2022-04-12 at 6 59 20 PM

dc_contro_mcserver's People

Contributors

0n1udra avatar deepsourcebot avatar jwhitbread avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.