Skip to content

A bot that sends messages in 6b6t chat and is very configurable

Notifications You must be signed in to change notification settings

CubeBeveled/6b6t-advertising

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

6b6t advertiser

A bot to advertise your stuff on 6b6t
Only works with offline authentication accounts (cracked accounts)

Running the bot

  1. Making sure you have nodejs 20 or later and git installed
    You can do that by running the following from your console. (Both of the commands show the versions of nodejs and git, if they are installed)
node -v
git -v
  1. Download the git repository to your machine by running the following command in your console
git clone https://github.com/CubeBeveled/6b6t-advertising
  1. Install the required packages
    You can do that by running the following inside the src folder from your console.
npm i
  1. Modify the config.json file found inside the src folder. More specifically, the messages, username and password. If you want you can also change the other options.
  2. Run the following inside the src folder
node index.js
  1. Profit

NOTE: console is also known as command prompt, if you are on windows

Settings

sendChatMessagesInConsole

If a bot should send chat messages in console

advertising

usernameBlacklist

Usernames in this list wont receive your advertisements

messages

What messages to send.

messagePattern

String that contains the placeholders for the final messages Placeholders

  • .msg: The message selected from the previous option
  • .rand: Random string of letters and numbers

randomStringLength

The length of the random string placeholder

sendMessagesInRandomOrder

If the bot should send the messages in random order. If set to false, it will send them in random order.

messageDelay

The delay between messages. Ignored if randomMessageDelay is true.

randomMessageDelay

If the delay between messages should be random.

maxRandomMessageDelay

The max delay between messages. Ignored if randomMessageDelay is false.

whisperMessages

If the bot should whisper the messages it sends to players.

sendMessagesInChat

If the bot should send the messages in normal chat.

randomPlayerOrder

If the messages should be sent to players in the order they appear in the tab list

Bot object

username

The username that the bot will join with. If botCount is more than 1 a number will be added at the end of said username.

password

The password that the bot will put into the /login command

reconnectDelay

Default: 5.5s
After how much time should the bot reconnect (in seconds).

viewDistance

Default: tiny
The render distance of the bot. Input options for this value can be read here.

For developers heres the Mineflayer API documentation


About

A bot that sends messages in 6b6t chat and is very configurable

Topics

Resources

Stars

Watchers

Forks