Code Monkey home page Code Monkey logo

mineflayer-notebot's Introduction

mineflayer-notebot

A minecraft bot that can play most if not all .mid files from a direct download link. The bot can also play songs from the wwe client notebot format.

Installation

  1. Download npm and nodejs then install both softwares.
  2. Download mineflayer-notebot by clicking the the green button which says "Code" or by clicking here.
  3. Extract the .zip file you downloaded.
  4. Install dependecies using this command in command prompt:
cd C:/to/the/directory/where/thedownloadedproject/is
npm install mineflayer @tonejs/midi

Usage

Some important commands:

  • %playurl <direct .mid/.midi download link>
  • plays midi files from a url bitmidi is a pretty popular website for midi files but it isnt limited to only bitmidi a simple example: %playurl https://bitmidi.com/uploads/104840.mid should start to play Astronomia / Coffin dance meme
  • %play <premade song>
  • plays wwe format songs the bot is based on the wwe format so it can play basically anything from wwe clients notebot (not .nbs files) simple example: %play nyancat should start to play Nyancat
  • %songs
  • lists all premade songs in chat
  • %help
  • more info about all commands

Config

{
  "bot": {
    "username": "notebot",// username of the bot (only cracked currently)
    "host": "localhost",// ip of the server the bot will connect to
    "port": 25565 // port of the server the bot will connect to
  },
  "settings": {
    "tune_speed": 80,// at which interval the bot will tune in
    "colors_enabled": false,// if the server supports "&" color codes this makes chat more pretty
    "save_downloaded_songs": false,// save downloaded songs in notebot format in ./songs/
    "max_download_bytes": 10485760// max size for the %playurl midi file in bytes
  },
  "commands_perms": [// permission for higher level commands
    "The_Cosmic_",
    "MorganAnkan"
  ],
  "eval": {
    "perms": [// permission for eval
      "The_Cosmic_",
      "MorganAnkan"
    ],
    "enabled": false// WARNING: THIS IS VERY DANGEROUS TO LEAVE TRUE EVEN WITH THE PERMISSION SYSTEM
                    // DO NOT EDIT THIS IF YOU DONT KNOW WHAT YOU ARE DOING
  }
}

mineflayer-notebot's People

Contributors

morganankan avatar thecosmic04 avatar theblueburger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.