Skip to content

Useems/minesquire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesquire

Create Minecraft bots for version 1.5.2

Installation

Use the package manager npm to install minesquire.

npm install minesquire

Usage

const minesquire = require("minesquire");

var bot = new minesquire.Bot({
    username: "Bot",
    host: "localhost",
    port: 25565
});

bot.on("login", () => {
    console.log("Logged in");
});

bot.on("chat", (message = "") => {
    console.log(`[Message] ${message}`);
});

bot.on("kicked", console.log);
bot.on("error", console.log);

License

MIT

About

Create Minecraft bots for version 1.5.2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published