Skip to the content

ZeroScreens

Menus that open in the world in front of the player, clicked with the crosshair. No resource pack.

Where
Coming soon
Runs on
Paper 1.21.11 or 26.x, Java 21
Version
v1.3.0

Read the docs

ZeroScreens coverComing soon

In game

See it on a real server

Taken on a real server. Click one to see it full size.

ZeroScreens: hub menu play page
ZeroScreens: in game editor dragging a widget
ZeroScreens: settings page with toggles and sliders
ZeroScreens: shop page with prices and a scrolling list
ZeroScreens: the same menu as a chest menu
ZeroScreens: anchored board screen in the world

01 / 06

Overview

Menus that open in the world, in front of the player, instead of a chest.

A ZeroScreens menu is a screen of buttons, text, pictures and lists that appears a few blocks in front of the player. They aim with the crosshair and click. The cursor sits exactly where they look, buttons light up and rise under it, and pages slide in and out. It is built from vanilla display entities that only the viewer can see, so players need no resource pack and no mod.

Every menu is a YAML file, and the same file can also open as a classic chest menu. Bedrock players always get the chest version.

In short

  • A menu on a real screen in the world, with a cursor under the crosshair, and no resource pack
  • An in-game editor: move, resize and restyle widgets on the live screen, saved to the file at once
  • The same menu file also opens as a chest menu, and Bedrock players always get that one
  • Toggles and sliders saved per player, readable by other plugins through placeholders
  • Nothing runs while no screen is open
Latest version
1.0.1
Runs on
Paper or Purpur 1.21.11 or 26.x, Java 21
BuiltByBit
Coming soon
What changed in 1.0.1

Fixes

Default menus

Your existing menu files are not changed. To get the new defaults, rename or delete

plugins/ZeroScreens/menus/ and restart the server; the bundled menus are written again.

New messages and the chest-title-theme colours work without touching config.yml.

  • Text that is too long for its widget no longer runs past the edge. Buttons, toggles, sliders, list rows, tabs, panels, text widgets, the title and the hint line now draw a long line a little smaller, and cut it short with "..." when even that is not enough. Placeholders that change while the menu is open are fitted again.
  • Buttons in a box about as tall as it is wide (like the shop grid) now put the icon above the text, so the names have room. Set layout: row or layout: stack on a button to choose yourself.
  • Chest menu titles are now dark, so they read on the grey chest panel. The colours are in the new chest-title-theme block of config.yml.
  • "1 players" is now "1 player". The new %online_players% placeholder says "1 player" or "5 players"; the words are the online-players-one and online-players messages.
  • The editor toolbar fits inside the screen. On a narrow canvas it wraps into two rows.
  • cursor.sensitivity above 4 now works. The range is 0.2 to 10.
  • hub.yml: shorter shop names and subtitles that fit their buttons.
  • board.yml: "Open the hub" gets a wider button, and the welcome line uses %online_players%.

