Skip to content

Almost10/chatbridge-and-tp-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Chatbridge and Whitelist TP Bot

Introduction

This repository contains the code for a Minecraft chat bridge and whitelist teleportation bot. The bot acts as a bridge between Minecraft chat and Discord, allowing players to interact with each other across platforms. Additionally, it offers whitelist management and teleportation functionality for authorized users. Prerequisites

Before running the bot, ensure you have the following prerequisites installed:

Node.js: Make sure you have Node.js installed on your system.

Command Usage
?? Make the bot randomly move for 10 seconds (bypass anti-bot)
@@ Turn tpa whitelist off and on (in that instance only)
aspect Makes blacklisted players not allowed to talk (in that instance only)
Installation

Use the following commands in your terminal to install the required Node.js packages:

Install mineflayer:

npm install mineflayer

Install discord.js:

npm install discord.js

Install mineflayer-movement:

npm install mineflayer-movement

Install mineflayer-auto-eat:

npm install mineflayer-auto-eat

Configuration

Fill in the necessary details in the config.json file, including your Minecraft account details, server IP, Discord token, Discord webhook ID, and the list of whitelisted players. For admin functionality, add your Discord ID to the admin section in config.json.

How to Use

Launch the bot using the command:


node index.js

The bot will now be connected to your Minecraft server and Discord channel. All normal players' messages from Discord will be displayed as "[Name] Player" on MineCraft. To use an admin command, simply type !hello or any other admin command, and the bot will execute it directly without showing the player's name.

About

This is a chatbridge bot and a whitelisted tpa bot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published