RoodyCompressor · Files
config.yml
# ------------------------------------------------------------
# RoodyCompressor · config.yml
# Everything here can also be edited in-game: /rcomp
# Messages and menu texts: lang/<language>.yml. Menu layouts: menus/.
# After changing something: /rcomp reload
# ------------------------------------------------------------
# Language of messages and menus: the name of a file in lang/ (en, es, or your own).
language: en
# true = each player sees messages and menus in their Minecraft language when lang/ has
# that file (es_es.yml or es.yml...). The console uses the language above.
per-player-language: false
# More names for each command. Example: compressor: [autocompressor, comp]
command-aliases:
compressor: [autocompressor]
roodycompressor: [rcomp, rcompressor]
#
# An item-based auto-compressor. A player who carries a compressor item that is
# turned ON has their full stacks compressed up a chain, e.g. 64 gold ingots -> 1
# gold block. Right-click the item to turn it on/off; it works anywhere in the
# inventory. Turning it on/off can also change how it looks (each tier's
# `active` / `inactive`).
#
# Colours: & codes, &#RRGGBB and MiniMessage tags all work.
settings:
# How compression is enabled:
# item -> players must carry a compressor item that is turned on (default). The
# item is tradeable and keeps its NBT, so it works in shops/Shopkeepers.
# auto -> no item needed: anyone with the 'roodycompressor.auto' permission is
# compressed using the 'auto-tier' tiers below, and toggles it with
# /compressor on|off (remembered per player).
# both -> item OR auto.
mode: item
# The tier(s) whose recipes apply in 'auto'/'both' mode: one id or a list, e.g.
# [lv1, mines]. Each tier's own 'permission', worlds and regions still apply, so a
# player gets the recipes of every auto tier allowed for them where they stand.
# Ignored in 'item' mode.
auto-tier: lv1
# How often (in ticks, 20 = 1s) everyone's inventory is checked. It is also
# checked instantly when a player picks items up or closes a chest/shop.
every-ticks: 20
# After trading with a villager/Shopkeeper, wait this many seconds before
# compressing that player again (so change from a sale is not merged at once).
# 0 = no pause.
trade-pause-seconds: 60
# Only compress players in these game modes.
game-modes: [SURVIVAL, ADVENTURE]
# Worlds where nothing is compressed (names, any case).
disabled-worlds: []
# Also look at the off-hand slot for items to compress.
off-hand: false
# How players are told what was compressed: actionbar, chat or none.
# This is the default; each player can pick their own in /compressor.
notice: actionbar
# Sound when something is compressed ("<sound id> [volume] [pitch]", "" = none).
# Players can mute it for themselves in /compressor.
sound: "entity.experience_orb.pickup 0.6 1.5"
# Sounds when the item is toggled on / off.
sound-on: "block.note_block.pling 1 1.6"
sound-off: "block.note_block.bass 1 0.8"
# The {state} placeholder used in item names/lore and by PlaceholderAPI.
state-placeholder:
active: "EE08AON"
inactive: "&#FF6B61OFF"
# Whether the plugin sets the item's display name / lore from the tier look.
# Turn one off to keep names/lore set by another plugin. Enchants, attributes,
# custom model data, flags and unbreakable are always kept when toggling.
manage-name: true
manage-lore: true
# ── Custom items ──────────────────────────────────────────────────────────────
# Recipes can use plain items (a material, e.g. GOLD_NUGGET) or one of these: coins
# and anything with a name, lore or custom data. Each:
# item: a material, an item like in /give, e.g.
# 'minecraft:gold_nugget[minecraft:custom_name="Coin"]', or the one in your
# hand saved with /rcomp item <id> [name] (clicking a custom item in the
# recipe builder saves it too).
# name: how it shows in notices ("" = the item's own name, or the game's name in
# each player's language). plural: the same for more than one.
# match: exact (same name, lore, enchants...) or name (same material and name).
# Then use the id in a recipe: { from: copper-coin, amount: 64, to: silver-coin }.
items: {}
# ── Tiers ─────────────────────────────────────────────────────────────────────
# Each tier is one compressor item with its own recipes. A higher tier can
# `inherits:` a lower one to also do everything the lower one does. `recipes` run
# in order and the pass repeats, so a full chain climbs all the way in one go.
# The order of the tiers is their level ({tier_level} = 1, 2..., {tier_roman} = I, II...).
#
# Recipe keys: from (material or custom item id), amount (default 64), to (material
# or custom item id), result (default 1), plain-only (default true =
# never touch renamed/enchanted items of that material).
# Where a tier works (empty = everywhere; for the item and for auto mode):
# worlds: [world, mines] only in these worlds
# regions: ["mine-*"] only inside these WorldGuard regions
# exclude-regions: [spawn] never inside these (they win)
# Name/lore placeholders: {state} {tier} {tier_level} {tier_roman} {recipes}
tiers:
lv1:
# permission: "" # leave empty for anyone; set to gate a tier.
# regions: ["mine-*"] # only inside these WorldGuard regions (needs WorldGuard).
recipes:
- { from: GOLD_INGOT, amount: 64, to: GOLD_BLOCK, result: 1 }
- { from: GOLD_BLOCK, amount: 64, to: REDSTONE_BLOCK, result: 1 }
active:
material: DIAMOND
glow: true
name: "&#FF5468&lAUTO-COMPRESSOR &8▪ &fLv. {tier_roman} &8(&r{state}&8)"
lore:
- "&8ᴀᴜᴛᴏ-ᴄᴏᴍᴘʀᴇꜱꜱᴏʀ"
- ""
- "&7 Compresses your full stacks"
- "&7 automatically while it is on."
- ""
- "&7 &#FF5468● &fStatus: {state}"
- "&7 &#FF5468● &fRecipes: &7{recipes}"
- ""
- "&8 ⏵ &fRight-click&7: turn on/off"
- "&8 ⏵ &7Works anywhere in your inventory"
inactive:
material: COAL
glow: false
name: "&#FF8A95AUTO-COMPRESSOR &8▪ &7Lv. {tier_roman} &8(&r{state}&8)"
lore:
- "&8ᴀᴜᴛᴏ-ᴄᴏᴍᴘʀᴇꜱꜱᴏʀ"
- ""
- "&7 Paused: nothing is compressed"
- "&7 until you turn it back on."
- ""
- "&7 &#FF5468● &fStatus: {state}"
- "&7 &#FF5468● &fRecipes: &7{recipes}"
- ""
- "&8 ⏵ &fRight-click&7: turn on/off"
lv2:
inherits: lv1 # also does everything lv1 does
recipes:
- { from: REDSTONE_BLOCK, amount: 64, to: BLAZE_ROD, result: 1 }
active:
material: EMERALD
glow: true
name: "&#FF5468&lAUTO-COMPRESSOR &8▪ &fLv. {tier_roman} &8(&r{state}&8)"
lore:
- "&8ᴀᴜᴛᴏ-ᴄᴏᴍᴘʀᴇꜱꜱᴏʀ"
- ""
- "&7 Everything Lv. I does, and more."
- "&7 Compresses your full stacks"
- "&7 automatically while it is on."
- ""
- "&7 &#FF5468● &fStatus: {state}"
- "&7 &#FF5468● &fRecipes: &7{recipes}"
- ""
- "&8 ⏵ &fRight-click&7: turn on/off"
- "&8 ⏵ &7Works anywhere in your inventory"
inactive:
material: COAL
glow: false
name: "&#FF8A95AUTO-COMPRESSOR &8▪ &7Lv. {tier_roman} &8(&r{state}&8)"
lore:
- "&8ᴀᴜᴛᴏ-ᴄᴏᴍᴘʀᴇꜱꜱᴏʀ"
- ""
- "&7 Paused: nothing is compressed"
- "&7 until you turn it back on."
- ""
- "&7 &#FF5468● &fStatus: {state}"
- "&7 &#FF5468● &fRecipes: &7{recipes}"
- ""
- "&8 ⏵ &fRight-click&7: turn on/off"
# Tell the console and admins (permission roodycompressor.update) when a new version is out
# on plugins.roody.es.
check-updates: true