Join items
Join items live under join-items.items in config.yml. The six that ship are selector (slot 5), profile (slot 3), hide-players (slot 7), games (slot 2, opens the lobby games menu), settings (slot 8) and cosmetics (slot 1, off by default). The slots are mirrored around the middle of the hotbar so it looks balanced; slots 1 and 9, 2 and 8, 3 and 7 are pairs.
join-items:
enabled: true
items:
selector:
enabled: true
slot: 5
action: selector
material: ""
| Key | Meaning |
|---|---|
enabled | Give this item |
slot | Hotbar position 1 to 9, left to right |
action | What a right click does (see Actions) |
material | Blank uses the theme's icon. Or any item name |
material-active | Optional look when a toggle item is active |
permission | Only players with it get the item |
name, lore | Optional MiniMessage overrides. Otherwise the text comes from lang.yml (items.(id)) |
glow | Enchantment glint |
model | An item model key (for example myns:thing) shown to players who have the pack that defines it |
You can add any number of items. An id other than the five uses the name and lore from the config.
They cannot be lost#
Every join item carries a hidden tag. It cannot be moved in an inventory, dragged, dropped, swapped to the other hand, placed as a block or taken out through hotbar keys. It is removed from death drops and given back after a respawn, and rebuilt when the theme or the player's toggle changes. Ops in creative mode with mchub.bypass may handle the items freely, because the creative inventory cannot be fully controlled. A slot that already holds one of the player's own items is never overwritten.
When lobby-worlds is set, items are given in those worlds and removed when the player leaves them. Join items are also removed from everyone's inventory when the plugin stops.