Switched to Adventure MiniMessage for all messages, item names, and lore.
Added anonymous bStats Metrics.
New Configuration Files:
Code (YAML):
# Changing values here will not affect older compressor tools compressor-tool: # The XMaterial name of the item material: GOLDEN_HOE
# How much durability does the tool have? # Default: infinity # Valid Values: 1-2000000000 durability: infinity
# You can add and remove your own custom recipes as well # Use XMaterial names, not Bukkit names recipes:
coal:
input: COAL
output: COAL_BLOCK
amount: 9
iron_ingot:
input: IRON_INGOT
output: IRON_BLOCK
amount: 9
lapis_lazuli:
input: LAPIS_LAZULI
output: LAPIS_BLOCK
amount: 9
gold_nugget:
input: GOLD_NUGGET
output: GOLD_INGOT
amount: 9
gold_ingot:
input: GOLD_INGOT
output: GOLD_BLOCK
amount: 9
quartz:
input: QUARTZ
output: QUARTZ_BLOCK
amount: 4
redstone:
input: REDSTONE
output: REDSTONE_BLOCK
amount: 9
diamond:
input: DIAMOND
output: DIAMOND_BLOCK
amount: 9
emerald:
input: EMERALD
output: EMERALD_BLOCK
amount: 9
# Iron Nugget was added in Minecraft 1.11 iron_nugget:
input: IRON_NUGGET
output: IRON_INGOT
amount: 9
# Amethyst, Raw Copper, Raw Iron, Raw Gold, and Copper were added in Minecraft 1.17 amethyst:
input: AMETHYST_SHARD
output: AMETHYST_BLOCK
amount: 4
raw_copper:
input: RAW_COPPER
output: RAW_COPPER_BLOCK
amount: 9
raw_iron:
input: RAW_IRON
output: RAW_IRON_BLOCK
amount: 9
raw_gold:
input: RAW_GOLD
output: RAW_GOLD_BLOCK
amount: 9
copper_ingot:
input: COPPER_INGOT
output: COPPER_BLOCK
amount: 9
Code (YAML):
## Extra Information: ## This is the default language file for Block Compressor. ## The default language is "en_us", also known as English (United States). ## Context will be added as YAML comments above the string.
## The color scheme for messages is green and red. ## Command feedback that is successful should always be green. ## Error messages should always be red. ## Variables in messages can be gray or white.
## Messages use the MiniMessage format in non-strict mode. ## More information about MiniMessage can be found here: ## https://docs.adventure.kyori.net/minimessage/format.html
--- language-name: "en_us" decimal-format: "0.00" error:
no-permission: "<red>Missing Permission: <gray>{permission}</gray>.</red>" compress-successful: "<green>Successfully compressed all items.</green>" compress-failure: "<red>There were no items to compress.</red>" tool-give: "<green>You gave a block compressor tool to <gray>{target}</gray>.</green>" tool-get: "<green>You have received a block compressor tool.</green>" reload-success: "<green>Successfully reloaded the configuration and language files.</green>" invalid-configuration: "<red>The compressor tool item is mis-configured.</red>" compressor-tool:
display-name:
format: "<white>Compressor Tool</white>" durability-normal: "<gray>{current}</gray>" durability-infinite: "Infinite" lore:
format: -
"<gray>Right click a block with an</gray>" -
"<gray>inventory to compress the</gray>" -
"<gray>contents.</gray>" -
"<dark_gray><bold>Durability:</bold></dark_gray> <gray>{durability}</gray>" durability-normal: "<gray>{current} <bold>/</bold> {max}</gray>" durability-infinite: "Infinite"