Skip to content

marshallovski/minecraft-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minecraft-bot

Simple Minecraft bot with commands and command handler.

Supported Minecraft versions: 1.7.10-1.24.1 (and possibly newer, depends on a minecraft-protocol library).

Commands

Default command prefix is !, but you can change it in config.json file.

Available commands: !hello, !disconnect, !clientSpammer.


But, of course, you can write your own commands!

Command Example

Create command.js file and place it in commands folder.

export default {
    name: "test",
    run: async (client, ev) => {
        client.chat("Yo! A custom command!");
    }
}

Installation

  1. Clone this repo: git clone https://github.com/marshallovski/minecraft-bot
  2. Open your terminal in folder minecraft-bot
  3. Install packages: npm i
  4. Execute npm run test (for developing purposes; for stable mode: node .)

About

Simple Minecraft bot with commands (1.7.10-1.24.1)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published