TMDevelopmentTinulica & Maiky

Menus

Menus

/sfx opens the hub for staff: preset gallery, reactions, items, zones, preferences, resource pack, stop all, about, reload. Players get their preferences.

Every menu is a file in menus/: hub.yml, gallery.yml, reactions.yml, items.yml, zones.yml, zone.yml, filters.yml, preferences.yml, sources.yml (the effect sources players turn off, opened from the preferences). After a change: /sfx reload.

Option
enabledfalse = the menu is off
titlemenu title (MiniMessage, & codes, hex)
rows1 - 6
elementsthe ScreenFX buttons: move them (slots) and change their look (material, name, lore, glow). slots: "" hides a button. The placeholders of each button are written above it
decorationsyour own items, with actions
open-commandscommands that open this menu: [effects] = /effects (after a restart)
open-permissionneeded for those commands ("" = everyone)

Slots: "4", "19-25", "0-8,45-53" (row 1 = 0-8, row 2 = 9-17...). Material: DIAMOND, head:{player}, head:Notch, texture:<value from minecraft-heads.com>. Permission on an item: only players with it see it ("" = everyone); admin-only: true = only admins.

Actions

Action
[close]close the menu
[open] <menu>open another menu (a file of menus/)
[back] · [refresh]the menu before · draw it again
[player] <command>the player runs a command
[console] <command>the console runs a command
[chat] <text>the player writes in chat
[message] <text> · [broadcast] <text>a message to the player · to everyone
[actionbar] <text>
[title] title;subtitle;in;stay;out
[sound] <sound> [volume] [pitch]
[delay] <ticks>wait before the next actions
[server] <name>send the player to another server of the network

In front of an action: [left], [right], [shift-left], [shift-right] = only that click. {player} and PlaceholderAPI placeholders work in names, lore and actions.

decorations:
  rules:
    slots: "4"
    material: BOOK
    name: "<theme>Server rules"
    lore: ["&7Click to read them"]
    actions:
      - "[close]"
      - "[player] rules"
      - "[sound] ui.button.click"

Your own menus

A new file in menus/ (for example menus/info.yml) with title, rows and decorations, opened with [open] info from another menu, with /sfx menu info, or with its own open-commands.

Forms in the menus (zone names, values) use the dialog boxes of the game; clients without them answer in chat.

Ultimo aggiornamento:

Accedi

Nuovo? Scrivi solo la tua email: l'account nasce quando clicchi il link. Nessuna password.

oppure

Ti mandiamo un link che ti fa entrare con un clic. Vale per account nuovi ed esistenti.

Entra con la password

Continuando accetti i Termini e condizioni e la Privacy policy.

Staff: apri “Entra con la password” e scrivi il tuo nome utente al posto dell’email. Dopo la password ti chiediamo il codice 2FA.