1.0.3 • Published 8 months ago

@athenadevelopment/athena-bot v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

AthenaBypassBot

A simple bot for Minecraft that connects to your BungeeCord/Velocity server.

Installation

Install the package via npm:

npm install AthenaBypassBot

Usage

import { AthenaBot } from "AthenaBypassBot";

const hostname = '127.0.0.1';
const port = 25565;
const username = 'Bot-Username';
const forwarding_secret = 'forwarding-secret-goes-here';
const version = '1.21.4';

const bot = AthenaBot(hostname, port, username, forwarding_secret, version);

bot.on('login', () => {
    console.log(`${bot.username} logged in successfully.`);
});

bot.on('end', async (reason) => {
    await console.warn(`${bot.username} quit. Reason: ${reason}.`);
});

bot.on('kicked', async (reason) => {
    await console.warn(`${bot.username} was kicked. Reason: ${reason}.`);
});

bot.on('error', console.error);

Forwarding Secret

The forwarding_secret is a string you set in the config.yml file of your Velocity or BungeeCord server plugin.

Important Notice

The plugin required for this bot is a paid plugin.

For more information or to purchase the plugin, join our Discord server.

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago