Skip to content

lost items.yml

Jan Kluka edited this page Nov 26, 2026 · 4 revisions
# Lost Items: a personal storage for items that could not reach a player's inventory.
#
# - Anything X-Prison gives that does not fit (bombs, boosters, a returned or respawned pickaxe, ...)
#   is kept here instead of being dropped on the ground or lost.
# - Items given to an offline player with '/bombs give' or '/boosters give' wait here until they
#   join. Addons can deliver their items here through the X-Prison API.
# - Items are kept until the player claims or deletes them.
#
# Players open /lostitems to claim them. Staff with xprison.lostitems.others can open anyone's
# storage, online or offline, with /lostitems <player>: claimed items go to the staff member's
# inventory.

# Commands that open the Lost Items menu.
commands:
  - lostitems
  - lostitem

notifications:
  # Tell players on join that items are waiting for them.
  on-join: true
  # Seconds after joining before the message is sent.
  on-join-delay-seconds: 3
  # Tell online players when something did not fit and was stored.
  on-store: true
  # At most one such message per player in this many seconds.
  on-store-cooldown-seconds: 10

# Names shown in the menu filter and in each item's lore. A source with no name here (for example
# one added by an addon) is shown by its id.
sources:
  all: All
  bombs: Bombs
  boosters: Boosters
  pickaxe: Pickaxe
  other: Other
  pets: Pets
  shop: Shop
  crystals: Crystals
  luckyblocks: Lucky Blocks
  attachments: Attachments
  blackmarket: Black Market
  armors: Armors
  robots: Robots
  dashboard: Dashboard
  warden: X-Warden

messages:
  stored: "<gradient:#FFD700:#FFA500><bold>LOST ITEMS</bold></gradient> <dark_gray>»</dark_gray> <white>Your inventory is full - <yellow>%amount%x %item%</yellow> was kept for you in <click:run_command:/lostitems><yellow><u>/lostitems</u></yellow></click>."
  join: "<gradient:#FFD700:#FFA500><bold>LOST ITEMS</bold></gradient> <dark_gray>»</dark_gray> <white>You have <yellow>%amount%</yellow> item(s) waiting for you - <click:run_command:/lostitems><yellow><u>/lostitems</u></yellow></click>"
  claimed: "<gradient:#FFD700:#FFA500><bold>LOST ITEMS</bold></gradient> <dark_gray>»</dark_gray> <green>You claimed <yellow>%amount%</yellow> item(s)."
  claimed-partly: "<gradient:#FFD700:#FFA500><bold>LOST ITEMS</bold></gradient> <dark_gray>»</dark_gray> <yellow>Your inventory is full - the rest is still waiting in /lostitems."
  inventory-full: "<gradient:#FFD700:#FFA500><bold>LOST ITEMS</bold></gradient> <dark_gray>»</dark_gray> <red>Your inventory is full. Make some room first."
  nothing-to-claim: "<gradient:#FFD700:#FFA500><bold>LOST ITEMS</bold></gradient> <dark_gray>»</dark_gray> <gray>There is nothing to claim."
  already-gone: "<gradient:#FFD700:#FFA500><bold>LOST ITEMS</bold></gradient> <dark_gray>»</dark_gray> <red>That item is no longer there."
  deleted: "<gradient:#FFD700:#FFA500><bold>LOST ITEMS</bold></gradient> <dark_gray>»</dark_gray> <gray>Deleted <white>%amount%</white> item(s)."
  player-not-found: "<gradient:#FFD700:#FFA500><bold>LOST ITEMS</bold></gradient> <dark_gray>»</dark_gray> <red>%player% has never played on this server."

gui:
  title: '<dark_gray>Lost Items'
  # Title when staff open another player's storage.
  title-other: '<dark_gray>Lost Items <gray>- %player%'
  rows: 6
  filler: GRAY_STAINED_GLASS_PANE
  # Slots that list the stored items.
  slots: [9, 10, 11, 12, 13, 14, 15, 16, 17,
          18, 19, 20, 21, 22, 23, 24, 25, 26,
          27, 28, 29, 30, 31, 32, 33, 34, 35,
          36, 37, 38, 39, 40, 41, 42, 43, 44]
  # Added under each stored item's own lore. %source% %date% %amount%
  item-lore:
    - ''
    - '<dark_gray>From: <gray>%source%'
    - '<dark_gray>Stored: <gray>%date%'
    - ''
    - '<yellow>Click to claim'
  claim-all:
    slot: 0
    material: CHEST
    name: '<yellow><bold>Claim Lost Items'
    lore:
      - ''
      - '<gray>Moves the items the filter shows into your'
      - '<gray>inventory until it is full.'
      - ''
      - '<yellow>» Claim all'
  info:
    slot: 4
    material: COMPASS
    name: '<yellow><bold>Lost Items'
    lore:
      - ''
      - '<gray>Items that could not reach your inventory'
      - '<gray>are stored here. They are listed below.'
      - ''
      - '<gray>Stored: <white>%count%'
  # %filters% is replaced by one line per source.
  filter:
    slot: 45
    material: HOPPER_MINECART
    name: '<yellow><bold>Filter'
    lore:
      - ''
      - '%filters%'
      - ''
      - '<yellow>Click to change'
  filter-line: '<gray>%name% <dark_gray>(%count%)'
  filter-line-selected: '<green>» %name% <dark_gray>(%count%)'
  sort:
    slot: 52
    material: GOLD_INGOT
    name: '<yellow><bold>Sort'
    lore:
      - ''
      - '<gray>Showing: <white>%sort%'
      - ''
      - '<yellow>Click to change'
  sort-names:
    newest: Newest first
    oldest: Oldest first
  delete:
    slot: 53
    material: LAVA_BUCKET
    name: '<red><bold>Delete Items'
    lore:
      - ''
      - '<gray>Deletes the items the filter shows.'
      - '<red>They cannot be recovered.'
      - ''
      - '<yellow>Click to delete'
  delete-confirm-title: 'Delete %amount% lost item(s)?'
  empty-item:
    slot: 22
    material: BARRIER
    name: '<gray>Nothing here'
    lore:
      - ''
      - '<gray>Items that do not fit in your'
      - '<gray>inventory will wait here for you.'
  previous-page:
    slot: 48
    material: ARROW
    name: '<yellow>Previous page'
    lore:
      - '<gray>Page %page% of %total_pages%'
  next-page:
    slot: 50
    material: ARROW
    name: '<yellow>Next page'
    lore:
      - '<gray>Page %page% of %total_pages%'

XPrison Logo

General

Modules

Default Configs

Enchant Configs — Passive

Enchant Configs — Currency Rewards

Enchant Configs — Key & Item Rewards

Enchant Configs — Area of Effect

Enchant Configs — Multipliers

Enchant Configs — Templates

Enchant Configs — Addons

Addons

Support

For Developers

Others

Clone this wiki locally