Configurations 🗃️ Configuration Files

📁 Templates

On this page, you will find everything you need to know about the templates.yml file of Phoenix Duels.

#Templates

templates.yml holds the default match scoreboard: the animated header and the lines that every newly created mode starts with.

It is a template, not a live setting. Changing it does not touch modes that already exist, because each mode keeps its own copy of the scoreboard in its own file. Edit this file to change what the next mode you create will look like, and edit the mode itself to change one that already exists.

scoreboard:
  header-frames:
  - '&5&lPHOENIX DUELS'
  - '&d&lP&5&lHOENIX DUELS'
  - '&d&lPH&5&lOENIX DUELS'
  lines:
  - ''
  - '&7⌚ &fTime Left: &7%time_left%'
  - ''
  - '&f%opponents%'
  - ''
  - '&a🪓 &fMode: &a%mode%'
  - '&2🕹 &fMap: &2%map%'
  - ''
  - '    &dwww.phoenixplugins.com  '

#Header Frames

scoreboard.header-frames is a list of titles played one after another, one frame per tick, looping back to the start when it runs out. The default list spells out an animated shimmer across the words by shifting which letters are the lighter colour, and pads the end with repeated identical frames to hold the title still between shimmers.

For a static title, use a single frame.

#Lines

scoreboard.lines is the body of the scoreboard, top to bottom. An empty string leaves a blank line. Every internal placeholder works here, as does any PlaceholderAPI placeholder installed on your server.

#Editing an existing mode

To change the scoreboard of a mode that already exists, edit that mode instead, either from Editor > Edit Modes > Mode > Scoreboard or in its file under modes/. The default scoreboard can also be edited from Settings in the editor.

circle-info

If you edit a scoreboard and nothing changes in game, you are almost certainly editing this template rather than the mode that is actually being played.

Last updated about 2 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy