GithubHelp home page GithubHelp logo

zsongli / quick-stack Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.61 MB

A Spigot plugin for Minecraft that tries to mimic Terraria's "quick stack to nearby chests" button to help Minecraft get one step closer to being as good as Terraria.

Java 100.00%

quick-stack's Introduction

Quick Stack

A simple stack implementation in C
just kidding, github copilot generated that

A Spigot plugin for Minecraft that tries to mimic Terraria's "quick stack to nearby chests" button to help Minecraft get one step closer to being as good as Terraria. (magic mirror next pls)

Usage

Put the .jar file in your plugins folder first.

Configuring range

You will need the permission called quickstack.range, or operator privileges.
To set the range, use the command /qs range <value>. The value is in blocks, and the default is 8.
The plugin will use this value as the radius of a sphere cube around the player, and will try to find regular chests (or barrels) within. Neither trapped nor ender chests work as of now.

Excluding types of items

You don't need any permissions to do this, because it's just a personal setting that only matters when the quick stacking feature is used.

  • To toggle exclusion of a type of item (that's how far the plugin's differentiation between items logic goes), use the command /qs exclude <item>. Provide the item's ID as it appears in any regular command, for example minecraft:stone or minecraft:iron_ingot. You may skip the minecraft: part if you want.
  • To exclude the type of item you're currently holding, use /qs exclude this.
  • To view the list of the types of items you've excluded so far, use /qs exclude list.
  • To clear the list of excluded items, use /qs exclude clear.

It ignores your hotbar, armor, and offhand slots by default, so you don't have to worry about accidentally quick stacking your sword or something.

Using the main feature

You will need the permission called quickstack.use, or operator privileges.
Just type /qs or /quickstack to quick stack your inventory to nearby chests. If you hear a sound, it probably worked.

I don't take responsibility for any lost items, but I'm pretty sure it's safe (=/= efficient).
Please send me a pull request if you'd like to help! (I am not a Java programmer)

quick-stack's People

Contributors

zsongli avatar

Watchers

 avatar

quick-stack's Issues

Compiled in more recent version of java

Hi!
Im trying to use your plugin on my paper home server but i get this error when im starting the server.
Im using paper 1.21.1 and 1.21.1 client in offline mode.
My java version is: "17.0.9" 2023-10-17 LTS

Could you please compile it in an earlier version of java?

Here is the error:
[11:31:26 ERROR]: [ModernPluginLoadingStrategy] Could not load plugin 'QuickStack.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: li/zsong/quickstack/Plugin has been compiled by a more recent version of the Java Runtime (class file version 63.0), this version of the Java Runtime only recognizes class file versions up to 61.0

Thanks in advance!

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.