Templates
Reticle ships nine finished menus inside its jar, and four HUDs, which the HUDs page lists. They stay out of your menus folder until you choose one, so a new server starts with only the two examples and without buttons that call commands your server may not have.
| Template | Title | What it holds |
|---|---|---|
servers | Choose a server | Survival, Creative and Minigames send the player to the servers survival, creative and minigames of your network |
warps | Warps | Spawn, Market and Arena close the menu and run /spawn, /warp market and /warp arena |
kits | Kits | Starter, Tools and Food run /kit starter, /kit tools and /kit food |
help | Help | Buttons that open the menus rules and links |
rules | Server rules | Four rules as text, and an I agree button that goes back |
links | Find us online | Website, Discord and Store close the menu and send the player a link he can click in chat |
confirm | Teleport to spawn? | A question with Stay, which goes back, and Teleport, which closes the menu and runs /spawn |
nickname | Your nickname | A text field that runs /nick with what the player typed, and a Done button |
worldmap | World map | A map of the land around the player, with buttons that zoom in, zoom out and center it on him again |
The list menus servers, warps, kits, help and links have rows 40 pixels high, each with an icon on a colored tile and a line of detail under its name. Every template but confirm has a close × in the top right corner, and rules and links add a ‹ back in the top left. rules, confirm and nickname answer in the bottom row: I agree, Stay or Teleport, and Done.
Making a menu from a template
In the editor, click New. The window shows Blank and the nine templates, each with a preview. Choose one, keep or change the name below and click Create. Reticle saves the menu to menus/<name>.yml straight away, and it works without a reload.
Without the editor, open the Reticle jar as a zip file, copy templates/warps.yml or any other template into plugins/Reticle/menus/ and run /reticle reload.
Before you use one
- The commands in
warps,kits,confirmandnicknamecome from other plugins. Change them to commands your server has. serversneeds a BungeeCord or Velocity network with servers of those names.linkspoints to example.com and discord.gg/example. Put in your own addresses.helpopens the menusrulesandlinks. Make both from their templates under exactly those names, or change itsopenactions; otherwise the console warns that they point to a menu that does not exist.nicknamehands the typed name to/nickonly when it holds nothing but letters, digits and_ . : + -, see Placeholders.worldmapneeds Reticle's resource pack on the player's game. Without it, the map's place shows one line that says so, see World map in a menu.- No template has a
Command. Add one so players can open the menu, see Command and permission.
