RoodyPortals · Archivos
menus/pick.yml
# ------------------------------------------------------------
# RoodyPortals · menus/pick.yml — a list to choose from (servers, worlds, portals, sounds...)
# Where each button goes and with what item. Its texts (title, names, lores) are in
# lang/<language>.yml under menus.pick. After a change: /rp 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, current...).
# 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: GRAY_STAINED_GLASS_PANE
slots: bottom
click-sound: "ui.button.click 0.4 1.4"
lists:
# one item per option; the one in use is in the state "current"
option: "0-44"
buttons:
option:
material: auto
states:
current: {glow: true}
empty: {slot: 22, material: PAPER}
previous-page: {slot: 45, material: ARROW}
help: {slot: 47, material: BOOK}
back: {slot: 49, material: ARROW}
type-it: {slot: 51, material: NAME_TAG}
next-page: {slot: 53, material: ARROW}
items: {}