# Language for all player-facing messages. # Corresponding file must exist in the plugin's lang/ folder. # Bundled options: ru, en language: ru
# How many seconds the player has to respond to the insurance restore prompt # after respawning. If the timer expires, items are dropped at the death location. insurance-timeout: 120
# Custom model data values for the three special books. # These must match the values set in your resource pack models. # The book item names and lore text are defined in lang/<language>.yml. books:
insurance-book:
custom-model-data: 1001
# Book used to insure an item on an anvil xp-cost: 0
# XP levels required to apply this book on an anvil sign-book:
custom-model-data: 1002
# Book used to sign (identify owner of) an item on an anvil xp-cost: 0
# XP levels required to apply this book on an anvil unsign-book:
custom-model-data: 1003
# Book used to remove your own signature from an item xp-cost: 1
# XP levels required to apply this book on an anvil
# MySQL / MariaDB database logging. # When disabled the plugin works fully without a database — items are stored in YAML files only. # When enabled, each death with insured items is logged along with the player's response (YES/NO/TIMEOUT). # The /restoreinsuranceitem <id> admin command requires the database to be enabled. database:
enabled: false
host: localhost
port: 3306
database: beehiveinsurance
username: root
password: "" pool-size: 5
# Maximum number of simultaneous database connections (HikariCP pool)
# Whether to restrict which materials can be insured via the insurance book. # true — only materials listed in allowed-items below can be insured. # false — any material can be insured (allowed-items list is ignored). filter-enabled: true
# List of materials that can be insured via the insurance book at an anvil. # Only used when filter-enabled is true. # Use exact Bukkit material names (see https://jd.papermc.io/paper/1.21/ -> Material). # Note: the /addinsurance admin command bypasses this filter intentionally. allowed-items: - TRIDENT
- ELYTRA
- DIAMOND_SWORD
- DIAMOND_AXE
- DIAMOND_PICKAXE
- DIAMOND_SHOVEL
- DIAMOND_HOE
lang/en.yml contains all player-facing text: book names, lore lines, action bar messages, and chat prompts — fully customizable in MiniMessage format.