Features

  1. 01What you get

    • In-world screens: a menu opens in front of the player and follows their view, or stands at a fixed spot in the world, for example on the wall at spawn.
    • A real cursor: it sits under the crosshair. Hover effects, click sounds and a click flash. The mouse wheel scrolls lists and moves sliders.
    • Widgets: buttons with icons and subtitles, text, item icons, player heads, progress bars, toggles, sliders, scrolling lists (also a live list of online players), pictures from PNG files, panels, tabs, and the player's own model.
    • Actions: player and console commands, messages, titles, sounds, page changes, other menus, links, items, teleports, saved switches and delays. Conditions on permissions, placeholders, money and worlds. Cooldowns per button. A cost per click through Vault.
    • An in-game editor: /zs editor hub opens the menu with a toolbar: pick up a widget with the cursor and put it down somewhere else, resize it, restyle it in a native dialog, add, delete, undo. Every change is saved to the file right away, comments included.
    • Chest menu fallback: per menu, always a screen, always a chest menu, or the player's choice. The chest version is built from the same file and runs the same actions.
    • Many ways to open: /menu with your own aliases, a command per menu, a hotbar item (it can replace the whole lobby hotbar, with the player's items kept safe), the F key, joining, or right-clicking a block or NPC you bind.
    • Live placeholders: PlaceholderAPI in every text, plus built-ins like %online% and %ping%. Other plugins can read the switches from your settings page.
    • Themes: dark, light and aurora included, each in its own file of colours.
    • /zs doctor: shows every open screen, its entity count, the tick cost and setup warnings.
  2. 02Included example menus

    A hub with five pages behind tabs: game modes, a shop with costs and cooldowns, settings with toggles and sliders, a website page with a picture and link buttons, and a server info page with live placeholders and the online players. Plus an anchored welcome board for your spawn.

  3. 03Good to know

    • ESC does not close a screen, because the server never hears about the pause screen. Sneaking, the close button, walking away from an anchored screen and a timeout all do.
    • Pictures are drawn as coloured rectangles at up to 64 pixels on their longest side. Logos and icons look good; photos do not.
    • Only the player who opened a screen sees it, and no task runs while no screen is open.
  4. 04Your other plugins in the menu

    • A Plugins tab in the hub and a Plugins menu (/menu plugins) with one row for every installed plugin that has a page. A click opens its page on the same screen, Back returns.
    • 28 Frostyh plugins: PracticeCore, TierTags, Battle Pass, Crates, Holograms, SMPForge and more, each with buttons for its own menus and commands. Staff pages only show to staff
    • Live data: one Queue button per PracticeCore kit, one button per TierTags ladder, Battle Pass level and season
    • Nothing depends on anything: pages appear and vanish as plugins enable and disable, and every plugin still works without ZeroScreens
    • For developers: ZeroScreensAPI.registerPage adds a page of your own, drawn with the theme and as a chest menu for Bedrock players

Installation

Requirements

Server
Paper, or a Paper fork such as Purpur. Spigot and CraftBukkit won't work, because it uses Paper-only APIs.
Minecraft
1.21.11 or 26.x; plugin.yml api-version 1.21; built against Paper API 1.21.11
Java
21 or newer
Needs
No other plugin
Works with
PlaceholderAPI, Vault, floodgate, when installed
Libraries
org.xerial:sqlite-jdbc:3.53.2.1, downloaded by the server on first start

The listing also says:

  • Java 21 or newer (26.x servers run on Java 25, as Paper requires)
  • Optional: PlaceholderAPI, Vault with an economy plugin, Floodgate (for Bedrock players)
  • No resource pack, no client mod, no database server

Steps

  1. Download ZeroScreens.jar from BuiltByBit. There's no licence key to enter.
  2. Stop the server and put the jar in the plugins folder.
  3. Start the server. The plugin writes plugins/ZeroScreens/config.yml with the defaults listed under Configuration.
  4. Change config.yml to fit your server.
  5. Run /zs reload (read config, menus, themes and pictures again) to apply your changes, or restart the server.

Setup guide

  1. Drop ZeroScreens.jar into /plugins and restart. The example hub and the welcome board are created for you.
  2. Run /menu to open the hub, then /zs editor hub to move and restyle its widgets.
  3. For the welcome board, stand where players should stand and run /zs anchor board.
  4. Change the button actions in menus/hub.yml to your own commands and run /zs reload.

Server presets

A preset is a ready-made menu for one kind of server: tabs, big tiles, the player's own skin, and three colour themes. There are 15 presets, and any of them can use any of five layouts. Run /zs preset in game to open the picker. Each preset has a card with a live miniature, its colours, its layouts, Try it (a full preview that saves nothing) and Apply. From the console: /zs preset apply skyblock sky radial. Or set preset: smp, preset-theme: ocean and layout: sidebar in config.yml.

PresetColoursTabs
duelscrimson, cobalt, jadePlay (Ranked, Unranked, Kits, Party, Duel, Spectate), Practice, Ranks, Social, Profile, Settings
ffaice, blaze, venomA kill and streak strip; Arenas, Kits, Shop, Stats, Top, Settings
practicemint, sky, sunsetTrain, Bots (four levels), Drills, Lessons, Kits, Settings
smpgrass, ocean, autumnHome (Spawn, Homes, Warps, Wild), Travel, Shop, Jobs, Claims, Settings
lifestealblood, gold, steelA hearts strip; Play (Withdraw, Revive), Hearts, Shop, Top, Social, Settings
hubaqua, sun, coralGames (a game selector), Cosmetics, Profile, Friends, Links, Settings
kitpvpiron, ember, limeA kill, streak and balance strip; Play, Kits, Perks, Shop, Stats, Settings
bedwarsred, blue, greenPlay (Solo, Doubles, Trios, Squads, Rejoin), Stats, Cosmetics, Party, Top, Settings
skyblocksky, meadow, sunriseAn island level and worth strip; Island (Go home, Members, Set home), Upgrades, Tasks (challenges), Warps (click a player to visit), Top islands, Settings
prisonstone, gold, emeraldA rank, prestige and tokens strip; Mines (Rank up, Sell all, My mine), Ranks (Prestige, Max rank), Enchants, Shop, Top, Settings
factionsbanner, royal, forestA faction, power and land strip; Land (Claim here, Unclaim, Map, Home), Members, Allies (Wars off until you turn them on), Map, Top, Settings
uhcgold, nether, frostSurvival games and UHC: Play (Join game, Solo, Teams, Spectate), Kits (Scenarios, Your team), Stats, Watch, Party, Settings
minigamesneon, lime, orangeGames (each with how many play it now), Party, Cosmetics, Rewards, Profile, Settings
boxpvptoxic, cobalt, magmaA kill, streak and balance strip; Box (Mines, PvP area), Gens (My gens, Upgrade, Buy gens), Shop, Kits, Top, Settings
plotsclay, mint, skyPlots (New plot, My plot, Claim here), Visit (click a player to visit), Manage (Flags, Merge, Clear), Build, Trust, Settings

Layouts

New in 1.3.0. The tiles and colours stay the same; only where things sit changes. Every layout keeps all tiles inside the screen, fits every full name, and grows with the player's FOV setting. The tab highlight glides from the old tab to the new one, and fades instead with reduced motion.

LayoutWhat it looks like
classicTabs across the top, your skin on the left, big tiles on the right.
sidebarA rail on the left with your skin on top and the tabs under it. The tiles get the rest of the screen.
compactA smaller screen at the same text size, with list tiles in two columns. Good for small windows and high GUI scales.
showcaseOne big card with your skin and the main action of the page, the other tiles smaller next to it.
radialYour skin in the middle and the tiles on both sides of it, in a slight arc.

Apply and undo

  • Applying writes menus/<preset>.yml and its theme files, and makes the new menu the /menu menu.
  • Before it changes anything, it copies config.yml and every file it replaces to preset-backups/.
  • It never replaces or deletes a menu you made.
  • /zs preset undo puts every file back exactly as it was, one preset at a time.

Tiles find your commands

A tile asks for something like the shop, and ZeroScreens looks for it in three places:

  • your own bindings.shop in config.yml;
  • a known plugin that is installed, such as EssentialsX, CMI, HuskHomes, GriefPrevention, Lands, Jobs, EconomyShopGUI, BedWars1058, BentoBox, SuperiorSkyblock2, JetsPrisonMines, MineResetLite, Factions, Towny or PlotSquared;
  • any plugin with a /shop command.

If nothing is found, the tile says Not set up. Set it with /zs preset bind shop /shop. A game on another server of your network works too: bindings.game-bedwars: ['[server] bedwars']. /zs preset bindings shows what every tile runs. A tile can also be turned off: the Wars tile of the factions preset says Turned off until you set bindings.f-wars: on.

Commands

Straight from plugin.yml. Where the permission column says "not set", plugin.yml puts no permission on the command itself; the nodes the plugin checks are under Permissions.

CommandAliasesUsageWhat it doesPermission
/zeroscreens/zs/zs <reload|open|close|list|doctor|anchor|bind|unbind|editor|motion|mode|version>ZeroScreens: reload, open, list, doctor, anchor, bind, editor, and your own motion and screen settings.not set

Every subcommand

/menu [menu]                    Open a menu (the hub by default). Each menu can add its own command.
/zs motion                      Reduced motion for yourself.
/zs mode screen|chest           Pick the screen or the chest menu.
/zs reload                      (admin) Read config, menus, themes and pictures again.
/zs open <menu> [player]        (admin) Open a menu.
/zs close [player]              (admin) Close a screen.
/zs list                        (admin) The loaded menus.
/zs doctor                      (admin) Open screens, entity count, tick cost and setup warnings.
/zs anchor <menu>               (admin) Stand an anchored screen where you stand.
/zs bind <menu>, /zs unbind     (admin) Open a menu from a block or NPC you right-click.
/zs editor <menu> [page]        (admin) Edit the menu on the live screen.
/zs preset                      (admin) The preset picker: colours, layouts, Try it, Apply.
/zs preset apply <preset> [colours] [layout]   (admin) Apply a preset.
/zs preset undo                 (admin) Take back the last preset; every file comes back.
/zs preset bind <id> <command|clear|on|off>  (admin) Set what a tile runs.

Alias: /zeroscreens

Permissions

From plugin.yml.

NodeDefaultWhat it allowsIncludes
zeroscreens.useeveryoneOpen menus with /menu and the menu commands (each menu also checks its own permission).none
zeroscreens.adminoperators/zs reload, open, close, list, doctor, anchor, bind, unbind, editor and the test helpers.none

The listing also describes these groups and patterns:

  • zeroscreens.menu.<name>: each menu's own permission, registered with the default you choose

Placeholders

Registered with PlaceholderAPI as zeroscreens. You need PlaceholderAPI installed for these to work.

PlaceholderShows
%zeroscreens_...%for other plugins: a player's toggles and sliders (so a chat plugin can read
%zeroscreens_reduced_motion%no description
%zeroscreens_mode%no description
%zeroscreens_open%no description
%zeroscreens_menu%no description
%zeroscreens_page%no description

If PlaceholderAPI is installed, it fills in other plugins' placeholders inside its own messages.

Configuration

The default files exactly as they ship in the jar, comments included. The plugin writes them to plugins/ZeroScreens/ the first time it starts.

config.yml

KeyDefaultThe comment above it
debugfalseLogs cursor targets, clicks and page changes to the console. Only for testing.
soundstrueEvery sound the plugin plays (open, hover, click, page, toggle). Menu [sound] actions too.
review-remindertrueOne thank-you line with the BuiltByBit review link, once. false turns it off.
theme"dark"The theme a menu uses when its file does not name one (a file in themes/, without .yml).
commandsection, 3 keys██████╗ ██████╗ ███╗ ███╗███╗ ███╗ █████╗ ███╗ ██╗██████╗ ██╔════╝██╔═══██╗████╗ ████║████╗ ████║██╔══██╗████╗ ██║██╔══██╗ ██║ ██║ ██║██╔████╔██║██╔████╔██║███████║██╔██╗ ██║██║ ██║ ██║ ██║ ██║██║╚██╔╝██║██║╚██╔╝██║██╔══██║██║╚██╗██║██║ ██║...
player-choice-default"screen"██████╗ ██╗ █████╗ ██╗ ██╗███████╗██████╗ ██████╗██╗ ██╗ ██████╗ ██╗ ██████╗███████╗ ██╔══██╗██║ ██╔══██╗╚██╗ ██╔╝██╔════╝██╔══██╗ ██╔════╝██║ ██║██╔═══██╗██║██╔════╝██╔════╝ ██████╔╝██║ ███████║ ╚████╔╝ █████╗ ██████╔╝█████╗██║ ███████║██║ ██║██║██║...
fallback-to-chesttrueWhen a screen cannot open right now (no anchor, too far away), show the chest menu instead.
close-with-sneaktrueSneaking closes the screen. ESC cannot: the server never hears about the pause screen.
close-on-damagetrueTaking damage closes the screen (the player is let go first, so they can react).
screensection, 10 keys███████╗ ██████╗██████╗ ███████╗███████╗███╗ ██╗ ██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗ ██║ ███████╗██║ ██████╔╝█████╗ █████╗ ██╔██╗ ██║ ╚════██║██║ ██╔══██╗██╔══╝ ██╔══╝ ██║╚██╗██║ ███████║╚██████╗██║ ██║███████╗███████╗██║ ╚████║ ╚══════╝...
framesection, 4 keys███████╗██████╗ █████╗ ███╗ ███╗███████╗ ██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ █████╗ ██████╔╝███████║██╔████╔██║█████╗ ██╔══╝ ██╔══██╗██╔══██║██║╚██╔╝██║██╔══╝ ██║ ██║ ██║██║ ██║██║ ╚═╝ ██║███████╗ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
cursorsection, 9 keys██████╗██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗ ██╔════╝██║ ██║██╔══██╗██╔════╝██╔═══██╗██╔══██╗ ██║ ██║ ██║██████╔╝███████╗██║ ██║██████╔╝ ██║ ██║ ██║██╔══██╗╚════██║██║ ██║██╔══██╗ ╚██████╗╚██████╔╝██║ ██║███████║╚██████╔╝██║ ██║ ╚═════╝ ╚═════╝ ╚═╝...
animationssection, 9 keys█████╗ ███╗ ██╗██╗███╗ ███╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗███████╗ ██╔══██╗████╗ ██║██║████╗ ████║██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║██╔════╝ ███████║██╔██╗ ██║██║██╔████╔██║███████║ ██║ ██║██║ ██║██╔██╗ ██║███████╗...
chestsection, 2 keys██████╗██╗ ██╗███████╗███████╗████████╗ ██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ██║ ███████║█████╗ ███████╗ ██║ ██║ ██╔══██║██╔══╝ ╚════██║ ██║ ╚██████╗██║ ██║███████╗███████║ ██║ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝
triggerssection, 2 keys████████╗██████╗ ██╗ ██████╗ ██████╗ ███████╗██████╗ ███████╗ ╚══██╔══╝██╔══██╗██║██╔════╝ ██╔════╝ ██╔════╝██╔══██╗██╔════╝
hotbar-itemsection, 12 keys██╗ ██╗ ██████╗ ████████╗██████╗ █████╗ ██████╗ ██╗████████╗███████╗███╗ ███╗ ██║ ██║██╔═══██╗╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗ ██║╚══██╔══╝██╔════╝████╗ ████║ ███████║██║ ██║ ██║ ██████╔╝███████║██████╔╝█████╗██║ ██║ █████╗ ██╔████╔██║ ██╔══██║██║ ██║ ██║...
linkssection, 2 keys██╗ ██╗███╗ ██╗██╗ ██╗███████╗ ██║ ██║████╗ ██║██║ ██╔╝██╔════╝ ██║ ██║██╔██╗ ██║█████╔╝ ███████╗ ██║ ██║██║╚██╗██║██╔═██╗ ╚════██║ ███████╗██║██║ ╚████║██║ ██╗███████║ ╚══════╝╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝╚══════╝
imagessection, 1 key██╗███╗ ███╗ █████╗ ██████╗ ███████╗███████╗ ██║████╗ ████║██╔══██╗██╔════╝ ██╔════╝██╔════╝ ██║██╔████╔██║███████║██║ ███╗█████╗ ███████╗ ██║██║╚██╔╝██║██╔══██║██║ ██║██╔══╝ ╚════██║ ██║██║ ╚═╝ ██║██║ ██║╚██████╔╝███████╗███████║ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝...
doctorsection, 1 key██████╗ ██████╗ ██████╗████████╗ ██████╗ ██████╗ ██╔══██╗██╔═══██╗██╔════╝╚══██╔══╝██╔═══██╗██╔══██╗ ██║ ██║██║ ██║██║ ██║ ██║ ██║██████╔╝ ██║ ██║██║ ██║██║ ██║ ██║ ██║██╔══██╗ ██████╔╝╚██████╔╝╚██████╗ ██║ ╚██████╔╝██║ ██║ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝...
chat-themesection, 9 keys██████╗██╗ ██╗ █████╗ ████████╗ ████████╗██╗ ██╗███████╗███╗ ███╗███████╗ ██╔════╝██║ ██║██╔══██╗╚══██╔══╝ ╚══██╔══╝██║ ██║██╔════╝████╗ ████║██╔════╝ ██║ ███████║███████║ ██║ █████╗ ██║ ███████║█████╗ ██╔████╔██║█████╗ ██║ ██╔══██║██╔══██║ ██║ ╚════╝ ██║...
chest-title-themesection, 9 keysThe same names in chest menu titles. A title sits on the light grey chest panel, so these are dark: a light colour there is hard to read.
messagessection, 78 keys███╗ ███╗███████╗███████╗███████╗ █████╗ ██████╗ ███████╗███████╗ ████╗ ████║██╔════╝██╔════╝██╔════╝██╔══██╗██╔════╝ ██╔════╝██╔════╝ ██╔████╔██║█████╗ ███████╗███████╗███████║██║ ███╗█████╗ ███████╗ ██║╚██╔╝██║██╔══╝ ╚════██║╚════██║██╔══██║██║ ██║██╔══╝...
plugins/ZeroScreens/config.yml376 lines
# ███████╗███████╗██████╗  ██████╗ ███████╗ ██████╗██████╗ ███████╗███████╗███╗   ██╗███████╗
# ╚══███╔╝██╔════╝██╔══██╗██╔═══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗  ██║██╔════╝
#   ███╔╝ █████╗  ██████╔╝██║   ██║███████╗██║     ██████╔╝█████╗  █████╗  ██╔██╗ ██║███████╗
#  ███╔╝  ██╔══╝  ██╔══██╗██║   ██║╚════██║██║     ██╔══██╗██╔══╝  ██╔══╝  ██║╚██╗██║╚════██║
# ███████╗███████╗██║  ██║╚██████╔╝███████║╚██████╗██║  ██║███████╗███████╗██║ ╚████║███████║
# ╚══════╝╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚══════╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝╚═╝  ╚═══╝╚══════╝
# ZeroScreens: menus drawn in the world in front of the player, with a cursor under the crosshair.
#
# Menus live in plugins/ZeroScreens/menus/*.yml (one file per menu) and looks in themes/*.yml.
# Everything in the screen, cursor, frame and animations sections below is the DEFAULT for every
# menu: a menu file can set any of the same keys to override it for that menu only.
#
# /zs reload reads this file, every menu, every theme and every picture again.

# Logs cursor targets, clicks and page changes to the console. Only for testing.
debug: false
# Every sound the plugin plays (open, hover, click, page, toggle). Menu [sound] actions too.
sounds: true
# One thank-you line with the BuiltByBit review link, once. false turns it off.
review-reminder: true
# The theme a menu uses when its file does not name one (a file in themes/, without .yml).
theme: dark

#  ██████╗ ██████╗ ███╗   ███╗███╗   ███╗ █████╗ ███╗   ██╗██████╗
# ██╔════╝██╔═══██╗████╗ ████║████╗ ████║██╔══██╗████╗  ██║██╔══██╗
# ██║     ██║   ██║██╔████╔██║██╔████╔██║███████║██╔██╗ ██║██║  ██║
# ██║     ██║   ██║██║╚██╔╝██║██║╚██╔╝██║██╔══██║██║╚██╗██║██║  ██║
# ╚██████╗╚██████╔╝██║ ╚═╝ ██║██║ ╚═╝ ██║██║  ██║██║ ╚████║██████╔╝
#  ╚═════╝ ╚═════╝ ╚═╝     ╚═╝╚═╝     ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═════╝
# The command that opens menus. /menu opens default-menu, /menu <name> opens that one.
# Every menu can add its own commands too (commands: [shop] in the menu file).
command:
  name: menu
  aliases: [menus]
  default-menu: hub

# ██████╗ ██╗      █████╗ ██╗   ██╗███████╗██████╗        ██████╗██╗  ██╗ ██████╗ ██╗ ██████╗███████╗
# ██╔══██╗██║     ██╔══██╗╚██╗ ██╔╝██╔════╝██╔══██╗      ██╔════╝██║  ██║██╔═══██╗██║██╔════╝██╔════╝
# ██████╔╝██║     ███████║ ╚████╔╝ █████╗  ██████╔╝█████╗██║     ███████║██║   ██║██║██║     █████╗  █████╗
# ██╔═══╝ ██║     ██╔══██║  ╚██╔╝  ██╔══╝  ██╔══██╗╚════╝██║     ██╔══██║██║   ██║██║██║     ██╔══╝  ╚════╝
# ██║     ███████╗██║  ██║   ██║   ███████╗██║  ██║      ╚██████╗██║  ██║╚██████╔╝██║╚██████╗███████╗
# ╚═╝     ╚══════╝╚═╝  ╚═╝   ╚═╝   ╚══════╝╚═╝  ╚═╝       ╚═════╝╚═╝  ╚═╝ ╚═════╝ ╚═╝ ╚═════╝╚══════╝
# ██████╗ ███████╗███████╗ █████╗ ██╗   ██╗██╗     ████████╗
# ██╔══██╗██╔════╝██╔════╝██╔══██╗██║   ██║██║     ╚══██╔══╝
# ██║  ██║█████╗  █████╗  ███████║██║   ██║██║        ██║
# ██║  ██║██╔══╝  ██╔══╝  ██╔══██║██║   ██║██║        ██║
# ██████╔╝███████╗██║     ██║  ██║╚██████╔╝███████╗   ██║
# ╚═════╝ ╚══════╝╚═╝     ╚═╝  ╚═╝ ╚═════╝ ╚══════╝   ╚═╝
# For menus with display: choice, what a player gets until they pick (screen or chest).
player-choice-default: screen
# When a screen cannot open right now (no anchor, too far away), show the chest menu instead.
fallback-to-chest: true
# Sneaking closes the screen. ESC cannot: the server never hears about the pause screen.
close-with-sneak: true
# Taking damage closes the screen (the player is let go first, so they can react).
close-on-damage: true

# ███████╗ ██████╗██████╗ ███████╗███████╗███╗   ██╗
# ██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗  ██║
# ███████╗██║     ██████╔╝█████╗  █████╗  ██╔██╗ ██║
# ╚════██║██║     ██╔══██╗██╔══╝  ██╔══╝  ██║╚██╗██║
# ███████║╚██████╗██║  ██║███████╗███████╗██║ ╚████║
# ╚══════╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝╚═╝  ╚═══╝
screen:
  # follow: the screen opens in front of the player, where they look. anchored: it stands at a
  # fixed spot in the world, set with /zs anchor <menu> (or screen.anchor in the menu file).
  placement: follow
  # How far in front of the eyes, in blocks. A wall closer than this pulls a following screen in
  # and shrinks it by the same amount, so it covers the same part of the view (wall-check).
  distance: 2.6
  min-distance: 1.1
  wall-check: true
  # Up (or down, negative) from eye height, in blocks.
  height: 0.0
  # Degrees the top leans away from the player (negative leans it toward them). -60 to 60.
  tilt: 0
  # The width of the screen in blocks. The height follows from the menu's canvas size.
  width: 4.2
  # Hold the player in place while the screen is open, so only their head turns (the default for
  # follow). For anchored screens false lets them walk; they leave by walking past max-distance.
  # lock-player: true
  max-distance: 8
  # Closes after this many seconds without the cursor moving or a click, and after
  # max-open-seconds whatever happens, so nobody is ever stuck. 0 turns either off.
  idle-timeout-seconds: 60
  max-open-seconds: 300

# ███████╗██████╗  █████╗ ███╗   ███╗███████╗
# ██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝
# █████╗  ██████╔╝███████║██╔████╔██║█████╗
# ██╔══╝  ██╔══██╗██╔══██║██║╚██╔╝██║██╔══╝
# ██║     ██║  ██║██║  ██║██║ ╚═╝ ██║███████╗
# ╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚══════╝
frame:
  # The title bar along the top (with the close button) and the hint line along the bottom.
  header: true
  close-button: true
  footer: true
  hint: 'Aim with your crosshair and click. Sneak to close.'

#  ██████╗██╗   ██╗██████╗ ███████╗ ██████╗ ██████╗
# ██╔════╝██║   ██║██╔══██╗██╔════╝██╔═══██╗██╔══██╗
# ██║     ██║   ██║██████╔╝███████╗██║   ██║██████╔╝
# ██║     ██║   ██║██╔══██╗╚════██║██║   ██║██╔══██╗
# ╚██████╗╚██████╔╝██║  ██║███████║╚██████╔╝██║  ██║
#  ╚═════╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝
cursor:
  # arrow, dot, crosshair, ring, or glyph (any text, also a resource-pack glyph, see glyph).
  shape: arrow
  glyph: '+'
  # 1 is the normal size; 2 is twice as big.
  size: 1.0
  # accent (the theme's accent), text, or a colour like '#FFD166'.
  color: accent
  # 1 keeps the cursor exactly under the crosshair. Above 1 it moves further than the head turns,
  # below 1 less. 0.2 to 10; a value outside that range is read as the nearest end.
  sensitivity: 1.0
  # 0 follows the head exactly; 0.25 eases the last bit; 0.8 floats behind.
  smoothing: 0.25
  click-sound: 'minecraft:ui.button.click'
  hover-sound: 'minecraft:block.note_block.hat'
  # The pointer flashes white and the button flashes the accent colour on a click.
  click-flash: true

#  █████╗ ███╗   ██╗██╗███╗   ███╗ █████╗ ████████╗██╗ ██████╗ ███╗   ██╗███████╗
# ██╔══██╗████╗  ██║██║████╗ ████║██╔══██╗╚══██╔══╝██║██╔═══██╗████╗  ██║██╔════╝
# ███████║██╔██╗ ██║██║██╔████╔██║███████║   ██║   ██║██║   ██║██╔██╗ ██║███████╗
# ██╔══██║██║╚██╗██║██║██║╚██╔╝██║██╔══██║   ██║   ██║██║   ██║██║╚██╗██║╚════██║
# ██║  ██║██║ ╚████║██║██║ ╚═╝ ██║██║  ██║   ██║   ██║╚██████╔╝██║ ╚████║███████║
# ╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝╚═╝     ╚═╝╚═╝  ╚═╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚══════╝
animations:
  # false turns every animation off for everyone.
  enabled: true
  # true makes every screen use reduced motion: short fades instead of movement. Players can
  # choose it for themselves with /zs motion, or a [motion] toggle button.
  reduced-motion: false
  # open and close: none, fade, scale, slide. page: none, fade, scale, slide.
  open: scale
  close: fade
  page: slide
  # Parts glide in one after another from the top left, rather than all at once.
  cascade: true
  # 1 is normal, 2 is twice as fast, 0.5 half as fast.
  speed: 1.0
  # How far a hovered widget rises, in canvas units.
  hover-lift: 0.45
  # Slow drifting dots behind the panels.
  ambient: true

#  ██████╗██╗  ██╗███████╗███████╗████████╗
# ██╔════╝██║  ██║██╔════╝██╔════╝╚══██╔══╝
# ██║     ███████║█████╗  ███████╗   ██║
# ██║     ██╔══██║██╔══╝  ╚════██║   ██║
# ╚██████╗██║  ██║███████╗███████║   ██║
#  ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝   ╚═╝
chest:
  # The chest menu: rows (1 to 6) and the item in the empty slots ('AIR' for none).
  rows: 5
  filler: BLACK_STAINED_GLASS_PANE

# ████████╗██████╗ ██╗ ██████╗  ██████╗ ███████╗██████╗ ███████╗
# ╚══██╔══╝██╔══██╗██║██╔════╝ ██╔════╝ ██╔════╝██╔══██╗██╔════╝
#    ██║   ██████╔╝██║██║  ███╗██║  ███╗█████╗  ██████╔╝███████╗
#    ██║   ██╔══██╗██║██║   ██║██║   ██║██╔══╝  ██╔══██╗╚════██║
#    ██║   ██║  ██║██║╚██████╔╝╚██████╔╝███████╗██║  ██║███████║
#    ╚═╝   ╚═╝  ╚═╝╚═╝ ╚═════╝  ╚═════╝ ╚══════╝╚═╝  ╚═╝╚══════╝
triggers:
  # Opens a menu when a player joins.
  join:
    enabled: false
    menu: hub
    delay-ticks: 40
    first-join-only: false
  # Opens a menu with the swap-hands key (F).
  swap-hands:
    enabled: false
    menu: hub
    require-sneak: false
    # Empty means every world.
    worlds: []

# ██╗  ██╗ ██████╗ ████████╗██████╗  █████╗ ██████╗       ██╗████████╗███████╗███╗   ███╗
# ██║  ██║██╔═══██╗╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗      ██║╚══██╔══╝██╔════╝████╗ ████║
# ███████║██║   ██║   ██║   ██████╔╝███████║██████╔╝█████╗██║   ██║   █████╗  ██╔████╔██║
# ██╔══██║██║   ██║   ██║   ██╔══██╗██╔══██║██╔══██╗╚════╝██║   ██║   ██╔══╝  ██║╚██╔╝██║
# ██║  ██║╚██████╔╝   ██║   ██████╔╝██║  ██║██║  ██║      ██║   ██║   ███████╗██║ ╚═╝ ██║
# ╚═╝  ╚═╝ ╚═════╝    ╚═╝   ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝      ╚═╝   ╚═╝   ╚══════╝╚═╝     ╚═╝
hotbar-item:
  # An item in the hotbar that opens a menu on right-click.
  enabled: false
  menu: hub
  slot: 4
  material: COMPASS
  # true shows the player's own head instead of the material.
  player-head: false
  custom-model-data: 0
  name: '<accent>Menu</accent> <muted>(right-click)</muted>'
  lore:
    - '<text>Opens the server menu.</text>'
  # Empty means every world. Leaving these worlds takes the item away again.
  worlds: []
  # Only players with this permission get it. Empty means everyone.
  permission: ''
  # The item cannot be moved, dropped or swapped.
  locked: true
  # The whole hotbar becomes the menu item in the worlds above (a lobby hotbar). The other items
  # are saved to data.db first and handed back when the player leaves those worlds, when this is
  # turned off, or when the plugin stops. Nothing is cleared before the copy is saved.
  replace-hotbar: false

# ██╗     ██╗███╗   ██╗██╗  ██╗███████╗
# ██║     ██║████╗  ██║██║ ██╔╝██╔════╝
# ██║     ██║██╔██╗ ██║█████╔╝ ███████╗
# ██║     ██║██║╚██╗██║██╔═██╗ ╚════██║
# ███████╗██║██║ ╚████║██║  ██╗███████║
# ╚══════╝╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝╚══════╝
links:
  # [url] actions: dialog shows a window with an Open button (Paper 1.21.7+); chat sends a
  # clickable line in chat.
  style: dialog
  # Close the screen after a link is shown.
  close-screen: false

# ██╗███╗   ███╗ █████╗  ██████╗ ███████╗███████╗
# ██║████╗ ████║██╔══██╗██╔════╝ ██╔════╝██╔════╝
# ██║██╔████╔██║███████║██║  ███╗█████╗  ███████╗
# ██║██║╚██╔╝██║██╔══██║██║   ██║██╔══╝  ╚════██║
# ██║██║ ╚═╝ ██║██║  ██║╚██████╔╝███████╗███████║
# ╚═╝╚═╝     ╚═╝╚═╝  ╚═╝ ╚═════╝ ╚══════╝╚══════╝
images:
  # The most rectangles one picture may use. A picture is scaled down and its colours merged into
  # rectangles; a busy photo needs many more than a flat logo.
  max-rects: 900

# ██████╗  ██████╗  ██████╗████████╗ ██████╗ ██████╗
# ██╔══██╗██╔═══██╗██╔════╝╚══██╔══╝██╔═══██╗██╔══██╗
# ██║  ██║██║   ██║██║        ██║   ██║   ██║██████╔╝
# ██║  ██║██║   ██║██║        ██║   ██║   ██║██╔══██╗
# ██████╔╝╚██████╔╝╚██████╗   ██║   ╚██████╔╝██║  ██║
# ╚═════╝  ╚═════╝  ╚═════╝   ╚═╝    ╚═════╝ ╚═╝  ╚═╝
doctor:
  # /zs doctor warns about an open screen that uses more display entities than this.
  warn-displays: 400

#  ██████╗██╗  ██╗ █████╗ ████████╗      ████████╗██╗  ██╗███████╗███╗   ███╗███████╗
# ██╔════╝██║  ██║██╔══██╗╚══██╔══╝      ╚══██╔══╝██║  ██║██╔════╝████╗ ████║██╔════╝
# ██║     ███████║███████║   ██║   █████╗   ██║   ███████║█████╗  ██╔████╔██║█████╗
# ██║     ██╔══██║██╔══██║   ██║   ╚════╝   ██║   ██╔══██║██╔══╝  ██║╚██╔╝██║██╔══╝
# ╚██████╗██║  ██║██║  ██║   ██║            ██║   ██║  ██║███████╗██║ ╚═╝ ██║███████╗
#  ╚═════╝╚═╝  ╚═╝╚═╝  ╚═╝   ╚═╝            ╚═╝   ╚═╝  ╚═╝╚══════╝╚═╝     ╚═╝╚══════╝
# The colours of chat messages and chest menu items. Every message below is written against these
# names, not hex codes: <accent>Open</accent>. Screen colours are in themes/*.yml.
chat-theme:
  accent: '#7c9cff'
  accent2: '#b9c8ff'
  title: '#f4f7ff'
  text: '#c2ccdd'
  muted: '#6b7a94'
  value: '#ffffff'
  good: '#57e08a'
  warn: '#ffc857'
  bad: '#ff6b6b'

# The same names in chest menu titles. A title sits on the light grey chest panel, so these are
# dark: a light colour there is hard to read.
chest-title-theme:
  accent: '#2b4acb'
  accent2: '#3d4f8f'
  title: '#202020'
  text: '#303030'
  muted: '#5a5f6b'
  value: '#1a1a1a'
  good: '#1d7a3a'
  warn: '#8a5800'
  bad: '#a82424'

# ███╗   ███╗███████╗███████╗███████╗ █████╗  ██████╗ ███████╗███████╗
# ████╗ ████║██╔════╝██╔════╝██╔════╝██╔══██╗██╔════╝ ██╔════╝██╔════╝
# ██╔████╔██║█████╗  ███████╗███████╗███████║██║  ███╗█████╗  ███████╗
# ██║╚██╔╝██║██╔══╝  ╚════██║╚════██║██╔══██║██║   ██║██╔══╝  ╚════██║
# ██║ ╚═╝ ██║███████╗███████║███████║██║  ██║╚██████╔╝███████╗███████║
# ╚═╝     ╚═╝╚══════╝╚══════╝╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚══════╝╚══════╝
# Everything the plugin says, in MiniMessage. {name} parts are filled in. An empty text sends nothing.
messages:
  prefix: '<accent>ZeroScreens</accent> <muted>|</muted> '
  unknown-menu: '<text>There is no menu called <value>{menu}</value>.</text>'
  menu-broken: '<bad>The menu {menu} has no pages. /zs doctor says more.</bad>'
  no-permission: '<bad>You cannot open that.</bad>'
  players-only: '<text>Only players can do that.</text>'
  requirement-failed: '<warn>You cannot use that yet.</warn>'
  cannot-open: '<text>The screen cannot open right now.</text>'
  too-far: '<text>Walk closer to the screen (within {distance} blocks).</text>'
  no-anchor: '<warn>That screen has no place in this world yet. An admin sets it with /zs anchor {menu}.</warn>'
  walked-away: ''
  timeout: '<muted>The screen closed after a while without input.</muted>'
  cooldown: '<warn>Wait {seconds}s before using that again.</warn>'
  no-economy: '<bad>Payments are not set up on this server.</bad>'
  too-poor: '<bad>You need {cost} for that.</bad>'
  link: '<text>{label}: <accent><u>{url}</u></accent> <muted>(click)</muted></text>'
  link-sent: '<accent>Link opened. Press Open in the window.</accent>'
  link-open-button: 'Open'
  link-body: '<text>This opens <value>{url}</value> in your browser.</text>'
  dialog-close: 'Close'
  dialog-save: 'Save'
  motion-reduced: '<text>Reduced motion is <good>on</good>: screens fade instead of moving.</text>'
  motion-full: '<text>Reduced motion is <muted>off</muted>.</text>'
  mode-chest: '<text>Menus open as a <value>chest menu</value> for you now.</text>'
  mode-screen: '<text>Menus open as an <value>in-world screen</value> for you now.</text>'
  image-missing: '<muted>Picture {file} not found</muted>'
  # %online_players% on a screen: the number of players online with the right word.
  online-players-one: '{count} player'
  online-players: '{count} players'
  hint-close: 'Close the screen'
  chest-close: '<bad>Close</bad>'
  chest-back: '<text>Back</text>'
  chest-prev: '<text>Previous</text>'
  chest-next: '<text>Next</text>'
  chest-toggle-on: '<good>On</good> <muted>(click to switch)</muted>'
  chest-toggle-off: '<bad>Off</bad> <muted>(click to switch)</muted>'
  chest-slider: '<muted>Left-click up, right-click down</muted>'
  chest-cost: '<warn>Costs {cost}</warn>'
  chest-locked: '<bad>Locked</bad>'
  reloaded: '<good>Reloaded:</good> <text>{menus} menus, {themes} themes, {warnings} warnings (/zs doctor).</text>'
  no-screen: '<text>No screen is open.</text>'
  list-head: '<text>{count} menus:</text>'
  list-line: '<muted>-</muted> <value>{menu}</value> <muted>{display}, {placement}, {pages} pages, theme {theme}, {commands}</muted>'
  anchor-set: '<good>Anchored</good> <text>{menu} at {x} {y} {z}. It opens there, facing where you look.</text>'
  anchor-removed: '<text>Removed the anchor of {menu}.</text>'
  anchor-none: '<text>{menu} has no anchor set in game.</text>'
  anchor-not-anchored: '<warn>{menu} uses placement: follow. Set screen.placement: anchored in its file to use the anchor.</warn>'
  bind-nothing: '<text>Look at a block or an entity within 6 blocks.</text>'
  bound: '<good>Bound</good> <text>{target} to {menu}. Right-click it to open.</text>'
  unbound: '<text>Removed the bind.</text>'
  bind-none: '<text>That has no menu bound.</text>'
  version: '<text>ZeroScreens <value>{version}</value></text>'
  usage: '<text>Usage: <value>{usage}</value></text>'
  doctor-head: '<text>ZeroScreens {version}: <value>{screens}</value> open, <value>{entities}</value> screen entities, <value>{stray}</value> stray, tick task {task}.</text>'
  doctor-screen: '<muted>-</muted> <value>{player}</value> <text>{menu}/{page}: {displays} displays, {cost} µs per tick</text>'
  doctor-hooks: '<text>PlaceholderAPI {papi}, Vault {vault}, Floodgate {floodgate}, dialogs {dialogs}, {binds} binds, {anchors} anchors.</text>'
  doctor-warn: '<warn>!</warn> <text>{text}</text>'
  editor-started: '<good>Editing</good> <text>{menu} ({file}). Click a widget to select it, click again to pick it up, click to drop. Right-click for its style. Every change is saved at once.</text>'
  editor-stopped: '<text>Editor closed. Changes are in {file}.</text>'
  editor-tool-move: 'Move'
  editor-tool-resize: 'Resize'
  editor-style: 'Style'
  editor-add: 'Add'
  editor-delete: 'Delete'
  editor-undo: 'Undo'
  editor-snap: 'Snap {snap}'
  editor-page: 'Page'
  editor-exit: 'Exit'
  editor-select-first: 'Select a widget first.'
  editor-nothing-to-undo: 'Nothing to undo.'
  editor-no-dialogs: 'Style needs Paper 1.21.7 or newer.'
  editor-dragging: 'x {x}  y {y}  w {w}  h {h}  (click to drop)'
  editor-style-title: 'Style: {widget}'
  editor-style-intro: '<gray>Empty fields fall back to the theme.</gray>'
  editor-save-failed: 'Could not save the file. The console says why.'
  editor-saved: 'Saved.'
  editor-hint: 'Editor: {tool}, page {page}. Click a widget.'
  editor-selected: '{widget}: x {x} y {y} w {w} h {h}. Click again to pick it up.'
  help:
    - '<accent>ZeroScreens</accent>'
    - '<value>/menu [menu]</value> <muted>open a menu</muted>'
    - '<value>/zs motion [on|off]</value> <muted>reduced motion for you</muted>'
    - '<value>/zs mode <screen|chest></value> <muted>how menus open for you (where the menu allows it)</muted>'
  help-admin:
    - '<value>/zs reload</value> <muted>read config, menus, themes and pictures again</muted>'
    - '<value>/zs open <menu> [player] [page]</value> <muted>open a menu for someone</muted>'
    - '<value>/zs close [player]</value> <muted>close a screen</muted>'
    - '<value>/zs list</value> <muted>every menu</muted>'
    - '<value>/zs doctor</value> <muted>open screens, entities, tick cost, warnings</muted>'
    - '<value>/zs anchor <menu> [remove]</value> <muted>place an anchored screen where you look</muted>'
    - '<value>/zs bind <menu> [page]</value> <muted>right-clicking the block or entity you look at opens it</muted>'
    - '<value>/zs unbind</value> <muted>remove the bind from what you look at</muted>'
    - '<value>/zs editor <menu> [page]</value> <muted>move, resize and restyle widgets on the live screen</muted>'

menus/board.yml

KeyDefaultThe comment above it
title"<accent><bold>Welcome</bold></accent>"none
theme"aurora"none
display"screen"none
commands[board]none
canvassection, 2 keys██████╗ █████╗ ███╗ ██╗██╗ ██╗ █████╗ ███████╗ ██╔════╝██╔══██╗████╗ ██║██║ ██║██╔══██╗██╔════╝ ██║ ███████║██╔██╗ ██║██║ ██║███████║███████╗ ██║ ██╔══██║██║╚██╗██║╚██╗ ██╔╝██╔══██║╚════██║ ╚██████╗██║ ██║██║ ╚████║ ╚████╔╝ ██║ ██║███████║ ╚═════╝╚═╝...
screensection, 6 keys███████╗ ██████╗██████╗ ███████╗███████╗███╗ ██╗ ██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗ ██║ ███████╗██║ ██████╔╝█████╗ █████╗ ██╔██╗ ██║ ╚════██║██║ ██╔══██╗██╔══╝ ██╔══╝ ██║╚██╗██║ ███████║╚██████╗██║ ██║███████╗███████╗██║ ╚████║ ╚══════╝...
cursorsection, 2 keys██████╗██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗ ██╔════╝██║ ██║██╔══██╗██╔════╝██╔═══██╗██╔══██╗ ██║ ██║ ██║██████╔╝███████╗██║ ██║██████╔╝ ██║ ██║ ██║██╔══██╗╚════██║██║ ██║██╔══██╗ ╚██████╗╚██████╔╝██║ ██║███████║╚██████╔╝██║ ██║ ╚═════╝ ╚═════╝ ╚═╝...
animationssection, 2 keys█████╗ ███╗ ██╗██╗███╗ ███╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗███████╗ ██╔══██╗████╗ ██║██║████╗ ████║██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║██╔════╝ ███████║██╔██╗ ██║██║██╔████╔██║███████║ ██║ ██║██║ ██║██╔██╗ ██║███████╗...
framesection, 1 key███████╗██████╗ █████╗ ███╗ ███╗███████╗ ██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ █████╗ ██████╔╝███████║██╔████╔██║█████╗ ██╔══╝ ██╔══██╗██╔══██║██║╚██╔╝██║██╔══╝ ██║ ██║ ██║██║ ██║██║ ╚═╝ ██║███████╗ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
pagessection, 2 keys██████╗ █████╗ ██████╗ ███████╗███████╗ ██╔══██╗██╔══██╗██╔════╝ ██╔════╝██╔════╝ ██████╔╝███████║██║ ███╗█████╗ ███████╗ ██╔═══╝ ██╔══██║██║ ██║██╔══╝ ╚════██║ ██║ ██║ ██║╚██████╔╝███████╗███████║ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚══════╝
plugins/ZeroScreens/menus/board.yml123 lines
# ███████╗███████╗██████╗  ██████╗ ███████╗ ██████╗██████╗ ███████╗███████╗███╗   ██╗███████╗
# ╚══███╔╝██╔════╝██╔══██╗██╔═══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗  ██║██╔════╝
#   ███╔╝ █████╗  ██████╔╝██║   ██║███████╗██║     ██████╔╝█████╗  █████╗  ██╔██╗ ██║███████╗
#  ███╔╝  ██╔══╝  ██╔══██╗██║   ██║╚════██║██║     ██╔══██╗██╔══╝  ██╔══╝  ██║╚██╗██║╚════██║
# ███████╗███████╗██║  ██║╚██████╔╝███████║╚██████╗██║  ██║███████╗███████╗██║ ╚████║███████║
# ╚══════╝╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚══════╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝╚═╝  ╚═══╝╚══════╝
# An anchored screen: it stands at a fixed spot in the world instead of following the view.
#
# 1. Stand where players should stand, look at the wall, and run /zs anchor board.
# 2. Bind something that opens it: look at a sign, a button or an NPC and run /zs bind board.
#    (Or open it with /board.)
# Players can walk while it is open; it closes when they move more than max-distance away.

title: '<accent><bold>Welcome</bold></accent>'
theme: aurora
display: screen
commands: [board]

#  ██████╗ █████╗ ███╗   ██╗██╗   ██╗ █████╗ ███████╗
# ██╔════╝██╔══██╗████╗  ██║██║   ██║██╔══██╗██╔════╝
# ██║     ███████║██╔██╗ ██║██║   ██║███████║███████╗
# ██║     ██╔══██║██║╚██╗██║╚██╗ ██╔╝██╔══██║╚════██║
# ╚██████╗██║  ██║██║ ╚████║ ╚████╔╝ ██║  ██║███████║
#  ╚═════╝╚═╝  ╚═╝╚═╝  ╚═══╝  ╚═══╝  ╚═╝  ╚═╝╚══════╝
canvas:
  width: 30
  height: 18

# ███████╗ ██████╗██████╗ ███████╗███████╗███╗   ██╗
# ██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗  ██║
# ███████╗██║     ██████╔╝█████╗  █████╗  ██╔██╗ ██║
# ╚════██║██║     ██╔══██╗██╔══╝  ██╔══╝  ██║╚██╗██║
# ███████║╚██████╗██║  ██║███████╗███████╗██║ ╚████║
# ╚══════╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝╚═╝  ╚═══╝
screen:
  placement: anchored
  distance: 3.0
  width: 3.6
  tilt: 0
  lock-player: false
  max-distance: 7
  # A fixed spot can also be written here: world,x,y,z,yaw (the yaw the viewer looks along).
  # anchor: 'world,0.5,66,10.5,180'

#  ██████╗██╗   ██╗██████╗ ███████╗ ██████╗ ██████╗
# ██╔════╝██║   ██║██╔══██╗██╔════╝██╔═══██╗██╔══██╗
# ██║     ██║   ██║██████╔╝███████╗██║   ██║██████╔╝
# ██║     ██║   ██║██╔══██╗╚════██║██║   ██║██╔══██╗
# ╚██████╗╚██████╔╝██║  ██║███████║╚██████╔╝██║  ██║
#  ╚═════╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝
cursor:
  shape: dot
  size: 1.2

#  █████╗ ███╗   ██╗██╗███╗   ███╗ █████╗ ████████╗██╗ ██████╗ ███╗   ██╗███████╗
# ██╔══██╗████╗  ██║██║████╗ ████║██╔══██╗╚══██╔══╝██║██╔═══██╗████╗  ██║██╔════╝
# ███████║██╔██╗ ██║██║██╔████╔██║███████║   ██║   ██║██║   ██║██╔██╗ ██║███████╗
# ██╔══██║██║╚██╗██║██║██║╚██╔╝██║██╔══██║   ██║   ██║██║   ██║██║╚██╗██║╚════██║
# ██║  ██║██║ ╚████║██║██║ ╚═╝ ██║██║  ██║   ██║   ██║╚██████╔╝██║ ╚████║███████║
# ╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝╚═╝     ╚═╝╚═╝  ╚═╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚══════╝
animations:
  open: slide
  close: scale

# ███████╗██████╗  █████╗ ███╗   ███╗███████╗
# ██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝
# █████╗  ██████╔╝███████║██╔████╔██║█████╗
# ██╔══╝  ██╔══██╗██╔══██║██║╚██╔╝██║██╔══╝
# ██║     ██║  ██║██║  ██║██║ ╚═╝ ██║███████╗
# ╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚══════╝
frame:
  hint: 'Left-click to choose. Walk away to close.'

# ██████╗  █████╗  ██████╗ ███████╗███████╗
# ██╔══██╗██╔══██╗██╔════╝ ██╔════╝██╔════╝
# ██████╔╝███████║██║  ███╗█████╗  ███████╗
# ██╔═══╝ ██╔══██║██║   ██║██╔══╝  ╚════██║
# ██║     ██║  ██║╚██████╔╝███████╗███████║
# ╚═╝     ╚═╝  ╚═╝ ╚═════╝ ╚══════╝╚══════╝
pages:
  main:
    widgets:
      welcome:
        type: text
        at: [1.5, 4.4]
        size: [27, 4]
        align: left
        text:
          - '<bold>Hello %player%</bold>'
          - '<muted>%online_players% online right now.</muted>'
      hub:
        type: button
        at: [1.5, 9.4]
        size: [15.5, 3.6]
        icon: COMPASS
        text: 'Open the hub'
        actions: ['[menu] hub']
      rules:
        type: button
        at: [18.5, 9.4]
        size: [10, 3.6]
        icon: WRITABLE_BOOK
        text: 'Rules'
        actions: ['[page] rules']
  rules:
    widgets:
      text:
        type: text
        at: [1.5, 4.4]
        size: [27, 8]
        text:
          - '<bold>Server rules</bold>'
          - '<muted>1.</muted> Be kind.'
          - '<muted>2.</muted> No cheats or exploits.'
          - '<muted>3.</muted> Keep chat readable.'
        line-spacing: 1.4
      back:
        type: button
        at: [1.5, 12.6]
        size: [10, 2.6]
        text: 'Back'
        slant: 0
        actions: ['[back]']

menus/hub.yml

KeyDefaultThe comment above it
title"<accent><bold>ZERO</bold></accent><text><bold>HUB</bold></text>"none
theme"dark"A file in themes/ (dark, light, aurora, or your own).
display"choice"screen: always the in-world screen. chest: always the chest menu. choice: what the player picked (a chest-mode toggle on the settings page). Bedrock players always get the chest menu.
permission"zeroscreens.menu.hub"Who may open it. The permission is registered for you with this default (true, op, false).
permission-defaulttruenone
commands[hub]Extra commands that open this menu.
remember-pagefalseOpen on the page the player last looked at.
start-page"play"none
canvassection, 2 keys██████╗ █████╗ ███╗ ██╗██╗ ██╗ █████╗ ███████╗ ██╔════╝██╔══██╗████╗ ██║██║ ██║██╔══██╗██╔════╝ ██║ ███████║██╔██╗ ██║██║ ██║███████║███████╗ ██║ ██╔══██║██║╚██╗██║╚██╗ ██╔╝██╔══██║╚════██║ ╚██████╗██║ ██║██║ ╚████║ ╚████╔╝ ██║ ██║███████║ ╚═════╝╚═╝...
framesection, 1 keynone
open-actions[] (empty list)██████╗ ██████╗ ███████╗███╗ ██╗ █████╗ ██████╗████████╗██╗ ██████╗ ███╗ ██╗███████╗ ██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██╔══██╗██╔════╝╚══██╔══╝██║██╔═══██╗████╗ ██║██╔════╝ ██║ ██║██████╔╝█████╗ ██╔██╗ ██║█████╗███████║██║ ██║ ██║██║ ██║██╔██╗...
close-actions[] (empty list)none
chestsection, 1 key██████╗██╗ ██╗███████╗███████╗████████╗ ██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ██║ ███████║█████╗ ███████╗ ██║ ██║ ██╔══██║██╔══╝ ╚════██║ ██║ ╚██████╗██║ ██║███████╗███████║ ██║ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝
pagessection, 5 keys██████╗ █████╗ ██████╗ ███████╗███████╗ ██╔══██╗██╔══██╗██╔════╝ ██╔════╝██╔════╝ ██████╔╝███████║██║ ███╗█████╗ ███████╗ ██╔═══╝ ██╔══██║██║ ██║██╔══╝ ╚════██║ ██║ ██║ ██║╚██████╔╝███████╗███████║ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚══════╝
plugins/ZeroScreens/menus/hub.yml471 lines
# ███████╗███████╗██████╗  ██████╗ ███████╗ ██████╗██████╗ ███████╗███████╗███╗   ██╗███████╗
# ╚══███╔╝██╔════╝██╔══██╗██╔═══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗  ██║██╔════╝
#   ███╔╝ █████╗  ██████╔╝██║   ██║███████╗██║     ██████╔╝█████╗  █████╗  ██╔██╗ ██║███████╗
#  ███╔╝  ██╔══╝  ██╔══██╗██║   ██║╚════██║██║     ██╔══██╗██╔══╝  ██╔══╝  ██║╚██╗██║╚════██║
# ███████╗███████╗██║  ██║╚██████╔╝███████║╚██████╗██║  ██║███████╗███████╗██║ ╚████║███████║
# ╚══════╝╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚══════╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝╚═╝  ╚═══╝╚══════╝
# The example hub menu: five pages (play, shop, settings, website, info) behind tabs.
# Open it with /menu, /hub, or /zs open hub. Change anything here, then /zs reload, or use
# /zs editor hub to move, resize and restyle the widgets on the live screen.
#
# The canvas is 42 x 25 units (canvas.width and canvas.height); x runs right and y runs down
# from the top left. The header takes the top 3.2 units and the footer the bottom 2.
# Widgets are placed by at: [x, y] and size: [w, h], or by cell: [column, row] and
# span: [columns, rows] in the page's grid.

title: '<accent><bold>ZERO</bold></accent><text><bold>HUB</bold></text>'
# A file in themes/ (dark, light, aurora, or your own).
theme: dark
# screen: always the in-world screen. chest: always the chest menu. choice: what the player picked
# (a chest-mode toggle on the settings page). Bedrock players always get the chest menu.
display: choice
# Who may open it. The permission is registered for you with this default (true, op, false).
permission: zeroscreens.menu.hub
permission-default: true
# Extra commands that open this menu.
commands: [hub]
# Open on the page the player last looked at.
remember-page: false
start-page: play

#  ██████╗ █████╗ ███╗   ██╗██╗   ██╗ █████╗ ███████╗
# ██╔════╝██╔══██╗████╗  ██║██║   ██║██╔══██╗██╔════╝
# ██║     ███████║██╔██╗ ██║██║   ██║███████║███████╗
# ██║     ██╔══██║██║╚██╗██║╚██╗ ██╔╝██╔══██║╚════██║
# ╚██████╗██║  ██║██║ ╚████║ ╚████╔╝ ██║  ██║███████║
#  ╚═════╝╚═╝  ╚═╝╚═╝  ╚═══╝  ╚═══╝  ╚═╝  ╚═╝╚══════╝
canvas:
  width: 42
  height: 25

# ███████╗██████╗  █████╗ ███╗   ███╗███████╗
# ██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝
# █████╗  ██████╔╝███████║██╔████╔██║█████╗
# ██╔══╝  ██╔══██╗██╔══██║██║╚██╔╝██║██╔══╝
# ██║     ██║  ██║██║  ██║██║ ╚═╝ ██║███████╗
# ╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚══════╝
# Any key of the screen, cursor, frame and animations sections of config.yml can be set here to
# change it for this menu only, for example:
# screen:
#   distance: 3.0
#   tilt: 5
# cursor:
#   shape: dot
# animations:
#   open: slide

frame:
  hint: 'Aim with your crosshair and click. Sneak to close. %online% online.'

#  ██████╗ ██████╗ ███████╗███╗   ██╗       █████╗  ██████╗████████╗██╗ ██████╗ ███╗   ██╗███████╗
# ██╔═══██╗██╔══██╗██╔════╝████╗  ██║      ██╔══██╗██╔════╝╚══██╔══╝██║██╔═══██╗████╗  ██║██╔════╝
# ██║   ██║██████╔╝█████╗  ██╔██╗ ██║█████╗███████║██║        ██║   ██║██║   ██║██╔██╗ ██║███████╗
# ██║   ██║██╔═══╝ ██╔══╝  ██║╚██╗██║╚════╝██╔══██║██║        ██║   ██║██║   ██║██║╚██╗██║╚════██║
# ╚██████╔╝██║     ███████╗██║ ╚████║      ██║  ██║╚██████╗   ██║   ██║╚██████╔╝██║ ╚████║███████║
#  ╚═════╝ ╚═╝     ╚══════╝╚═╝  ╚═══╝      ╚═╝  ╚═╝ ╚═════╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚══════╝
# Actions run when the menu opens or closes (the same forms as a button's actions).
open-actions: []
close-actions: []

#  ██████╗██╗  ██╗███████╗███████╗████████╗
# ██╔════╝██║  ██║██╔════╝██╔════╝╚══██╔══╝
# ██║     ███████║█████╗  ███████╗   ██║
# ██║     ██╔══██║██╔══╝  ╚════██║   ██║
# ╚██████╗██║  ██║███████╗███████║   ██║
#  ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝   ╚═╝
chest:
  rows: 6

# ██████╗  █████╗  ██████╗ ███████╗███████╗
# ██╔══██╗██╔══██╗██╔════╝ ██╔════╝██╔════╝
# ██████╔╝███████║██║  ███╗█████╗  ███████╗
# ██╔═══╝ ██╔══██║██║   ██║██╔══╝  ╚════██║
# ██║     ██║  ██║╚██████╔╝███████╗███████║
# ╚═╝     ╚═╝  ╚═╝ ╚═════╝ ╚══════╝╚══════╝
pages:

  play:
    title: '<accent><bold>ZERO</bold></accent><text><bold>HUB</bold></text> <muted>Play</muted>'
    grid:
      columns: 2
      rows: 2
      gap: 1
      # x0, y0, x1, y1 of the area the grid fills.
      area: [1.5, 7.6, 27, 22.6]
    # Text that does not fit its widget is drawn smaller, then cut short with "...".
    widgets:
      tabs:
        type: tabs
        at: [1.5, 4.0]
        size: [39, 2.6]
        tabs:
          - {text: 'Play', page: play}
          - {text: 'Shop', page: shop}
          - {text: 'Settings', page: settings}
          - {text: 'Website', page: website}
          - {text: 'Info', page: info}
        slot: 0
      survival:
        type: button
        cell: [1, 1]
        icon: GRASS_BLOCK
        text: 'Survival'
        subtitle: 'The classic world'
        text-size: 1.15
        hint: 'Join the survival world'
        # Replace these with your own commands (a warp, a BungeeCord server, a teleport).
        actions:
          - '[close]'
          - '[player] warp survival'
        slot: 20
      skyblock:
        type: button
        cell: [2, 1]
        icon: OAK_SAPLING
        text: 'Skyblock'
        subtitle: 'Sky islands'
        text-size: 1.15
        hint: 'Join skyblock'
        actions:
          - '[close]'
          - '[player] warp skyblock'
        slot: 22
      minigames:
        type: button
        cell: [1, 2]
        icon: DIAMOND_SWORD
        text: 'Minigames'
        subtitle: 'Quick rounds'
        text-size: 1.15
        hint: 'Pick a minigame'
        actions:
          - '[player] warp minigames'
          - '[close]'
        slot: 29
      events:
        type: button
        cell: [2, 2]
        icon: FIREWORK_ROCKET
        text: 'Events'
        subtitle: 'VIPs this week'
        text-size: 1.15
        hint: 'Needs the VIP rank'
        # Drawn greyed out for players without the permission; a click says why.
        requirements:
          click:
            - 'permission: server.vip'
          deny:
            - '[message] <warn>Events are open to VIPs this week.</warn>'
        actions:
          - '[player] warp events'
        slot: 31
      side:
        type: panel
        at: [28, 7.6]
        size: [12.5, 15]
        text: 'You'
      face:
        type: head
        at: [31.25, 9.4]
        size: [6, 6]
        player: '%player%'
      name:
        type: text
        at: [28.8, 16.2]
        size: [11, 6]
        text:
          - '<bold>%player%</bold>'
          - '<muted>Ping</muted> %ping% ms'
          - '<muted>Online</muted> %online%'
        text-size: 0.95

  shop:
    title: '<accent><bold>ZERO</bold></accent><text><bold>HUB</bold></text> <muted>Shop</muted>'
    grid:
      columns: 3
      rows: 2
      gap: 1
      area: [1.5, 7.6, 25, 22.6]
    widgets:
      tabs:
        type: tabs
        at: [1.5, 4.0]
        size: [39, 2.6]
        tabs:
          - {text: 'Play', page: play}
          - {text: 'Shop', page: shop}
          - {text: 'Settings', page: settings}
          - {text: 'Website', page: website}
          - {text: 'Info', page: info}
        slot: 0
      # A cost needs Vault and an economy plugin. Without one, these clicks are refused safely.
      # In a box about as tall as it is wide, a button puts its icon above the text
      # (layout: auto; row or stack force one or the other).
      apple:
        type: button
        cell: [1, 1]
        icon: GOLDEN_APPLE
        text: 'Apple'
        subtitle: '50 coins'
        cost: 50
        actions:
          - '[give] GOLDEN_APPLE 1'
          - '[sound] minecraft:entity.experience_orb.pickup 1 1.2'
          - '[message] <good>Bought a golden apple.</good>'
      pearls:
        type: button
        cell: [2, 1]
        icon: ENDER_PEARL
        text: 'Pearls'
        subtitle: '120 coins'
        cost: 120
        actions:
          - '[give] ENDER_PEARL 8'
          - '[message] <good>Bought 8 ender pearls.</good>'
      rockets:
        type: button
        cell: [3, 1]
        icon: FIREWORK_ROCKET
        text: 'Rockets'
        subtitle: '80 coins'
        cost: 80
        actions:
          - '[give] FIREWORK_ROCKET 16'
      steak:
        type: button
        cell: [1, 2]
        icon: COOKED_BEEF
        text: 'Steak'
        subtitle: '40 coins'
        cost: 40
        actions:
          - '[give] COOKED_BEEF 32'
      xp:
        type: button
        cell: [2, 2]
        icon: EXPERIENCE_BOTTLE
        text: 'XP'
        subtitle: '200 coins'
        cost: 200
        actions:
          - '[give] EXPERIENCE_BOTTLE 16'
      free:
        type: button
        cell: [3, 2]
        icon: BREAD
        text: 'Bread'
        subtitle: 'Once an hour'
        cooldown: 3600
        actions:
          - '[give] BREAD 8'
          - '[message] <good>Here is some bread.</good>'
      balance:
        type: text
        at: [26.5, 7.6]
        size: [14, 1.5]
        text: '<muted>Balance</muted> <bold>%balance%</bold>'
      kits:
        type: list
        at: [26.5, 9.6]
        size: [14, 13]
        row-height: 2.8
        # Scroll with the mouse wheel over the list, or the arrows.
        items:
          - {text: 'Starter kit', subtitle: 'Stone tools', icon: STONE_PICKAXE, actions: ['[player] kit starter']}
          - {text: 'Miner kit', subtitle: 'Iron pick, torches', icon: IRON_PICKAXE, actions: ['[player] kit miner']}
          - {text: 'Builder kit', subtitle: 'Blocks and a ladder', icon: BRICKS, actions: ['[player] kit builder']}
          - {text: 'Farmer kit', subtitle: 'Seeds and a hoe', icon: WHEAT, actions: ['[player] kit farmer']}
          - {text: 'Fisher kit', subtitle: 'A rod and bait', icon: FISHING_ROD, actions: ['[player] kit fisher']}
          - {text: 'Archer kit', subtitle: 'Bow and arrows', icon: BOW, actions: ['[player] kit archer']}
          - {text: 'Chef kit', subtitle: 'Food for a week', icon: CAKE, actions: ['[player] kit chef']}
          - {text: 'Explorer kit', subtitle: 'Maps and a compass', icon: MAP, actions: ['[player] kit explorer']}

  settings:
    title: '<accent><bold>ZERO</bold></accent><text><bold>HUB</bold></text> <muted>Settings</muted>'
    widgets:
      tabs:
        type: tabs
        at: [1.5, 4.0]
        size: [39, 2.6]
        tabs:
          - {text: 'Play', page: play}
          - {text: 'Shop', page: shop}
          - {text: 'Settings', page: settings}
          - {text: 'Website', page: website}
          - {text: 'Info', page: info}
        slot: 0
      # A toggle saves its switch per player (key). Other plugins read it with
      # %zeroscreens_toggle_<key>% or %toggle_<key>% here.
      chat:
        type: toggle
        at: [1.5, 7.6]
        size: [19, 3.4]
        key: chat
        default: true
        text: 'Chat'
        subtitle: 'See messages from other players'
        on-actions: ['[message] <good>Chat on.</good>']
        off-actions: ['[message] <muted>Chat off.</muted>']
      messages:
        type: toggle
        at: [21.5, 7.6]
        size: [19, 3.4]
        key: private-messages
        default: true
        text: 'Private messages'
        subtitle: 'Let players message you'
      # reduced-motion and chest-mode are the plugin's own settings.
      motion:
        type: toggle
        at: [1.5, 12]
        size: [19, 3.4]
        key: reduced-motion
        text: 'Reduced motion'
        subtitle: 'Fades instead of movement'
      chest:
        type: toggle
        at: [21.5, 12]
        size: [19, 3.4]
        key: chest-mode
        text: 'Chest menus'
        subtitle: 'Open menus as a chest instead'
        on-actions: ['[mode] chest']
        off-actions: ['[mode] screen']
      # screen-scale and cursor-size are the plugin's own sliders too: the size of every screen
      # and of the cursor, for this player (they apply the next time a screen opens).
      scale:
        type: slider
        at: [1.5, 16.4]
        size: [19, 3.8]
        key: screen-scale
        min: 0.8
        max: 1.25
        step: 0.05
        default: 1.0
        text: 'Screen size: %value%x'
        hint: 'Applies the next time a screen opens'
      pointer:
        type: slider
        at: [21.5, 16.4]
        size: [19, 3.8]
        key: cursor-size
        min: 0.75
        max: 2.5
        step: 0.25
        default: 1.0
        text: 'Cursor size: %value%x'
        hint: 'Applies the next time a screen opens'

  website:
    title: '<accent><bold>ZERO</bold></accent><text><bold>HUB</bold></text> <muted>Website</muted>'
    widgets:
      tabs:
        type: tabs
        at: [1.5, 4.0]
        size: [39, 2.6]
        tabs:
          - {text: 'Play', page: play}
          - {text: 'Shop', page: shop}
          - {text: 'Settings', page: settings}
          - {text: 'Website', page: website}
          - {text: 'Info', page: info}
        slot: 0
      # A PNG from plugins/ZeroScreens/images, drawn as coloured rectangles. resolution is the
      # longest side in pixels (4 to 64); color-bits (2 to 8) rounds colours so more pixels merge.
      logo:
        type: image
        at: [2, 8]
        size: [12, 12]
        file: zeroscreens.png
        resolution: 32
        color-bits: 5
        chest-icon: PAINTING
      intro:
        type: text
        at: [15.5, 8]
        size: [25, 4]
        text:
          - '<bold>Find us online</bold>'
          - '<muted>A click opens a window with the link.</muted>'
      site:
        type: button
        at: [15.5, 12.2]
        size: [12, 3.4]
        icon: COMPASS
        text: 'Website'
        subtitle: 'example.com'
        actions: ['[url] https://example.com Our website']
      discord:
        type: button
        at: [28.5, 12.2]
        size: [12, 3.4]
        icon: AMETHYST_SHARD
        text: 'Discord'
        subtitle: 'Chat with us'
        actions: ['[url] https://discord.gg/example Our Discord']
      store:
        type: button
        at: [15.5, 16.6]
        size: [12, 3.4]
        icon: EMERALD
        text: 'Store'
        subtitle: 'Ranks and cosmetics'
        actions: ['[url] https://store.example.com Our store']
      vote:
        type: button
        at: [28.5, 16.6]
        size: [12, 3.4]
        icon: GOLD_INGOT
        text: 'Vote'
        subtitle: 'Daily rewards'
        actions: ['[url] https://example.com/vote Vote for us']

  info:
    title: '<accent><bold>ZERO</bold></accent><text><bold>HUB</bold></text> <muted>Info</muted>'
    # Placeholders on this page refresh every 20 ticks (one second) while it is open.
    refresh: 20
    widgets:
      tabs:
        type: tabs
        at: [1.5, 4.0]
        size: [39, 2.6]
        tabs:
          - {text: 'Play', page: play}
          - {text: 'Shop', page: shop}
          - {text: 'Settings', page: settings}
          - {text: 'Website', page: website}
          - {text: 'Info', page: info}
        slot: 0
      stats:
        type: panel
        at: [1.5, 7.6]
        size: [20, 15]
        text: 'Server'
      lines:
        type: text
        at: [2.5, 10]
        size: [18, 8]
        text:
          - '<muted>Players</muted> %online% / %max_players%'
          - '<muted>TPS</muted> %tps%'
          - '<muted>Your world</muted> %world%'
          - '<muted>Your ping</muted> %ping% ms'
        line-spacing: 1.5
      fill:
        type: progress
        at: [2.5, 18.4]
        size: [18, 2.6]
        value: '%online%'
        max: '%max_players%'
        text: '<muted>Server full:</muted> %percent%%'
      players:
        type: list
        at: [22.5, 7.6]
        size: [18, 15]
        source: online-players
        row-height: 2.6
        entry:
          text: '%target%'
          subtitle: 'Click to message'
          actions: ['[close]', '[player] msg %target% Hi!']
        empty-text: 'Nobody else is online.'

themes/aurora.yml

KeyDefaultThe comment above it
colorssection, 13 keys██████╗ ██████╗ ██╗ ██████╗ ██████╗ ███████╗ ██╔════╝██╔═══██╗██║ ██╔═══██╗██╔══██╗██╔════╝ ██║ ██║ ██║██║ ██║ ██║██████╔╝███████╗ ██║ ██║ ██║██║ ██║ ██║██╔══██╗╚════██║ ╚██████╗╚██████╔╝███████╗╚██████╔╝██║ ██║███████║ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝...
edgessection, 2 keys███████╗██████╗ ██████╗ ███████╗███████╗ ██╔════╝██╔══██╗██╔════╝ ██╔════╝██╔════╝ █████╗ ██║ ██║██║ ███╗█████╗ ███████╗ ██╔══╝ ██║ ██║██║ ██║██╔══╝ ╚════██║ ███████╗██████╔╝╚██████╔╝███████╗███████║ ╚══════╝╚═════╝ ╚═════╝ ╚══════╝╚══════╝
transparencysection, 2 keys████████╗██████╗ █████╗ ███╗ ██╗███████╗██████╗ █████╗ ██████╗ ███████╗███╗ ██╗ ██████╗██╗ ██╗ ╚══██╔══╝██╔══██╗██╔══██╗████╗ ██║██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔════╝████╗ ██║██╔════╝╚██╗ ██╔╝
shapesection, 1 key███████╗██╗ ██╗ █████╗ ██████╗ ███████╗ ██╔════╝██║ ██║██╔══██╗██╔══██╗██╔════╝ ███████╗███████║███████║██████╔╝█████╗ ╚════██║██╔══██║██╔══██║██╔═══╝ ██╔══╝ ███████║██║ ██║██║ ██║██║ ███████╗ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝
text-shadowtrue████████╗███████╗██╗ ██╗████████╗ ███████╗██╗ ██╗ █████╗ ██████╗ ██████╗ ██╗ ██╗ ╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝ ██╔════╝██║ ██║██╔══██╗██╔══██╗██╔═══██╗██║ ██║
hover-style[fill, lift, glow, outline]none
plugins/ZeroScreens/themes/aurora.yml67 lines
# ███████╗███████╗██████╗  ██████╗ ███████╗ ██████╗██████╗ ███████╗███████╗███╗   ██╗███████╗
# ╚══███╔╝██╔════╝██╔══██╗██╔═══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗  ██║██╔════╝
#   ███╔╝ █████╗  ██████╔╝██║   ██║███████╗██║     ██████╔╝█████╗  █████╗  ██╔██╗ ██║███████╗
#  ███╔╝  ██╔══╝  ██╔══██╗██║   ██║╚════██║██║     ██╔══██╗██╔══╝  ██╔══╝  ██║╚██╗██║╚════██║
# ███████╗███████╗██║  ██║╚██████╔╝███████║╚██████╗██║  ██║███████╗███████╗██║ ╚████║███████║
# ╚══════╝╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚══════╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝╚═╝  ╚═══╝╚══════╝
# The aurora theme: night violet glass with a mint accent and warm highlights.

#  ██████╗ ██████╗ ██╗      ██████╗ ██████╗ ███████╗
# ██╔════╝██╔═══██╗██║     ██╔═══██╗██╔══██╗██╔════╝
# ██║     ██║   ██║██║     ██║   ██║██████╔╝███████╗
# ██║     ██║   ██║██║     ██║   ██║██╔══██╗╚════██║
# ╚██████╗╚██████╔╝███████╗╚██████╔╝██║  ██║███████║
#  ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝
colors:
  background: '#140B26'
  panel: '#1F1238'
  button: '#2A1A4A'
  hover: '#3E2670'
  text: '#FFF4FB'
  muted: '#B9A6D9'
  accent: '#4BF2C2'
  accent-text: '#140B26'
  disabled: '#3B3052'
  good: '#4BF2C2'
  bad: '#FF7A90'
  track: '#352457'
  text-shadow: '#0A0514'

# ███████╗██████╗  ██████╗ ███████╗███████╗
# ██╔════╝██╔══██╗██╔════╝ ██╔════╝██╔════╝
# █████╗  ██║  ██║██║  ███╗█████╗  ███████╗
# ██╔══╝  ██║  ██║██║   ██║██╔══╝  ╚════██║
# ███████╗██████╔╝╚██████╔╝███████╗███████║
# ╚══════╝╚═════╝  ╚═════╝ ╚══════╝╚══════╝
edges:
  width: 0.2
  color: '#FF8FCB'

# ████████╗██████╗  █████╗ ███╗   ██╗███████╗██████╗  █████╗ ██████╗ ███████╗███╗   ██╗ ██████╗██╗   ██╗
# ╚══██╔══╝██╔══██╗██╔══██╗████╗  ██║██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔════╝████╗  ██║██╔════╝╚██╗ ██╔╝
#    ██║   ██████╔╝███████║██╔██╗ ██║███████╗██████╔╝███████║██████╔╝█████╗  ██╔██╗ ██║██║      ╚████╔╝
#    ██║   ██╔══██╗██╔══██║██║╚██╗██║╚════██║██╔═══╝ ██╔══██║██╔══██╗██╔══╝  ██║╚██╗██║██║       ╚██╔╝
#    ██║   ██║  ██║██║  ██║██║ ╚████║███████║██║     ██║  ██║██║  ██║███████╗██║ ╚████║╚██████╗   ██║
#    ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝╚══════╝╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝ ╚═════╝   ╚═╝
transparency:
  background: 0.85
  panels: 0.96

# ███████╗██╗  ██╗ █████╗ ██████╗ ███████╗
# ██╔════╝██║  ██║██╔══██╗██╔══██╗██╔════╝
# ███████╗███████║███████║██████╔╝█████╗
# ╚════██║██╔══██║██╔══██║██╔═══╝ ██╔══╝
# ███████║██║  ██║██║  ██║██║     ███████╗
# ╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚══════╝
shape:
  slant: 0.3

# ████████╗███████╗██╗  ██╗████████╗      ███████╗██╗  ██╗ █████╗ ██████╗  ██████╗ ██╗    ██╗
# ╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝      ██╔════╝██║  ██║██╔══██╗██╔══██╗██╔═══██╗██║    ██║
#    ██║   █████╗   ╚███╔╝    ██║   █████╗███████╗███████║███████║██║  ██║██║   ██║██║ █╗ ██║
#    ██║   ██╔══╝   ██╔██╗    ██║   ╚════╝╚════██║██╔══██║██╔══██║██║  ██║██║   ██║██║███╗██║
#    ██║   ███████╗██╔╝ ██╗   ██║         ███████║██║  ██║██║  ██║██████╔╝╚██████╔╝╚███╔███╔╝
#    ╚═╝   ╚══════╝╚═╝  ╚═╝   ╚═╝         ╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═════╝  ╚═════╝  ╚══╝╚══╝
text-shadow: true

hover-style: [fill, lift, glow, outline]

themes/dark.yml

KeyDefaultThe comment above it
colorssection, 13 keys██████╗ ██████╗ ██╗ ██████╗ ██████╗ ███████╗ ██╔════╝██╔═══██╗██║ ██╔═══██╗██╔══██╗██╔════╝ ██║ ██║ ██║██║ ██║ ██║██████╔╝███████╗ ██║ ██║ ██║██║ ██║ ██║██╔══██╗╚════██║ ╚██████╗╚██████╔╝███████╗╚██████╔╝██║ ██║███████║ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝...
edgessection, 2 keys███████╗██████╗ ██████╗ ███████╗███████╗ ██╔════╝██╔══██╗██╔════╝ ██╔════╝██╔════╝ █████╗ ██║ ██║██║ ███╗█████╗ ███████╗ ██╔══╝ ██║ ██║██║ ██║██╔══╝ ╚════██║ ███████╗██████╔╝╚██████╔╝███████╗███████║ ╚══════╝╚═════╝ ╚═════╝ ╚══════╝╚══════╝
transparencysection, 2 keys████████╗██████╗ █████╗ ███╗ ██╗███████╗██████╗ █████╗ ██████╗ ███████╗███╗ ██╗ ██████╗██╗ ██╗ ╚══██╔══╝██╔══██╗██╔══██╗████╗ ██║██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔════╝████╗ ██║██╔════╝╚██╗ ██╔╝
shapesection, 1 key███████╗██╗ ██╗ █████╗ ██████╗ ███████╗ ██╔════╝██║ ██║██╔══██╗██╔══██╗██╔════╝ ███████╗███████║███████║██████╔╝█████╗ ╚════██║██╔══██║██╔══██║██╔═══╝ ██╔══╝ ███████║██║ ██║██║ ██║██║ ███████╗ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝
text-shadowtrue████████╗███████╗██╗ ██╗████████╗ ███████╗██╗ ██╗ █████╗ ██████╗ ██████╗ ██╗ ██╗ ╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝ ██╔════╝██║ ██║██╔══██╗██╔══██╗██╔═══██╗██║ ██║
hover-style[fill, lift, glow]What hovering does: fill (hover colour), lift (rises, see animations.hover-lift), glow (accent halo), outline (the edges turn accent). Any combination.
plugins/ZeroScreens/themes/dark.yml80 lines
# ███████╗███████╗██████╗  ██████╗ ███████╗ ██████╗██████╗ ███████╗███████╗███╗   ██╗███████╗
# ╚══███╔╝██╔════╝██╔══██╗██╔═══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗  ██║██╔════╝
#   ███╔╝ █████╗  ██████╔╝██║   ██║███████╗██║     ██████╔╝█████╗  █████╗  ██╔██╗ ██║███████╗
#  ███╔╝  ██╔══╝  ██╔══██╗██║   ██║╚════██║██║     ██╔══██╗██╔══╝  ██╔══╝  ██║╚██╗██║╚════██║
# ███████╗███████╗██║  ██║╚██████╔╝███████║╚██████╗██║  ██║███████╗███████╗██║ ╚████║███████║
# ╚══════╝╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚══════╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝╚═╝  ╚═══╝╚══════╝
# The dark theme: deep blue-grey glass with a cornflower accent.
# Copy this file to make your own theme; the file name (without .yml) is the theme's name,
# used as theme: <name> in config.yml or in a menu file. /zs reload picks up changes.

#  ██████╗ ██████╗ ██╗      ██████╗ ██████╗ ███████╗
# ██╔════╝██╔═══██╗██║     ██╔═══██╗██╔══██╗██╔════╝
# ██║     ██║   ██║██║     ██║   ██║██████╔╝███████╗
# ██║     ██║   ██║██║     ██║   ██║██╔══██╗╚════██║
# ╚██████╗╚██████╔╝███████╗╚██████╔╝██║  ██║███████║
#  ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝
colors:
  # The canvas behind everything, and the header bar and panels on top of it.
  background: '#0E1118'
  panel: '#161B26'
  # Buttons, toggles and list rows at rest, and under the cursor.
  button: '#1B2130'
  hover: '#2A3350'
  text: '#F2F5FF'
  muted: '#8A93A8'
  # The plugin's colour: the cursor, stripes, glows, active tabs, progress bars.
  accent: '#7C9CFF'
  # Text drawn on top of the accent colour.
  accent-text: '#0E1118'
  # Widgets the player cannot use yet (their click requirements fail).
  disabled: '#3A3F4C'
  good: '#57E08A'
  bad: '#FF6B6B'
  # The empty part of progress bars, sliders and switches.
  track: '#2A3042'
  text-shadow: '#05070C'

# ███████╗██████╗  ██████╗ ███████╗███████╗
# ██╔════╝██╔══██╗██╔════╝ ██╔════╝██╔════╝
# █████╗  ██║  ██║██║  ███╗█████╗  ███████╗
# ██╔══╝  ██║  ██║██║   ██║██╔══╝  ╚════██║
# ███████╗██████╔╝╚██████╔╝███████╗███████║
# ╚══════╝╚═════╝  ╚═════╝ ╚══════╝╚══════╝
edges:
  # An outline around the canvas and every button, in canvas units (0 for none).
  width: 0.15
  color: '#2E3650'

# ████████╗██████╗  █████╗ ███╗   ██╗███████╗██████╗  █████╗ ██████╗ ███████╗███╗   ██╗ ██████╗██╗   ██╗
# ╚══██╔══╝██╔══██╗██╔══██╗████╗  ██║██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔════╝████╗  ██║██╔════╝╚██╗ ██╔╝
#    ██║   ██████╔╝███████║██╔██╗ ██║███████╗██████╔╝███████║██████╔╝█████╗  ██╔██╗ ██║██║      ╚████╔╝
#    ██║   ██╔══██╗██╔══██║██║╚██╗██║╚════██║██╔═══╝ ██╔══██║██╔══██╗██╔══╝  ██║╚██╗██║██║       ╚██╔╝
#    ██║   ██║  ██║██║  ██║██║ ╚████║███████║██║     ██║  ██║██║  ██║███████╗██║ ╚████║╚██████╗   ██║
#    ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝╚══════╝╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝ ╚═════╝   ╚═╝
transparency:
  # 0 is invisible, 1 is solid. The background lets the world show through a little.
  background: 0.92
  panels: 1.0

# ███████╗██╗  ██╗ █████╗ ██████╗ ███████╗
# ██╔════╝██║  ██║██╔══██╗██╔══██╗██╔════╝
# ███████╗███████║███████║██████╔╝█████╗
# ╚════██║██╔══██║██╔══██║██╔═══╝ ██╔══╝
# ███████║██║  ██║██║  ██║██║     ███████╗
# ╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚══════╝
shape:
  # How far buttons lean (0 is straight). The top edge moves right by this times the height.
  slant: 0.22

# ████████╗███████╗██╗  ██╗████████╗      ███████╗██╗  ██╗ █████╗ ██████╗  ██████╗ ██╗    ██╗
# ╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝      ██╔════╝██║  ██║██╔══██╗██╔══██╗██╔═══██╗██║    ██║
#    ██║   █████╗   ╚███╔╝    ██║   █████╗███████╗███████║███████║██║  ██║██║   ██║██║ █╗ ██║
#    ██║   ██╔══╝   ██╔██╗    ██║   ╚════╝╚════██║██╔══██║██╔══██║██║  ██║██║   ██║██║███╗██║
#    ██║   ███████╗██╔╝ ██╗   ██║         ███████║██║  ██║██║  ██║██████╔╝╚██████╔╝╚███╔███╔╝
#    ╚═╝   ╚══════╝╚═╝  ╚═╝   ╚═╝         ╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═════╝  ╚═════╝  ╚══╝╚══╝
text-shadow: true

# What hovering does: fill (hover colour), lift (rises, see animations.hover-lift),
# glow (accent halo), outline (the edges turn accent). Any combination.
hover-style: [fill, lift, glow]

themes/light.yml

KeyDefaultThe comment above it
colorssection, 13 keys██████╗ ██████╗ ██╗ ██████╗ ██████╗ ███████╗ ██╔════╝██╔═══██╗██║ ██╔═══██╗██╔══██╗██╔════╝ ██║ ██║ ██║██║ ██║ ██║██████╔╝███████╗ ██║ ██║ ██║██║ ██║ ██║██╔══██╗╚════██║ ╚██████╗╚██████╔╝███████╗╚██████╔╝██║ ██║███████║ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝...
edgessection, 2 keys███████╗██████╗ ██████╗ ███████╗███████╗ ██╔════╝██╔══██╗██╔════╝ ██╔════╝██╔════╝ █████╗ ██║ ██║██║ ███╗█████╗ ███████╗ ██╔══╝ ██║ ██║██║ ██║██╔══╝ ╚════██║ ███████╗██████╔╝╚██████╔╝███████╗███████║ ╚══════╝╚═════╝ ╚═════╝ ╚══════╝╚══════╝
transparencysection, 2 keys████████╗██████╗ █████╗ ███╗ ██╗███████╗██████╗ █████╗ ██████╗ ███████╗███╗ ██╗ ██████╗██╗ ██╗ ╚══██╔══╝██╔══██╗██╔══██╗████╗ ██║██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔════╝████╗ ██║██╔════╝╚██╗ ██╔╝
shapesection, 1 key███████╗██╗ ██╗ █████╗ ██████╗ ███████╗ ██╔════╝██║ ██║██╔══██╗██╔══██╗██╔════╝ ███████╗███████║███████║██████╔╝█████╗ ╚════██║██╔══██║██╔══██║██╔═══╝ ██╔══╝ ███████║██║ ██║██║ ██║██║ ███████╗ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝
text-shadowfalse████████╗███████╗██╗ ██╗████████╗ ███████╗██╗ ██╗ █████╗ ██████╗ ██████╗ ██╗ ██╗ ╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝ ██╔════╝██║ ██║██╔══██╗██╔══██╗██╔═══██╗██║ ██║
hover-style[fill, outline, lift]none
plugins/ZeroScreens/themes/light.yml68 lines
# ███████╗███████╗██████╗  ██████╗ ███████╗ ██████╗██████╗ ███████╗███████╗███╗   ██╗███████╗
# ╚══███╔╝██╔════╝██╔══██╗██╔═══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗  ██║██╔════╝
#   ███╔╝ █████╗  ██████╔╝██║   ██║███████╗██║     ██████╔╝█████╗  █████╗  ██╔██╗ ██║███████╗
#  ███╔╝  ██╔══╝  ██╔══██╗██║   ██║╚════██║██║     ██╔══██╗██╔══╝  ██╔══╝  ██║╚██╗██║╚════██║
# ███████╗███████╗██║  ██║╚██████╔╝███████║╚██████╗██║  ██║███████╗███████╗██║ ╚████║███████║
# ╚══════╝╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚══════╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝╚═╝  ╚═══╝╚══════╝
# The light theme: paper white with a deep blue accent, straight edges and an outline hover.

#  ██████╗ ██████╗ ██╗      ██████╗ ██████╗ ███████╗
# ██╔════╝██╔═══██╗██║     ██╔═══██╗██╔══██╗██╔════╝
# ██║     ██║   ██║██║     ██║   ██║██████╔╝███████╗
# ██║     ██║   ██║██║     ██║   ██║██╔══██╗╚════██║
# ╚██████╗╚██████╔╝███████╗╚██████╔╝██║  ██║███████║
#  ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝
colors:
  background: '#F4F6FB'
  panel: '#E6EAF3'
  button: '#FFFFFF'
  hover: '#DDE5FF'
  text: '#141A2B'
  muted: '#5C6680'
  accent: '#2F5BEA'
  accent-text: '#FFFFFF'
  disabled: '#C9CFDC'
  good: '#1F9D57'
  bad: '#D64545'
  track: '#CBD2E2'
  text-shadow: '#C9CFDC'

# ███████╗██████╗  ██████╗ ███████╗███████╗
# ██╔════╝██╔══██╗██╔════╝ ██╔════╝██╔════╝
# █████╗  ██║  ██║██║  ███╗█████╗  ███████╗
# ██╔══╝  ██║  ██║██║   ██║██╔══╝  ╚════██║
# ███████╗██████╔╝╚██████╔╝███████╗███████║
# ╚══════╝╚═════╝  ╚═════╝ ╚══════╝╚══════╝
edges:
  width: 0.12
  color: '#C3CAD9'

# ████████╗██████╗  █████╗ ███╗   ██╗███████╗██████╗  █████╗ ██████╗ ███████╗███╗   ██╗ ██████╗██╗   ██╗
# ╚══██╔══╝██╔══██╗██╔══██╗████╗  ██║██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔════╝████╗  ██║██╔════╝╚██╗ ██╔╝
#    ██║   ██████╔╝███████║██╔██╗ ██║███████╗██████╔╝███████║██████╔╝█████╗  ██╔██╗ ██║██║      ╚████╔╝
#    ██║   ██╔══██╗██╔══██║██║╚██╗██║╚════██║██╔═══╝ ██╔══██║██╔══██╗██╔══╝  ██║╚██╗██║██║       ╚██╔╝
#    ██║   ██║  ██║██║  ██║██║ ╚████║███████║██║     ██║  ██║██║  ██║███████╗██║ ╚████║╚██████╗   ██║
#    ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝╚══════╝╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝ ╚═════╝   ╚═╝
transparency:
  background: 0.97
  panels: 1.0

# ███████╗██╗  ██╗ █████╗ ██████╗ ███████╗
# ██╔════╝██║  ██║██╔══██╗██╔══██╗██╔════╝
# ███████╗███████║███████║██████╔╝█████╗
# ╚════██║██╔══██║██╔══██║██╔═══╝ ██╔══╝
# ███████║██║  ██║██║  ██║██║     ███████╗
# ╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚══════╝
shape:
  slant: 0.0

# ████████╗███████╗██╗  ██╗████████╗      ███████╗██╗  ██╗ █████╗ ██████╗  ██████╗ ██╗    ██╗
# ╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝      ██╔════╝██║  ██║██╔══██╗██╔══██╗██╔═══██╗██║    ██║
#    ██║   █████╗   ╚███╔╝    ██║   █████╗███████╗███████║███████║██║  ██║██║   ██║██║ █╗ ██║
#    ██║   ██╔══╝   ██╔██╗    ██║   ╚════╝╚════██║██╔══██║██╔══██║██║  ██║██║   ██║██║███╗██║
#    ██║   ███████╗██╔╝ ██╗   ██║         ███████║██║  ██║██║  ██║██████╔╝╚██████╔╝╚███╔███╔╝
#    ╚═╝   ╚══════╝╚═╝  ╚═╝   ╚═╝         ╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═════╝  ╚═════╝  ╚══╝╚══╝
# Dark text on light panels reads better without the vanilla text shadow.
text-shadow: false

hover-style: [fill, outline, lift]

Config guide

The short annotated version from the listing. If it and the files above disagree, the files are what actually ships.

theme: dark                       the theme a menu uses when its file names none
command:
  name: menu                      /menu opens default-menu, /menu <name> opens that one
  aliases: [menus]
  default-menu: hub
player-choice-default: screen     for menus with display: choice
close-with-sneak: true
screen:
  placement: follow               follow or anchored
  distance: 2.6                   blocks in front of the eyes
  width: 4.2                      the screen width in blocks

Menus live in plugins/ZeroScreens/menus/*.yml, one file per menu, and themes in themes/*.yml. A menu file can override any screen, cursor, frame or animation setting for that menu only.

FAQ

Which servers and versions does it run on?

It needs Paper or a Paper fork like Purpur, because it uses Paper-only APIs (the dialog API for its menus, Adventure text components, Paper player profiles). Spigot and CraftBukkit won't work. The listing says Minecraft 1.21.11 or 26.x. plugin.yml declares api-version 1.21, the jar is built against Paper API 1.21.11, and it needs Java 21 or newer.

Does it need other plugins?

No, it runs without any other plugin (plugin.yml has no hard dependencies). Optional: PlaceholderAPI, Vault, floodgate (softdepend), used when it's there. On first start the server downloads org.xerial:sqlite-jdbc:3.53.2.1, so it needs internet access then. The listing adds: Optional: PlaceholderAPI, Vault with an economy plugin, Floodgate (for Bedrock players).

How do I apply config changes?

Edit plugins/ZeroScreens/config.yml and run /zs reload (read config, menus, themes and pictures again). Restarting works too.

Does it run on Folia, or for Bedrock players?

I haven't tested it on Folia, and plugin.yml doesn't declare folia-supported. I haven't tested Bedrock players through Geyser either.

Do players need a resource pack or a mod?

No. Screens are vanilla display entities and the dialogs are vanilla windows. It works for players who refuse server resource packs.

Can other players see someone's menu?

No. Every part of a screen is shown only to the player who opened it.

What about Bedrock players?

With Floodgate installed, Bedrock players always get the chest menu version of the same menu, with the same actions.

How do players close a screen? Why not ESC?

Sneak, the close button in the corner, a close button you add, or walking away from an anchored screen. ESC opens the pause screen, which the server never hears about.

How heavy is it on the server?

Nothing runs while no screen is open. An open screen is 40 to 130 display entities seen by one player, and only the cursor updates each tick, and only while the head moves. /zs doctor shows the cost per screen.

Is there DRM or a licence key?

No. There is nothing to activate and no licence server to reach, and the code is not obfuscated.

Get it

Not on BuiltByBit yet

ZeroScreens is finished and waiting for its BuiltByBit listing. This page gets the link the day it goes up.

Ask about it on Discord

Also mine

Run a Discord too?

ZeroBot is my Discord bot: moderation, tickets, logs and raid protection, set up from a web dashboard. Free to add.

See ZeroBot

Ask me for a plugin

Need a plugin for your server? Tell me on Discord or write to contact@frostyh.com.

Join Frostyhs HQ