GithubHelp home page GithubHelp logo

000hen / botmc Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 5.0 70 KB

A Discord BOT can open your Minecraft Servers.

Home Page: https://botmc.cf

JavaScript 100.00%
minecraft java discord-bot nodejs minecraft-server

botmc's Introduction

BotMC

Warning
BotMC will NOT continue supporting. If you want to use this Discord bot, you may found the bot doesn't work.

A Discord BOT can open your Minecraft Servers.

The Video

https://www.youtube.com/watch?v=VAqaoz0ctFw

Feature

  • You can use your Discord to open Minecraft Server.
  • Your friends also can open your Minecraft Server (Require in the same Discord Guild with the bot).
  • You can run commands in Discord.
  • Auto shutdown when the server have nobody.
  • Easy to Use.
  • Easy to connect to your Minecraft Server.
  • Easy to modify your Minecraft Server.
  • Easy to run server as your own parameters.
  • Allow some roles (Discord) to open your Minecraft Server.
  • Support multi-language (Support: en-US, zh-TW; You need to change in config.json).

How to use

Node JS 12 or above is required

Download the Releases Here: https://github.com/000hen/BotMC/releases/latest

  1. Use npm to install all models (npm install).
  2. Typing your Discord BOT Authorization Token into the file "config.json"'s discordToken
  3. Typing your Minecraft Servers' Information into "minecraftServerFolders" Like:
{
  "name": "Name of Server",
  "id": "this.is.id",
  "version": "Version of Server",
  "javaVersion": "16 // Optional, can be number or string, should be 16 or 8",
  "folder": "/path/to/your/server/folder",
  "serverFileName": "server.jar",
  "runArgs": "--Server --Run --Args --Here // Optional"
}

Here is the example: Example1

  1. Download the Java Runtime (https://dl.botmc.cf/javas.zip) and unzip to the root folder. (It will auto download when you run it.)
  2. Run the BOT (node main.js).

Here is the Running screenshot: Example2

Run commands in Discord: Example3

Issue

  • All Minecraft version under MC 1.17 are run well in Java 8, but Minecraft 1.17 (I think they will make all version above MC 1.17 run in latest Java version) CANNOT run (even Java 14/15, so you need to change your Java version when you are running between the latest Minecraft and all versions under MC 1.17 I make the bot can change Java Runtime, but you need to change your javaVersion in config.json's minecraftServerFolders).
  • javaVersion only have two versions: JDK 16, JDK 8
  • All Minecraft versions can run well in latest Java version, but Forge (idk Bukkit, Paper, Fabric) cannot.
  • If you are running in Linux System, you may change the permission value of the Java Runtime file.

Enjoy

  • This bot can run well in Windows, Ubuntu/Linux (I tested).

botmc's People

Contributors

000hen avatar

Stargazers

 avatar

Watchers

 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.