Your cart is empty
Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shoppingEvery configuration file of the plugin, with the feature toggles, templates and spectator hotbar files explained.
| File | What it holds |
|---|---|
| config.yml | The server-wide settings: database, worlds, match rules, party, betting, commands and performance. |
| maps/*.yml | One file per map, holding its regions, spawns, arenas and regeneration settings. |
| modes/*.yml | One file per mode, holding its loadout, rules, rounds, scoreboard and commands. |
| feature_toggles.yml | Switches for individual plugin behaviours such as the countdown freeze or arena knockback. |
| templates.yml | The default scoreboard that new modes are created from. |
| spectator_hotbar.yml | The items a player is given while spectating a match. |
| elo.yml | The elo settings. |
| sounds.yml | Every sound the plugin plays. |
| menus/*.yml | One file per menu. |
| kits/*.yml | One file per premade kit. |
| replay.yml | Match replay recording. Premium |
| discord.yml | Discord match result webhooks. Premium |
| translations/*.yml | Every message the plugin sends, per language. |
| cache.yml | Written by the plugin, holding things such as the lobby spawn point. Not meant to be edited by hand. |
After editing any of these by hand, run /pduels reload. If you only touched a menu file, /pduels reload menus is much quicker and safer on a live server.
feature_toggles.yml switches off individual behaviours of the plugin that most servers want, but some do not. Every option is a disable switch, so false means the behaviour stays on, which is the default for all of them.
The same options are available in the editor, under Settings > Feature Toggling.
disable-player-freeze: false
disable-leather-armor-coloring: false
disable-vanilla-stat-tracking: false
disable-invitations-in-match: false
disable-arena-knockback: false
Players are normally frozen in place during the pre-fight countdown so neither side can reposition before the fight starts. Set disable-player-freeze to true to let them move freely while the countdown runs.
Leather armor handed out by a kit is normally dyed to match the team colour, so teams are easy to tell apart. Set disable-leather-armor-coloring to true to keep the armor exactly as the kit defines it.
Kills and deaths inside a duel normally count toward the player's vanilla Minecraft statistics as well as the plugin's own. Set disable-vanilla-stat-tracking to true to keep duels out of the vanilla statistics screen and out of anything else reading them, such as an advancement or a scoreboard objective.
Set disable-invitations-in-match to true to stop players receiving duel invitations while they are already fighting, so a pop-up never lands mid-fight.
Players who reach the edge of the battle region are normally pushed back in, which keeps a fight inside the arena without walls. Set disable-arena-knockback to true to remove that push. Do this only if your arena is physically enclosed, otherwise players can walk out of the fight.
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 '
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.
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.
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.
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.
spectator_hotbar.yml defines the items a player is given while they are spectating a match. Their real inventory is saved beforehand and given back the moment they stop spectating.
leave-item:
slot: 4
material: BARRIER
custom-model-data: 0
display-name: '&cLeave'
lore:
- '&7Click here to leave this game.'
- ''
- '&7Or do /leave.'
actions: []
items: {}
leave-item is handled by the plugin itself: clicking it removes the player from the match they are watching, whatever else you configure on it. You can change its slot, material, name and lore freely, but its behaviour is fixed.
To remove it entirely, set its slot to a value outside the hotbar, such as -1.
Everything under items is yours. Each entry is a normal item definition with an actions list, using the same action types as any menu item, and runs those actions when the spectator clicks it.
items:
players:
slot: 0
material: PLAYER_HEAD
display-name: '&aPlayers'
lore:
- '&7Jump between the players of this match.'
actions:
- '[MENU] spectator_players'
back-to-lobby:
slot: 8
material: RED_DYE
display-name: '&cBack to Lobby'
actions:
- '[COMMAND] player;leave'
Slots run from 0 on the far left of the hotbar to 8 on the far right. Anything outside that range is ignored, so the item simply never appears.
The spectator_players menu used above is a built-in menu that lists everyone in the match being watched, so a spectator can jump straight to a specific player.
Your guide to the docs
Ask me anything about Phoenix Duels. I know these docs inside out, check the latest versions and changelogs, and can read your server logs.
Try asking
Your cart is empty
Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping