Giter VIP home page Giter VIP logo

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
  • Player

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

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

Player

Storage

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

  • move (moves the players position by a breadth-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
  • A minecraft server with the chests set up. (config in player.ts)
  • Postgres database (config in db.ts)

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

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

lupettohf

idk's Issues

How to build the chest area.

The setup procedure is pretty straightforward even by reading the code alone. However I don't understand how the deposit should be built.

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.