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.
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
- Clone the git repo
git clone https://github.com/Beedit/RCMC.git
- cd into the folder
cd RCMC
- 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
- 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. - Invite the bot to your server using the url generator under Oauth2 (WITH applications.commands AND bot TICKED).
- 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.