GithubHelp home page GithubHelp logo

lupettohf / idk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lazydancer/idk

0.0 0.0 0.0 9.45 MB

idk is a minecraft inventory bot. Deposit and withdraw items from a storage area of chests. All the items are shown on a website and you can control the bot from there. No redstone required!

Home Page: https://pucula.com/idk

JavaScript 4.41% Python 2.59% TypeScript 74.18% CSS 2.24% HTML 0.75% Svelte 15.83%

idk's Introduction


idk is a minecraft inventory bot.

Deposit and withdraw items from storage. All the items are shown on a website and you can control the bot from there. No redstone required!

About โ€ข Installation

About

Divided into 3 parts: website, inventory / database and minecraft player / storage

Website

Website

This displays and controls the items available in your inventory. Withdraw and deposit items from here

Built with svelte and tailwind.css,

Inventory / Database

A simple api to take requests from frontend:

  • list
  • withdraw
  • deposit

Model of the inventory system and a majority of the logic. Takes the inputs above and converts them into actions to be run by the player. Task completion updates database

Built with: typescript and postgres

Minecraft Player / Storage

Storage

Base action performer, listens for requests from inventory takes the following actions:

  • move (moves the players position by a breath first pathing)
  • open
  • close
  • left click
  • right click

Built with: javascript and mineflayer

I've written more about it on my website pucula.com/idk

Installing

Since this is a personal project, sorry I haven't spend much time to help with installation process. You'll need:

  • Local minecraft server running 1.19.3
  • A minecraft account, user/pass are stored as environment variable
  • Running a minecraft server with the chests set up. (config in player.ts)
  • Postgres with a table with the follwing schema. (config in db.ts) metadata - int4 nbt - jsonb name - varchar display_name - varchar stack_size - int4 slot - int4 count - int4 chest - int4 shulker_slot - int4

To run, Start Website: cd front, npm install, npm run dev cd .. Start Bot: cd back, npm install, npm start

idk's People

Contributors

lazydancer 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.