Beehive Insurance icon

Beehive Insurance -----

Save your items after death



Commands
Player commands:
  • /insurance claim — Re-show the restore prompt (after restart or reconnect)
Admin commands (require beehivebooks.admin or OP):
  • /insurance admin addinsurance — Insure the item in hand (bypasses the material filter)
  • /insurance admin removeinsurance — Remove insurance from the item in hand
  • /insurance admin addsign — Stamp any player name as owner on the item in hand
  • /insurance admin removesign — Remove the signature from the item in hand
  • /insurance admin giveinsurancebook — Give yourself an Insurance Book
  • /insurance admin givesignbook — Give yourself an Identification Book
  • /insurance admin giveunsignbook — Give yourself a Book of Oblivion
  • /insurance admin restore — Restore an item from the database by record ID
  • /insurance admin reload — Reload config and lang files without restarting
Permissions
  • beehivebooks.use — Access to /insurance confirm, deny, claim — granted to everyone by default
  • beehivebooks.admin — Access to all admin sub-commands — granted to OP by default
Configuration
Code (YAML):
# -------------------------------------------------------
# BeehiveInsurance Configuration
# -------------------------------------------------------

# 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.
Resource Information
Author:
----------
Total Downloads: 7
First Release: Mar 18, 2026
Last Update: Mar 18, 2026
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings