GithubHelp home page GithubHelp logo

hibiscusmc / kixssimplebackpacks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kixmc/kixssimplebackpacks

1.0 0.0 1.0 87 KB

Simple & customizable survival-friendly item backpack plugin

License: GNU Affero General Public License v3.0

Java 100.00%

kixssimplebackpacks's Introduction

Kix's Simple Backpacks

Simple & customizable survival-friendly item backpack plugin - a happy medium between bundles & shulker boxes

Compatibility

  • Spigot, Paper, & CraftBukkit on versions 1.14.x - 1.17.x (other server types may work but are not directly supported)
  • Java 8 or newer

preview images

Features

  • Supports any items; all item attributes including nbt data is processed
  • No dupes unless the item is copied in creative mode; unique identifier assigned per backpack
  • Very customizable; change backpack size, lore, display name, etc. (see config.yml)
  • Works with inventories; storage containers, hoppers, dispensers, etc. are supported
  • No messy backend storage; backpack contents stored in the item itself (PersistentDataContainer)
  • Anvil support for renaming backpacks with respect to a configurable format
  • Recipe book support; backpacks and their recipe show up in player's survival recipe books
  • Rich meta; backpack items show a summary of its contents along with slot usage and capacity in item lore
  • Dynamic config updates; refreshes existing items in accordance to config changes:
    • Backpack item material, any text/lores from the config, and other options are refreshed and applied to backpacks when opened
    • If backpack size is made smaller, when players open their backpacks any items that previously fit in the older, bigger size will be dropped at their feet

Commands & Permissions

  • /backpacks get: get a backpack without having to craft it [permission: backpacks.getcommand]
  • /backpacks give <player>: give a backpack to the target player [permission: backpacks.givecommand]
  • /backpacks reload: reload & update changes to the config file [permission: backpacks.reload]

How to use

  • Either craft or use the get command to get a backpack. Right click it to "unbox" it (anti dupe measure) and then every time you right click again you'll open it!
  • If you plan on having multiple backpacks, it's a good idea to rename them in anvils for organization (ex "tools" or "mining")

Notes

  • Backpacks can be any item (changeable from the config). They cannot be placed even if they're a block (like default)

Download

https://www.spigotmc.org/resources/91098/

Compile

Requires Java 8 & Maven

1. git clone https://github.com/kixmc/KixsSimpleBackpacks
2. mvn package

Compiled jar will be in the /target directory

Support

If you have any questions, suggestions, or just want to say hi you can join my Discord server here: https://discord.com/invite/HKnDTRj

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.