FOR THE HOARD!
A small plugin for SpigotMC that allows players to "compress" and "decompress" stacks of items or blocks for easier storage or transport of mass quantities.
9 of any of the configured allowable items/blocks may be compressed into a single item/block. This process may be repeated to compress a stack up to 9 times to store a maximum of 24,794,911,296 items in a full (64) stack of fully compressed items.
Video/Screenshots (Imgur)
Commands
/compress
Command to open the Compression Workbench user interface.
Requires Permission: block-compression.gui
/zip
Alias of /compress.
/bcgive
Usage: /bcgive <player> <item-id> <level(0-9)> <qty>
Command to give a stack of compressed items to a target player.
Requires Permission: block-compression.give
/bcreload
Usage: /bcreload
Command to reload the the plugin config and the allowed compressible items/blocks list files from disk without having to restart the server.
Requires Permission: block-compression.reload
Permissions
block-compression.gui
Grants access to the /compress and /zip commands as well as accessing the compression workbench via block interaction.
block-compression.gui.command
Grants access to the /compress and /zip commands.
block-compression.gui.block
Grants access to accessing the compression workbench via block interaction.
block-compression.give
Grants access to the /bcgive command.
block-compression.reload
Grants access to the /bcreload command.
Configuration
Block interaction to open the compression workbench can be configured with the plugin’s config.yml file:
plugin.yml
# Configures whether/how players can open the compression workbench by
# interacting with a block, while optionally holding a "key" item to enable the
# interaction.
#
# For example, if set to `target: minecraft:fletching_table` and
# `holding: minecraft:diamond` then players with the correct permissions will be
# able to open the crafting workbench by right clicking a diamond against a
# fletching table.
open-on-interact :
# Whether opening the crafting workbench by interacting with a block is
# enabled.
#
# Values: true|false
enabled : true
# ID of the target block that must be interacted with (right clicked on) to
# open the crafting workbench.
#
# Values: <any valid block id>
target : minecraft:fletching_table
# ID of the item that must be held by the player when interacting with
# (right clicking) the target block.
#
# To disable an item requirement, set to `minecraft:air`.
#
# Values: <any valid item id>
holding : minecraft:diamond
Additionally the plugin reads what blocks are allowed to be (de)compressed from 2 files:
compressible-items.txt and
compressible-blocks.txt.
These files will be created in the plugin’s config directory on first load.
Version History (on GitHub)
A small plugin for SpigotMC that allows players to "compress" and "decompress" stacks of items or blocks for easier storage or transport of mass quantities.
9 of any of the configured allowable items/blocks may be compressed into a single item/block. This process may be repeated to compress a stack up to 9 times to store a maximum of 24,794,911,296 items in a full (64) stack of fully compressed items.
Video/Screenshots (Imgur)
Commands
/compress
Command to open the Compression Workbench user interface.
Requires Permission: block-compression.gui
/zip
Alias of /compress.
/bcgive
Usage: /bcgive <player> <item-id> <level(0-9)> <qty>
Command to give a stack of compressed items to a target player.
Requires Permission: block-compression.give
/bcreload
Usage: /bcreload
Command to reload the the plugin config and the allowed compressible items/blocks list files from disk without having to restart the server.
Requires Permission: block-compression.reload
Permissions
block-compression.gui
Grants access to the /compress and /zip commands as well as accessing the compression workbench via block interaction.
block-compression.gui.command
Grants access to the /compress and /zip commands.
block-compression.gui.block
Grants access to accessing the compression workbench via block interaction.
block-compression.give
Grants access to the /bcgive command.
block-compression.reload
Grants access to the /bcreload command.
Configuration
Block interaction to open the compression workbench can be configured with the plugin’s config.yml file:
plugin.yml
Code (YAML):
# Configures whether/how players can open the compression workbench by
# interacting with a block, while optionally holding a "key" item to enable the
# interaction.
#
# For example, if set to `target: minecraft:fletching_table` and
# `holding: minecraft:diamond` then players with the correct permissions will be
# able to open the crafting workbench by right clicking a diamond against a
# fletching table.
open-on-interact :
# Whether opening the crafting workbench by interacting with a block is
# enabled.
#
# Values: true|false
enabled : true
# ID of the target block that must be interacted with (right clicked on) to
# open the crafting workbench.
#
# Values: <any valid block id>
target : minecraft:fletching_table
# ID of the item that must be held by the player when interacting with
# (right clicking) the target block.
#
# To disable an item requirement, set to `minecraft:air`.
#
# Values: <any valid item id>
holding : minecraft:diamond
These files will be created in the plugin’s config directory on first load.
Version History (on GitHub)
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Block Compression is a free Minecraft Java mod. Compatible with Minecraft 1.20. Downloaded 2,158 times (via Spigot). Download it and open it directly in the game.