Guías · Archivos
menus/tops.yml
# ------------------------------------------------------------
# RoodyTops · menus/tops.yml — the list of tops (/tops)
# Where each button goes and with what item. Its texts (title, names, lores) are in
# lang/<language>.yml under menus.tops. After a change: /tops reload
#
# rows: 1-6 · click-sound: "id volume pitch" ("" = none)
# filler: item for the empty slots; filler.slots: all, bottom, top, border, none or a
# list like "45-53"
# buttons.<id>: slot (or slots: [3, 5] or "0-8"; -1 = hidden) and material ("auto" = the
# one the plugin picks). Optional: amount, glow, custom-model-data, item-model (1.21.4+),
# sound, and states.<state> with any of these for that state (on, off...).
# lists.<id>: the slots of a list; previous-page / next-page show when it has more pages.
# items: your own items (decoration, or buttons that run commands), for example:
# rules:
# slot: 8
# material: PAPER
# name: "&eRules"
# lore: ["&7Click to read them"]
# commands: ["[player] rules", "[close]"]
# Commands: [player] ..., [console] ... ({player} = who clicks), [message] ...,
# [sound] ..., [close]. Optional: permission (only shown to players who have it).
# ------------------------------------------------------------
rows: 6
filler:
material: BLACK_STAINED_GLASS_PANE
slots: border
click-sound: "ui.button.click 0.4 1.4"
lists:
# one item per top (its icon of tops.yml)
top: "10-16, 19-25, 28-34, 37-43"
buttons:
top:
material: auto
states:
"off": {material: GRAY_DYE}
empty: {slot: 22, material: BARRIER}
previous-page: {slot: 45, material: ARROW}
# auto = the viewer's head
me: {slot: 48, material: auto}
close: {slot: 49, material: BARRIER}
# admins only
create: {slot: 50, material: LIME_DYE}
displays: {slot: 51, material: NAME_TAG}
reload: {slot: 52, material: REPEATER}
next-page: {slot: 53, material: ARROW}
items: {}