Skip to content

Latest commit

 

History

History
49 lines (45 loc) · 1.87 KB

README.md

File metadata and controls

49 lines (45 loc) · 1.87 KB

RCMC

Remote Controlled Minecraft

Icon Icon made by sticks

What is this project?

RCMC is a ChatTriggers module and discord bot that will allow you to control a Minecraft game remotely. This lets a real Minecraft client connect to a server that can be controlled remotely, so if a server bans bots and programs like Mineflayer, this wont be detected as a bot.

Setup

Note: this bot is 1000000% not final and these instructions are likely to change. They also will be made clearer in the future (Step 5 is a mess so I'll add photos and stuff soon (tm))

Prerequesits:

  • NodeJS
  • ChatTriggers
  1. Clone the git repo
git clone https://github.com/Beedit/RCMC.git
  1. cd into the folder
cd RCMC
  1. Copy the chat trigger to your minecraft install.
cp -r RCMC ~/path/to/mc/config/ChatTriggers/modules

and run /ct reload in game. 4. Setup the bot

cd Bot
npm i
cp .env.example .env
  1. Edit .env with your own preffered text editor and add the values
    PORT is the port this runs on locally. Probably an awful idea to port forward this as it has no security.
    TOKEN is the token of your discord bot. Create an application here and create a bot. The thing you need to place here is the token. To get one you may need to hit the regenerate button.
    CLIENTID is the ID of your application. Its found under general information on the same page as the bot (here)
    SERVERID is the ID of the discord server where you are running the bot.
  2. Invite the bot to your server using the url generator under Oauth2 (WITH applications.commands AND bot TICKED).
  3. Run the bot
npm run start

Optionally if you are adding to the bot (Thanks <3), you can run it with

npm run dev

to have it use nodemon.