RoodyPortals · Archivos
menus/portal.yml
# ------------------------------------------------------------
# RoodyPortals · menus/portal.yml — everything about one portal
# Where each button goes and with what item. Its texts (title, names, lores) are in
# lang/<language>.yml under menus.portal. 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: 5
filler:
material: GRAY_STAINED_GLASS_PANE
slots: all
click-sound: "ui.button.click 0.4 1.4"
buttons:
# auto = its fill (or an ender eye)
info: {slot: 4, material: auto}
name: {slot: 10, material: NAME_TAG}
# auto = an icon for the kind of destination
destination: {slot: 11, material: auto}
fill: {slot: 12, material: auto}
exit: {slot: 13, material: OAK_DOOR}
zone: {slot: 14, material: SCAFFOLDING}
# auto = the block that works it (a target block for the whole zone)
trigger: {slot: 15, material: auto}
active:
slot: 16
material: LIME_DYE
states:
"off": {material: GRAY_DYE}
messages: {slot: 19, material: OAK_SIGN}
effects: {slot: 20, material: NOTE_BLOCK}
commands: {slot: 21, material: COMMAND_BLOCK}
hologram: {slot: 22, material: ARMOR_STAND}
permission: {slot: 23, material: TRIPWIRE_HOOK}
cost: {slot: 24, material: GOLD_INGOT}
cooldown: {slot: 25, material: CLOCK}
knockback: {slot: 28, material: SLIME_BALL}
go: {slot: 30, material: ENDER_PEARL}
back: {slot: 31, material: ARROW}
test: {slot: 32, material: FIREWORK_ROCKET}
delete:
slot: 34
material: LAVA_BUCKET
states:
confirm: {material: TNT}
items: {}