# Phoenix Duels documentation
> Premium duels plugin for Spigot and Paper: 1v1, party and FFA duels with arenas that regenerate, kits, queues, betting and 30+ rules, all set up in-game.
Docs: https://www.phoenixplugins.com/docs/phoenix-duels
Supported Minecraft versions: 1.20.4 โ 26.3 (Spigot, Paper, Folia (experimental))
---
# ๐ Premium Add-ons
> **Warning:**
Every add-on on this page requires PhoenixDuels Premium as its base plugin, including the free ones. "Free" here means free to download, not that it runs on Lite. An add-on dropped into a Lite installation refuses to load and reports it in the console on startup.
# ๐ Premium Add-ons
## Player Kits
Lets your players build their own personalised kits from a set of items that you configure, with an in-game editor for enchantments, stack sizes, durability and armor trims.
## Elo Ranks
Adds elo ranks with five defaults: Bronze, Silver, Gold, Diamond and Emerald, along with a `/ranks` menu.
## Lobby Items
Adds lobby hotbar items across three stages: default lobby items, party items, and queue items, plus a lobby scoreboard and a right-click menu on other players.
## Sign Queues
Adds signs that players can click to join or leave the queue for a game mode, with a live count of who is waiting.
## Bed Fight
Adds the well known Bed Fight gamemode as a rule you can apply to a mode.
## Boxing
Adds the well known Boxing gamemode as a rule you can apply to a mode.
## The Bridge
Adds the well known Bridge gamemode as a rule you can apply to a mode.
## Spleef
Adds the well known Spleef gamemode as a rule you can apply to a mode.
## TnT Run
Adds the well known TnT Run gamemode as a rule you can apply to a mode.
# ๐ชจ Free Add-ons
## Floor is Lava
Raises the lava by one layer every few seconds from the bottom of the battle region up.
## Pillar of Fortune
Gives every player a random item or block on a fixed timer.
## Rematch & Requeue
Adds `/duelrematch` and `/duelrequeue` so players can jump straight back into a match instead of navigating menus.
Source: https://www.phoenixplugins.com/docs/phoenix-duels/addons
---
# ๐ฎ Elo Ranks
## Information
The Elo ranks add-on adds ranks to PhoenixDuels. The add-on includes five default ranks: Bronze, Silver, Gold, Diamond and Emerald.
Elo Ranks - Add-On
๐ [You can purchase this add-on on Phoenix Store](https://www.phoenixplugins.com/product/elo-ranks-add-on)
## Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, then restart your server.
The add-on will generate its contents to the following default files of the PhoenixDuels folder:
- `config.yml` the command for the `/ranks` menu
- `elo.yml` the configuration for the ranks
## Create a Rank
By clicking here, you can create a new rank. The default ranks are: Bronze, Silver, Gold, Diamond, and Emerald.
Editor > Settings > Elo > Ranks
Editor > Settings > Elo > Ranks
```yaml
ranks:
'0':
identifier: bronze
display:
==: org.bukkit.inventory.ItemStack
DataVersion: 4671
id: minecraft:brick
count: 1
components:
minecraft:custom_name: '{extra:["&6Bronze"],text:""}'
schema_version: 1
elo: 750
actions:
level-up:
- '[MESSAGE] &eYou ranked up!'
level-down: []
unique-level-up: []
```
### Rank Sorting
The ranks are sorted based on their ELO values, with the lowest appearing first and the highest appearing last.
Editor > Settings > Elo > Ranks
## Edit a Rank
### Identifier
With this option, you can set an identifier for the rank. Note that the arena identifier is unique and used internally by the plugin, and it's different from the display name.
> **Danger:**
If your server is in production, we don't recommend changing this value.
Editor > Settings > Elo > Ranks > Rank
### Display
With this option, you can adjust the display name of the rank, the material that it will have, and its lore.
For the display name, you can use the default Minecraft color codes. For hex colors, use the \D6D045 format.
Editor > Settings > Elo > Ranks > Rank
### Elo Required
With this option, you can define the required elo which players need to reach to get that rank.
Editor > Settings > Elo > Ranks > Rank
### Actions
With this option, you can execute actions when a player ranks up, ranks down, or ranks up for the first time.
The first-time actions only run while the player is online. A player who earns a rank and leaves before they run, such as by quitting as the match ends, gets them the next time they join.
๐ [You can view the Action System here](../../plugins/action-types.md)
Editor > Settings > Elo > Ranks > Rank
## Ranks Menu
/ranks shows players every rank on the server, ordered by the elo needed to reach it, from lowest to highest. Each entry uses that rank's own display item, name and lore, so the menu reflects whatever you set up in the editor without any extra configuration.
The entries are informational; clicking one does nothing. The menu is there so players can see what the ladder looks like and what the next rank costs. Bedrock players get the ranks as a form, see [GeyserMC (Bedrock)](../../configurations/geysermc-bedrock.md).
Ranks
### The Command
The command is registered by the add-on into the plugin's own `config.yml`, so it is renamed or switched off there like any other PhoenixDuels command:
```yaml
commands:
ranks:
enabled: true
alternative: ranks
```
### Customization
The menu itself lives in menus/elo/ranks.yml under the `ranks` key, and holds the layout, the close button, the filler row and the pagination arrows, which appear once there are more ranks than fit on a page.
The `rank` section is what each rank entry looks like. It takes three placeholders, filled in per rank:
| Placeholder | Value |
| --------------- | ---------------------------------------- |
| `%rank_name%` | The rank's display name. |
| `%rank_lore%` | The rank's display lore. |
| `%rank_elo%` | The elo required to reach the rank. |
```yaml
rank:
name: '&a%rank_name%'
lore:
- '&a%rank_lore%'
- ''
- '&fElo Required: &e%rank_elo%'
```
The display item, name and lore of a rank are edited on the rank itself, not here. See [Edit a Rank](#edit-a-rank).
## Placeholders
The following is the list of the available placeholders that Elo ranks has.
| Placeholders | Description |
|---------------------------------------------|-------------------------------------------------------|
| %phoenixduels_elo_rank% | Returns the identifier of the players current rank. |
| %phoenixduels_elo_rank_display% | Returns the display name of the players current rank. |
| %phoenixduels_elo_rank_next% | Returns the identifier of the players next rank. |
| %phoenixduels_elo_rank_next_display% | Returns the display name of the players next rank. |
| %phoenixduels_elo_rank_elo_required% | Returns the elo required for the player to rank up. |
| %phoenixduels_elo_rank_progress_percentage% | Returns the % to level up a rank. |
| %phoenixduels_elo_rank_progress_bar% | Returns a progress bar to level up a rank. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/elo-ranks
---
# ๐ Create a Rank
## Create Rank
By clicking here, you can create a new rank. The default ranks are: Bronze, Silver, Gold, Diamond, and Emerald.
Editor > Settings > Elo > Ranks
Editor > Settings > Elo > Ranks
```yaml
ranks:
'0':
identifier: bronze
display:
==: org.bukkit.inventory.ItemStack
DataVersion: 4671
id: minecraft:brick
count: 1
components:
minecraft:custom_name: '{extra:["&6Bronze"],text:""}'
schema_version: 1
elo: 750
actions:
level-up:
- '[MESSAGE] &eYou ranked up!'
level-down: []
unique-level-up: []
```
## Rank Sorting
The ranks are sorted based on their ELO values, with the lowest appearing first and the highest appearing last.
Editor > Settings > Elo > Ranks
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/elo-ranks/create-a-rank
---
# ๐๏ธ Customize a Rank
## Identifier
With this option, you can set an identifier for the rank. Note that the arena identifier is unique and used internally by the plugin, and it's different from the display name.
> **Danger:**
If your server is in production, we don't recommend changing this value.
Editor > Settings > Elo > Ranks > Rank
## Display
With this option, you can adjust the display name of the rank, the material that it will have, and its lore.
For the display name, you can use the default Minecraft color codes. For hex colors, use the \D6D045 format.
Editor > Settings > Elo > Ranks > Rank
## Elo Required
With this option, you can define the required elo which players need to reach to get that rank.
Editor > Settings > Elo > Ranks > Rank
## Actions
With this option, you can execute actions when a player ranks up, ranks down, or ranks up for the first time.
The first-time actions only run while the player is online. A player who earns a rank and leaves before they run, such as by quitting as the match ends, gets them the next time they join.
๐ [You can view the Action System here](https://www.myphoenixstore.com/docs/phoenix-duels/features/action-types)
Editor > Settings > Elo > Ranks > Rank
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/elo-ranks/edit-a-rank
---
# Untitled
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that Elo ranks has.
| Placeholders | Description |
|---------------------------------------------|-------------------------------------------------------|
| %phoenixduels_elo_rank% | Returns the identifier of the players current rank. |
| %phoenixduels_elo_rank_display% | Returns the display name of the players current rank. |
| %phoenixduels_elo_rank_next% | Returns the identifier of the players next rank. |
| %phoenixduels_elo_rank_next_display% | Returns the display name of the players next rank. |
| %phoenixduels_elo_rank_elo_required% | Returns the elo required for the player to rank up. |
| %phoenixduels_elo_rank_progress_percentage% | Returns the % to level up a rank. |
| %phoenixduels_elo_rank_progress_bar% | Returns a progress bar to level up a rank. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/elo-ranks/rank-placeholders
---
# ๐ Ranks Menu
## The Menu
/ranks shows players every rank on the server, ordered by the elo needed to reach it, from lowest to highest. Each entry uses that rank's own display item, name and lore, so the menu reflects whatever you set up in the editor without any extra configuration.
The entries are informational; clicking one does nothing. The menu is there so players can see what the ladder looks like and what the next rank costs.
Ranks
## The Command
The command is registered by the add-on into the plugin's own `config.yml`, so it is renamed or switched off there like any other PhoenixDuels command:
```yaml
commands:
ranks:
enabled: true
alternative: ranks
```
## Customization
The menu itself lives in menus/elo/ranks.yml under the `ranks` key, and holds the layout, the close button, the filler row and the pagination arrows, which appear once there are more ranks than fit on a page.
The `rank` section is what each rank entry looks like. It takes three placeholders, filled in per rank:
| Placeholder | Value |
| --------------- | ---------------------------------------- |
| `%rank_name%` | The rank's display name. |
| `%rank_lore%` | The rank's display lore. |
| `%rank_elo%` | The elo required to reach the rank. |
```yaml
rank:
name: '&a%rank_name%'
lore:
- '&a%rank_lore%'
- ''
- '&fElo Required: &e%rank_elo%'
```
The display item, name and lore of a rank are edited on the rank itself, not here. See [edit-a-rank.md](edit-a-rank.md "mention").
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/elo-ranks/ranks-menu
---
# ๐ฎ Gamemode Add-Ons
## Gamemodes
These add-ons are inspired by very familiar game modes and have been adapted into PhoenixDuels as rule sets for a mode.
* **Spleef** - [Click Here](spleef.md)
* **TnT Run** - [Click Here](tnt-run.md)
* **The Bridge** - [Click Here](the-bridge.md)
* **Boxing** - [Click Here](boxing.md)
* **Bed Fight** - [Click Here](bed-fight.md)
* **Floor is Lava** - [Click Here](floor-is-lava.md)
* **Pillar of Fortune** - [Click Here](pillar-of-fortune.md)
The Floor is Lava and the Pillar of Fortune gamemode add-ons are free to download
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes
---
# ๐๏ธ Bed Fight
## Information
The Bed Fight add-on adds the well known Bed Fight gamemode to the plugin.
Bed Fight Add-On
:point\_right: [You can purchase this add-on on Phoenix Store](https://www.myphoenixstore.com/items/bed-fight-addon)
### Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, then restart your server, or include the add-on while using the bundle download option to download the plugin.
This add-on adds the Bed Fight as a [gamemode rule](../../main-features/create-a-mode/README.md#mode-rules) to the plugin.
### Create a Gamemode
Create a gamemode dedicated for the Bed Fight Gamemode.
### Select Rule
Select the Generated rule `Bed Fight` and any other rule you might want.
### Create a Map
Create a map dedicated for the Bed Fight Gamemode. Place a bed for each team inside the arena. When a bed is broken, Bed Fight matches it to whichever team's spawn point is closest to it.
### Regeneration
Make sure that the Regeneration is enabled for your map, otherwise the blocks will not regenerate.
### Whitelist Gamemode
Select the Bed Fight gamemode as the only allowed mode for that map, and you are all set!
## Action Bar
The Bed Fight rule can show an action bar summarizing every team's bed status. Both the toggle and the action bar's format string are editable from the rule's settings.
## Bed Defence
Build a defence around each bed into the map, for example wood and end stone, and list those block types under **Bed Defence Blocks** in the rule's settings. Wildcards are supported, so `*_PLANKS` covers every plank type.
A listed block counts as defence only when it sits within **Bed Defence Radius** blocks of a bed, so the same block type elsewhere in the map stays protected. Defence blocks remain breakable after their bed has been destroyed.
Pair this with the **Only Self Placed Block Breaking** rule to make the defence and player-placed blocks the only breakable blocks in the map. Without that rule, every block in the map is breakable anyway.
## Placeholders
The Bed Fight add-on adds the following placeholders that you can use on the Scoreboard:
1. `%bed_team1_status%` through `%bed_team4_status%` - Returns the bed status (alive checkmark, or remaining player count once destroyed) for that team slot.
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that Bed Fight has.
| Placeholders | Description |
| -------------------------------------- | --------------------------------------------------------- |
| %phoenixduels_bedfight_team1_status% | Returns team 1's bed status. |
| %phoenixduels_bedfight_team2_status% | Returns team 2's bed status. |
| %phoenixduels_bedfight_team3_status% | Returns team 3's bed status. |
| %phoenixduels_bedfight_team4_status% | Returns team 4's bed status. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes/bed-fight
---
# ๐ฅ Boxing
## Information
The Boxing add-on adds the well known Boxing gamemode to the plugin.
Boxing Add-On
:point\_right: [You can purchase this add-on on Phoenix Store](https://www.myphoenixstore.com/items/boxing-addon)
### Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, or include the add-on while using the bundle download option to download the plugin.
This add-on adds the Boxing as a [gamemode rule](../../main-features/create-a-mode/README.md#mode-rules) to the plugin, and generates the following file:
* `PhoenixDuels/translations/boxing.translations.en.yml` - The translation file for the add-on.
### Create a Gamemode
Create a gamemode dedicated for the Boxing Gamemode.
### Select Rule
Select the Generated rule `Boxing` and any other rule you might want.
### Create a Map
Create a map dedicated for the Boxing Gamemode.
### Whitelist Gamemode
Select the Boxing gamemode as the only allowed mode for that map, and you are all set!
## Hits Goal
Change how many hits a team has to land to win. Hits are counted per team, so in a team match every teammate's hits add up.
## Action Bar
The Boxing rule can show an action bar with each team's punch score and the hits goal. Both the toggle and the message format (using `%teams%` and `%goal%`) are editable from the rule's settings.
## End-of-Match Broadcast
Unranked and challenge Boxing matches announce the result with the final hit score and the hit goal instead of the round score. Ranked matches keep the default broadcast with the Elo change. It reaches the whole server only when the mode has [Broadcast Results](../../main-features/create-a-mode/#broadcast-results) enabled, otherwise just the match players.
The message has no editor option. Change it in the add-on's translation file:
```yaml
en:
boxing:
broadcast:
- ""
- "a76d7โ e8add%winner% &fout-boxed &c%loser% &7(&a%winner_hits% &8- &c%loser_hits%&7)"
- "a76d7โ &fMode: e8add%mode% &8โ a76d7โฆ &fFirst to e8add%goal% &fhits"
- ""
```
## Falling Off
Players are eliminated the instant they fall below the arena's battle region, whether they were knocked off by an opponent or walked off on their own.
## Placeholders
The Boxing add-on adds the following placeholders that you can use on the Scoreboard:
1. `%boxing_team_score%` - Returns the score of your team.
2. `%boxing_enemy_score%` - Returns the score of the enemy team.
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that Boxing has.
| Placeholders | Description |
| ----------------------------------- | ----------------------------------- |
| %phoenixduels_boxing_team1_score% | Returns the punch score of team 1. |
| %phoenixduels_boxing_team2_score% | Returns the punch score of team 2. |
| %phoenixduels_boxing_team3_score% | Returns the punch score of team 3. |
| %phoenixduels_boxing_team4_score% | Returns the punch score of team 4. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes/boxing
---
# ๐ฉ Capture the Flag
## Information
The Capture the Flag add-on gives every team a banner at their base. Steal the enemy's banner, carry it back to your own, and you score a capture. First team to the goal wins the round. This add-on requires PhoenixDuels Premium.
### Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, or include the add-on while using the bundle download option to download the plugin.
This add-on adds Capture the Flag as a [gamemode rule](../../main-features/create-a-mode/#gamemode-rules-30) to the plugin, and generates the following file:
* `PhoenixDuels/translations/captureflag.translations.en.yml` - The translation file for the add-on.
### Create a Gamemode
Create a gamemode dedicated for Capture the Flag.
### Select Rule
Select the Generated rule `Capture the Flag` and any other rule you might want.
### Place the Banners
Place one banner per team inside the arena's battle region, next to each team's spawn. Any banner type works, and its color is up to you.
### Create a Map
Create a map dedicated for this ruleset, and make sure Regeneration is enabled.
> **Danger:**
Capture the Flag refuses to start a match on an arena without Regeneration enabled. The rule moves banner blocks around the map, so the arena has to be able to reset itself between matches.
> **Info:**
This add-on supports [Folia](../../first-installation.md#version-support), which is still experimental.
## The Flags
There is no separate setup step for the flags. When a round starts, every banner inside the battle region is scanned and handed to the team whose spawn it sits closest to โ the same way Bed Fight decides which bed belongs to which team. If a team has more than one banner nearby, the closest one becomes its flag.
If a team ends up without a banner, everyone in the match is warned in chat, so it is obvious you missed one rather than the mode quietly half-working.
## How it Plays
1. Breaking an enemy flag takes it. The banner disappears from its base and appears on the carrier's head.
2. You cannot break your own team's flag.
3. A carrier who dies, leaves the match, disconnects or becomes a spectator drops the flag where they last stood. It sits on the ground for the return time, then goes home on its own. If there is no free spot there, it goes home straight away.
4. Walking over a dropped flag picks it up if it belongs to an enemy team, or sends it straight home if it is your own.
5. Bringing an enemy flag within the capture radius of your own flag scores a capture โ but only while your own flag is still at its base. A team whose flag is out cannot score.
6. The first team to reach the capture goal wins the round.
Players respawn rather than being eliminated, so the round is decided by captures and nothing else. While a player waits to respawn, they cannot pick up or return a flag.
Flags can only be taken while the round is running. When a round starts and when the match ends, every flag is put back at its base, so a flag never goes missing between rounds.
## Match Settings
The Capture the Flag rule's settings let you configure:
* **Capture Goal** - how many captures a team needs to win the round.
* **Flag Return Time** - how many seconds a dropped flag stays on the ground before it returns to its base by itself.
* **Capture Radius** - how close a carrier has to get to their own flag to score, and how close a player has to get to a dropped flag to pick it up.
* **Respawn Time** - how many seconds players wait before respawning. Set to `0` to respawn immediately.
* **Action Bar** - toggles an action bar showing every team's captures and whether their flag is home.
* **Action Bar Format** - the action bar text, using `%teams%` and `%goal%`.
## Placeholders
The Capture the Flag add-on adds the following placeholders that you can use on the Scoreboard:
1. `%captureflag_score%` - Returns your team's captures.
2. `%captureflag_enemy_score%` - Returns the enemy team's captures.
3. `%captureflag_goal%` - Returns the capture goal.
4. `%captureflag_team1_score%` through `%captureflag_team4_score%` - Returns that team slot's captures.
5. `%captureflag_team1_status%` through `%captureflag_team4_status%` - Returns whether that team's flag is at its base.
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that Capture the Flag has.
| Placeholders | Description |
| --------------------------------------------- | ----------------------------------------------- |
| %phoenixduels_captureflag_team1_score% | Returns the captures of team 1. |
| %phoenixduels_captureflag_team2_score% | Returns the captures of team 2. |
| %phoenixduels_captureflag_team3_score% | Returns the captures of team 3. |
| %phoenixduels_captureflag_team4_score% | Returns the captures of team 4. |
| %phoenixduels_captureflag_team1_status% | Returns whether team 1's flag is at its base. |
| %phoenixduels_captureflag_team2_status% | Returns whether team 2's flag is at its base. |
| %phoenixduels_captureflag_team3_status% | Returns whether team 3's flag is at its base. |
| %phoenixduels_captureflag_team4_status% | Returns whether team 4's flag is at its base. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes/capture-the-flag
---
# ๐ Floor is Lava
## Information
Floor is Lava - Add-On
### Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, or include the add-on while using the bundle download option to download the plugin.
This add-on adds Floor is Lava as a [gamemode rule](../../main-features/create-a-mode/README.md#mode-rules) to the plugin.
### Create a Gamemode
Create a gamemode, for the lava is lava gamemode.
### Select Rule
Select the Generated rule `Floor is Lava` alongside your other rules.
### Create a Map
This map doesn't require a specific build, you can use any of your liking.
### Regeneration
Make sure that the Regeneration is enabled for your map, otherwise the lava will not clear between matches.
> **Info:**
This add-on supports [Folia](../../first-installation.md#version-support), which is still experimental.
## How it works
Every few seconds, the lava rises by one layer from the bottom of the battle region up. You can configure:
* **Lava Rise Interval** - how many seconds between each rise.
* **Replace Air Only** - when enabled, the rising lava only fills air blocks and leaves solid terrain untouched. When disabled, it consumes everything as it rises.
* **Rise Title** - an optional title/subtitle warning shown to all players right before each rise.
* **Action Bar** - an optional action bar reminder.
## Placeholders
The Floor is Lava add-on adds the following placeholders that you can use on the Scoreboard:
1. `%floorislava_countdown%` - Returns the number of seconds until the next rise.
2. `%floorislava_team1_remaining%` through `%floorislava_team4_remaining%` - Returns the number of players still alive on that team slot.
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that Floor is Lava has.
| Placeholders | Description |
| ------------------------------------------- | --------------------------------------------- |
| %phoenixduels_floorislava_countdown% | Returns the seconds until the next lava rise. |
| %phoenixduels_floorislava_team1_remaining% | Returns the players remaining on team 1. |
| %phoenixduels_floorislava_team2_remaining% | Returns the players remaining on team 2. |
| %phoenixduels_floorislava_team3_remaining% | Returns the players remaining on team 3. |
| %phoenixduels_floorislava_team4_remaining% | Returns the players remaining on team 4. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes/floor-is-lava
---
# ๐ Pillar of Fortune
## Information
The Pillar of Fortune add-on periodically gives every player on their own a random item or block.
Pillar of Fortune Add-On
### Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, or include the add-on while using the bundle download option to download the plugin.
This add-on adds Pillar of Fortune as a [gamemode rule](../../main-features/create-a-mode/README.md#mode-rules) to the plugin.
### Create a Gamemode
Create a gamemode, or open an existing one, that you want the periodic item drops applied to.
### Select Rule
Select the Generated rule `Pillar of Fortune` alongside your other rules.
### Create a Map
Create a map dedicated for this gamemode.
> **Info:**
This add-on supports [Folia](../../first-installation.md#version-support), which is still experimental.
## Configuration
The rule's settings let you configure:
* **Drop Interval** - how many seconds between each random item drop.
* **Blacklisted Items** - items that should never be picked when rolling a drop.
* **Action Bar** - toggles an action bar showing the countdown to the next drop, with an editable format.
* **Receive Title** - an optional title/subtitle shown to a player when they receive an item, with the item name available via `%item%`.
* **Receive Sound** - toggles a sound effect played when a player receives an item.
## Placeholders
The Pillar of Fortune add-on adds the following placeholders that you can use on the Scoreboard:
1. `%pillaroffortune_team1_remaining%` through `%pillaroffortune_team4_remaining%` - Returns the number of players still alive on that team slot.
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that Pillar of Fortune has.
| Placeholders | Description |
| -------------------------------------------------- | ------------------------------------------- |
| %phoenixduels_pillaroffortune_team1_remaining% | Returns the players remaining on team 1. |
| %phoenixduels_pillaroffortune_team2_remaining% | Returns the players remaining on team 2. |
| %phoenixduels_pillaroffortune_team3_remaining% | Returns the players remaining on team 3. |
| %phoenixduels_pillaroffortune_team4_remaining% | Returns the players remaining on team 4. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes/pillar-of-fortune
---
# ๐ SkyWars
## Information
The SkyWars add-on fills every chest and trapped chest placed inside your arena with random loot when a round starts. Each container type draws from its own loot pool, so the chests around a team's island and the ones in the middle of the map can hold completely different gear. This add-on requires PhoenixDuels Premium.
### Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, or include the add-on while using the bundle download option to download the plugin.
This add-on adds SkyWars as a [gamemode rule](../../main-features/create-a-mode/#gamemode-rules-30) to the plugin, and generates the following files:
* `PhoenixDuels/skywars/chests.yml` - The loot pools of both chest types.
* `PhoenixDuels/translations/skywars.translations.en.yml` - The translation file for the add-on.
### Create a Gamemode
Create a gamemode, or open an existing one, that you want the loot chests applied to.
### Select Rule
Select the Generated rule `SkyWars` alongside your other rules.
### Place Chests
Place chests and trapped chests inside the arena's battle region. Only containers inside that region are picked up โ anything outside of it is ignored.
### Create a Map
Create a map dedicated for this ruleset, and make sure Regeneration is enabled so the arena resets between matches.
## Chest Types
The container you place decides which pool it is filled from. This is not configurable โ it is how the add-on tells the two pools apart.
Block
Pool
Notes
Chest
Team Chests
Always enabled. Meant for the chests around each spawn island.
Trapped Chest
Middle Chests
Can be switched off, and is capped to 4 chests by default.
## Match Settings
The SkyWars rule's settings hold three entries:
* **Team Chests** - opens the loot pool of every normal chest in the arena.
* **Middle Chests** - opens the loot pool of every trapped chest in the arena.
* **Action Bar** - toggles an action bar showing every team's remaining player count.
Both chest entries show a summary of their chest limit and how many loot entries they hold before you open them.
> **Warning:**
The two loot pools live in `skywars/chests.yml` and are shared by **every** mode that uses the SkyWars rule. Editing them from one mode changes them everywhere. Only the Action Bar toggle is stored per mode.
## Loot Items
Opening either chest entry takes you to that pool's Loot Items menu, where you can add, edit and remove entries.
* **Chest Limit** - caps how many containers of that type the pool may claim in the arena. Chests closest to the center of the battle region are claimed first, so a limit of `4` on the middle pool fills the four most central trapped chests and leaves the rest empty. Set to `-1` for no cap. Clicking past `-1` skips `0` and lands on `1`.
* **Enabled** - only shown for the middle chests, and stops them from being filled at all.
Each loot entry has its own settings:
* **Item** - the item or block that gets placed. Any item works, including custom models, potions and named gear.
* **Weight** - how likely this entry is to be drawn. The menu shows the resulting chance, which is this weight divided by the sum of every weight in the pool.
* **Minimum Amount** / **Maximum Amount** - the stack size range the entry is drawn with, capped at the item's own stack size: 64 for most items, 16 for ender pearls and 1 for unstackable items.
* **Guaranteed** - places this entry in every chest of that pool instead of leaving it to chance.
* **Delete Item** - removes the entry from the pool.
## How a Chest is Filled
When a round starts, every container inside the battle region is scanned, claimed by its matching pool, emptied and refilled once. There is no refill during the match.
1. Every **Guaranteed** entry is placed first.
2. A target amount of items is rolled between the pool's minimum and maximum item count.
3. The rest of the slots are drawn at random, weighted, until the target is reached.
4. An entry can never be drawn twice in the same chest, and only one item of each gear category is placed per chest โ so a chest will not hold two swords, two chestplates or two bows.
The gear categories are swords (including tridents), pickaxes, axes, helmets, chestplates (including elytras), leggings, boots and bows (including crossbows). Everything else โ blocks, food, pearls, potions โ is not categorised, and is limited only by the one-draw-per-entry rule.
> **Info:**
The minimum and maximum item count per chest is not in the editor. Both live under `team-chest` and `middle-chest` in `skywars/chests.yml` as `min-items` and `max-items`.
## Action Bar
While a round is in progress, the rule can show an action bar listing how many players each team has left, refreshed every second. The toggle sits in the rule's settings, and the format is editable in the add-on's translation file under `skywars.action-bar`, using `%team_color%`, `%team_prefix%` and `%team_remaining%`.
## Placeholders
The SkyWars add-on adds the following placeholders that you can use on the Scoreboard:
1. `%skywars_team1_remaining%` through `%skywars_team4_remaining%` - Returns the number of players still alive on that team slot.
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that SkyWars has.
| Placeholders | Description |
| ------------------------------------------- | ------------------------------------------- |
| %phoenixduels_skywars_team1_remaining% | Returns the players remaining on team 1. |
| %phoenixduels_skywars_team2_remaining% | Returns the players remaining on team 2. |
| %phoenixduels_skywars_team3_remaining% | Returns the players remaining on team 3. |
| %phoenixduels_skywars_team4_remaining% | Returns the players remaining on team 4. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes/skywars
---
# โ๏ธ Spleef
## Information
The Spleef add-on adds the well known Spleef gamemode to the plugin.
Spleef Add-On
:point\_right: [You can purchase this add-on on Phoenix Store](https://www.myphoenixstore.com/items/spleef-addon)
### Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, or include the add-on while using the bundle download option to download the plugin.
This add-on adds the Spleef as a [gamemode rule](../../main-features/create-a-mode/README.md#mode-rules) to the plugin.
### Create a Gamemode
Create a gamemode dedicated for the Spleef Gamemode.
### Select Rule
Select the Generated rule `Spleef` and any other rule you might want.
### Setup Inventory
Create the Inventory for your Sleep. Recommended items can be found below.
### Create a Map
Create a map dedicated for the Spleef Gamemode.
### Regeneration
Make sure that the Regeneration is enabled for your map, otherwise the blocks will not regenerate.
### Whitelist Gamemode
Select the Spleef gamemode as the only allowed mode for that map, and you are all set!
### Items
The Spleef has two different options that you can use, and both can be toggled independently in the rule's settings:
1\) **Snowball Break** - give players a shovel, and when they break a snow block, they receive snowballs.
2\) **Bow Spleef** - give them a bow, and when they hit a snow block, the block will disappear.
## Action Bar
The Spleef rule can show an action bar summarizing the match. Both the toggle and the message format are editable from the rule's settings.
## Placeholders
The Spleef add-on adds the following placeholders that you can use on the Scoreboard:
1. `%spleef_team1_remaining%` through `%spleef_team4_remaining%` - Returns the number of players still alive on that team slot.
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that Spleef has.
| Placeholders | Description |
| -------------------------------------- | ------------------------------------------ |
| %phoenixduels_spleef_team1_remaining% | Returns the players remaining on team 1. |
| %phoenixduels_spleef_team2_remaining% | Returns the players remaining on team 2. |
| %phoenixduels_spleef_team3_remaining% | Returns the players remaining on team 3. |
| %phoenixduels_spleef_team4_remaining% | Returns the players remaining on team 4. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes/spleef
---
# ๐ The Bridge
## Information
The Bridge add-on adds the well known Bridge gamemode to the plugin. Yes
The Bridge Add-On
:point\_right: [You can purchase this add-on on Phoenix Store](https://www.myphoenixstore.com/items/the-bridge-addon)
### Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, or include the add-on while using the bundle download option to download the plugin.
This add-on adds the Bridge as a [gamemode rule](../../main-features/create-a-mode/README.md#mode-rules) to the plugin, and generates the following file:
* `PhoenixDuels/translations/bridge.translations.en.yml` - The translation file for the add-on.
### Create a Gamemode
Create a gamemode dedicated for the Bridge Gamemode.
### Select Rule
Select the Generated rule `Bridge` and any other rule you might want.
### Create a Map
Create a map dedicated for the Bridge Gamemode.
### Whitelist Gamemode
Select the Bridge gamemode as the only allowed mode for that map, and you are all set!
## Scoring
Jumping into an enemy team's portal scores a goal and wins the round. Only one goal counts per round: anyone who reaches a portal after it, including a scorer still standing in the portal when the next round starts, is sent back to their spawn. Jumping into your own team's portal puts you back where you were, and no portal ever teleports a match player away.
## Score
Each team's score shows as one circle per round win the match needs, in the team's color for every round won and gray for the rest. With the [Best Of](../../features/settings/match/#rounds-system) rounds system that is the wins needed, so a best of 5 shows three circles. The circle symbol and the score layout are in the translation file.
## Match Settings
The Bridge rule's settings let you configure:
* **Respawn Time** - how many seconds a player waits before respawning after falling or dying. Set to `0` to respawn immediately.
* **Cage** - toggles the cage that traps each player at their spawn point at the start of a round.
* **Spawn Protection Radius** - the radius, in blocks (X/Z only), around each spawn point where players cannot break or place blocks.
## Action Bar
The Bridge rule can show an action bar with every team's score. Both the toggle and the message format (using `%teams%`) are editable from the rule's settings.
## Placeholders
The Bridge add-on adds the following placeholders that you can use on the Scoreboard:
1. `%bridge_score%` - Returns the score of your team.
2. `%bridge_enemy_score%` - Returns the score of the enemy team.
3. `%bridge_team1_score%` through `%bridge_team4_score%` - Returns the score of that specific team slot, regardless of which team is viewing.
Bridge Placeholder
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that Bridge has.
| Placeholders | Description |
| ------------------------------------ | --------------------------------- |
| %phoenixduels_bridge_team1_score% | Returns the score of team 1. |
| %phoenixduels_bridge_team2_score% | Returns the score of team 2. |
| %phoenixduels_bridge_team3_score% | Returns the score of team 3. |
| %phoenixduels_bridge_team4_score% | Returns the score of team 4. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes/the-bridge
---
# ๐ฃ TnT Run
## Information
The TnT Run add-on adds the well known TnT Run gamemode to the plugin.
TnT Run Add-On
:point\_right: [You can purchase this add-on on Phoenix Store](https://www.myphoenixstore.com/items/tnt-run-addon)
### Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, or include the add-on while using the bundle download option to download the plugin.
This add-on adds the TnT Run as a [gamemode rule](../../main-features/create-a-mode/README.md#mode-rules) to the plugin.
### Create a Gamemode
Create a gamemode dedicated for the Bed Fight Gamemode.
### Select Rule
Select the Generated rule `TnT Run` and any other rule you might want.
### Create a Map
Create a map dedicated for the Bed Fight Gamemode.
### Regeneration
Make sure that the Regeneration is enabled for your map, otherwise the blocks will not regenerate.
### Whitelist Gamemode
Select the Bed Fight gamemode as the only allowed mode for that map, and you are all set!
> **Info:**
This add-on supports [Folia](../../first-installation.md#version-support), which is still experimental.
## Blocks
Make sure you have a layer of TNT on the floor, and place one of the following blocks on top of it:
* Sand
* Red Sand
* Gravel
* Suspicious Sand
* Suspicious Gravel
## Action Bar
The TnT Run rule can show an action bar summarizing the match. Both the toggle and the message format are editable from the rule's settings.
## Placeholders
The TnT Run add-on adds the following placeholders that you can use on the Scoreboard:
1. `%tntrun_team1_remaining%` through `%tntrun_team4_remaining%` - Returns the number of players still alive on that team slot.
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that TnT Run has.
| Placeholders | Description |
| -------------------------------------- | ------------------------------------------ |
| %phoenixduels_tntrun_team1_remaining% | Returns the players remaining on team 1. |
| %phoenixduels_tntrun_team2_remaining% | Returns the players remaining on team 2. |
| %phoenixduels_tntrun_team3_remaining% | Returns the players remaining on team 3. |
| %phoenixduels_tntrun_team4_remaining% | Returns the players remaining on team 4. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes/tnt-run
---
# ๐งจ TNT Tag
## Information
The TNT Tag add-on hands live TNT to one or more players at the start of every round. Whoever is holding it when the fuse runs out is blown up, and the survivors go again with a fresh fuse. Hitting another player passes the TNT on. This add-on requires PhoenixDuels Premium.
### Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, or include the add-on while using the bundle download option to download the plugin.
This add-on adds TNT Tag as a [gamemode rule](../../main-features/create-a-mode/#gamemode-rules-30) to the plugin, and generates the following file:
* `PhoenixDuels/translations/tnttag.translations.en.yml` - The translation file for the add-on.
### Create a Gamemode
Create a gamemode dedicated for TNT Tag.
### Select Rule
Select the Generated rule `TNT Tag` and any other rule you might want.
### Create a Map
Create a map dedicated for this ruleset. An open platform over the void works best, since falling out is the other way to lose.
### Whitelist Gamemode
Select the TNT Tag gamemode as the only allowed mode for that map, and you are all set!
> **Info:**
This add-on supports [Folia](../../first-installation.md#version-support), which is still experimental.
## How it Plays
Combat damage is disabled entirely while the rule is active โ players cannot kill each other by hitting. The only two ways out of a round are holding the TNT when it detonates, or falling below the battle region.
1. When the round starts, the configured number of players is picked at random and given the TNT. It sits on their head and, if enabled, makes them glow.
2. A tagged player passes the TNT by hitting an untagged player on another team. The hit deals no damage โ it only moves the bomb.
3. The freshly tagged player cannot be tagged back until the pass cooldown expires, so the TNT cannot bounce between the same two players.
4. When the fuse hits zero, every holder is eliminated. If two or more players are still alive, the fuse resets and the TNT is handed out again.
> **Info:**
If a tagged player is eliminated some other way โ falling out of the arena, disconnecting โ the TNT is passed to a random survivor instead of disappearing with them.
## Match Settings
The TNT Tag rule's settings let you configure:
* **Fuse Time** - how many seconds the TNT burns before it explodes.
* **Tagged Players** - how many players are given the TNT each round. Always capped at one below the number of players alive, so somebody is always safe.
* **Pass Cooldown** - how many seconds must pass before a player who was just tagged can be tagged again.
* **Glowing** - whether players holding the TNT glow for everyone else. Requires 1.9 or newer.
* **Action Bar** - toggles the countdown action bar.
* **Action Bar Format** - the countdown text, using `%time%` for the seconds left and `%tagged%` for who is holding it.
## Placeholders
The TNT Tag add-on adds the following placeholders that you can use on the Scoreboard:
1. `%tnttag_time_remaining%` - Returns the seconds left on the fuse.
2. `%tnttag_tagged%` - Returns how many players are currently holding the TNT.
3. `%tnttag_team1_remaining%` through `%tnttag_team4_remaining%` - Returns the number of players still alive on that team slot.
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that TNT Tag has.
| Placeholders | Description |
| ------------------------------------------ | ------------------------------------------------- |
| %phoenixduels_tnttag_time_remaining% | Returns the seconds left on the fuse. |
| %phoenixduels_tnttag_tagged% | Returns how many players hold the TNT. |
| %phoenixduels_tnttag_is_tagged% | Returns whether the player is holding the TNT. |
| %phoenixduels_tnttag_team1_remaining% | Returns the players remaining on team 1. |
| %phoenixduels_tnttag_team2_remaining% | Returns the players remaining on team 2. |
| %phoenixduels_tnttag_team3_remaining% | Returns the players remaining on team 3. |
| %phoenixduels_tnttag_team4_remaining% | Returns the players remaining on team 4. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes/tnt-tag
---
# ๐งถ Wool Wars
## Information
The Wool Wars add-on turns a platform in the middle of your arena into the objective. Both teams get endless wool in their own color and race to cover the platform with it, breaking each other's wool along the way. First team to own enough of it wins the round. This add-on requires PhoenixDuels Premium.
### Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, or include the add-on while using the bundle download option to download the plugin.
This add-on adds Wool Wars as a [gamemode rule](../../main-features/create-a-mode/#gamemode-rules-30) to the plugin, and generates the following file:
* `PhoenixDuels/translations/woolwars.translations.en.yml` - The translation file for the add-on.
### Create a Gamemode
Create a gamemode dedicated for Wool Wars.
### Select Rule
Select the Generated rule `Wool Wars` and any other rule you might want.
### Build the Platform
Build the objective out of the platform block โ white wool by default โ inside the arena's battle region. Every block of that type becomes a claimable slot.
### Create a Map
Create a map dedicated for this ruleset, and make sure Regeneration is enabled so the platform resets between matches.
> **Info:**
This add-on supports [Folia](../../first-installation.md#version-support), which is still experimental.
## The Platform
When a round starts, the battle region is scanned and every block matching the platform material is registered as a claimable slot. Those slots are the only place in the arena where players can build.
* Placing wool on an empty slot claims it for your team, in your team's color.
* Breaking a neutral or enemy block on a slot frees it again.
* You cannot break your own team's wool, and you cannot build anywhere outside the platform.
* The platform is locked during the countdown and after the round ends, so no block can be broken or placed early or late.
Each team's share is tracked live, and the round ends the moment one team's share reaches the claim goal.
> **Warning:**
The platform scan walks the whole battle region block by block. Regions above roughly half a million blocks are skipped with a warning in chat rather than scanned โ keep the battle region tight around the arena.
## Team Colors
Wool is handed out in a color matched to each team, so the platform reads at a glance:
Team
Wool
Red
Red Wool
Dark Red
Brown Wool
Blue
Blue Wool
Dark Blue
Blue Terracotta
Green
Lime Wool
Dark Green
Green Wool
Aqua
Light Blue Wool
Dark Aqua
Cyan Wool
Purple
Purple Wool
Dark Purple
Magenta Wool
Gray
Light Gray Wool
Dark Gray
Gray Wool
Yellow, Orange, Pink, White, Black
The matching wool color
Players are handed wool when the round starts and again when they respawn, and their stack is topped back up whenever it runs low, so they never have to think about ammo.
## Match Settings
The Wool Wars rule's settings let you configure:
* **Platform Block** - which block makes up the platform. Defaults to `WHITE_WOOL`. Any block name works, so a stone or clay platform is equally valid.
* **Claim Goal** - what percentage of the platform a team must own to win the round. Defaults to `60`.
* **Respawn Time** - how many seconds players wait before respawning. Set to `0` to respawn immediately.
* **Wool Amount** - how much wool players are handed, and topped back up to.
* **Action Bar** - toggles an action bar showing how much of the platform each team owns.
* **Action Bar Format** - the action bar text, using `%teams%` and `%goal%`.
## Placeholders
The Wool Wars add-on adds the following placeholders that you can use on the Scoreboard:
1. `%woolwars_claimed%` - Returns how many slots your team owns.
2. `%woolwars_percent%` - Returns your team's share of the platform, as a percentage.
3. `%woolwars_platform_size%` - Returns how many slots the platform has in total.
4. `%woolwars_goal%` - Returns the claim goal percentage.
5. `%woolwars_team1_claimed%` through `%woolwars_team4_claimed%` - Returns that team slot's owned blocks.
6. `%woolwars_team1_percent%` through `%woolwars_team4_percent%` - Returns that team slot's share.
## PlaceholderAPI Placeholders
The following is the list of the available placeholders that Wool Wars has.
| Placeholders | Description |
| -------------------------------------------- | ------------------------------------------- |
| %phoenixduels_woolwars_team1_claimed% | Returns the blocks owned by team 1. |
| %phoenixduels_woolwars_team2_claimed% | Returns the blocks owned by team 2. |
| %phoenixduels_woolwars_team3_claimed% | Returns the blocks owned by team 3. |
| %phoenixduels_woolwars_team4_claimed% | Returns the blocks owned by team 4. |
| %phoenixduels_woolwars_team1_percent% | Returns team 1's share of the platform. |
| %phoenixduels_woolwars_team2_percent% | Returns team 2's share of the platform. |
| %phoenixduels_woolwars_team3_percent% | Returns team 3's share of the platform. |
| %phoenixduels_woolwars_team4_percent% | Returns team 4's share of the platform. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/gamemodes/wool-wars
---
# ๐ช Lobby Items
## Information
The Lobby Items add-on adds lobby items to PhoenixDuels. The add-on includes three different stages: default lobby items, party items, and queue items. It also brings a lobby scoreboard, join actions, and a right-click menu on other players. This add-on requires PhoenixDuels Premium.
Lobby Items - Add-On
๐ [You can purchase this add-on on Phoenix Store](https://www.myphoenixstore.com/en/items/lobby-items-addon)
## Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, then restart your server.
The add-on will generate a file in the main PhoenixDuels folder called `lobby.yml` , which contains all configuration settings for the add-on.
> **Info:**
This add-on supports [Folia](../../first-installation.md#version-support), which is still experimental.
## Inventory Stages
### Default Lobby Items
The lobby includes special items to help users navigate the pluginโs features more easily. By default, the lobby items are:
* **Play Unranked**** -** Iron Sword
* **Play Ranked**** -** Diamond Sword
* **Kit Editor** - Book
* **Party** - Nether Star
* **Statistics** - Item Frame
* **Setting**** -** Comparator
Default Lobby Items
### Party Items
When a user joins a party, their hotbar items automatically change to enhance navigation and make it easier to play games with the party. The items available during the party state are:
* **Play Unranked** - Iron Sword
* **Play Ranked** - Diamond Sword
* **Play Private FFA** - Iron Axe
* **Split the Party** - Golden Axe
* **Fight another Party** - Diamond Axe
* **Manage your Party** - Nether Star
* **Leave the Party** - Red Dye
Party Lobby Items
### Queue Items
When the party is queuing, the hotbar items automatically update to include a red dye. Clicking on the red dye allows a party member to leave the queue, which will stop the entire party from queuing.
Queue Lobby Items
### Rematch Item
When the Rematch & Requeue add-on opens a rematch window for a player at the end of a match, a clock is laid over the hotbar for as long as that window lasts and disappears again once it expires. It has its own slot on the default stage and on the party stage; the queue stage has no rematch item, so nothing is overlaid while a player is queueing.
```yaml
hotbar:
rematch-item:
default:
slot: 4
material: CLOCK
party:
slot: 3
material: CLOCK
```
### Held Slot
Each stage decides which hotbar slot the player is left holding once the items are handed out. Unlike the item slots above, this one counts from 0 on the left, so 8 is the far right of the hotbar.
```yaml
hotbar:
enabled: true
player-held-slot:
default: 0
party: 7
queue: 8
```
Turning the hotbar off leaves player inventories untouched. The lobby scoreboard and the join actions keep working.
### Item Protection
Hotbar items cannot be dropped, moved around an inventory, swapped into the off hand, or left behind as a death drop. Players in creative mode are exempt from all of that, so an admin can still clear their own hotbar.
### Inventory Clearing
Switching between the default, party and queue stages only swaps the lobby items, so everything else a player carries stays, such as items won from a bet or an inventory handed back after a match. The whole inventory is cleared only when a player joins, respawns, or moves into or out of a lobby world.
```yaml
hotbar:
clear-inventory: true
```
Turning it off makes those moments remove only the lobby items too.
A player's own item sitting in a slot a lobby item needs is moved to a free slot, or to [Lost Items](../../features/lost-items.md) when the inventory is full.
### Previewing a Stage
/pduels lobbyitems \ hands you the items of that stage without having to actually join a party or a queue first. The next event that rebuilds your hotbar, such as joining a party or leaving a match, replaces them again.
### Extra
#### Player Heads
To display the player's head in the hotbar, use the following method.
```yaml
material: PLAYER_HEAD
```
To display a custom head as an item, use the **basehead** option.
```yaml
material: PLAYER_HEAD:BASEHEAD_VALUE
```
## Lobby Extras
### Join Actions
Every time a user joins the server, specific actions can be triggered. By default, the plugin sends a how to duel message.
Join Message
```yaml
lobby:
every-join-actions:
- '[MESSAGE] &7'
- '[MESSAGE] &5&lPHOENIX DUELS'
- '[MESSAGE] &7 1v1s, Party FFA/Fight'
- '[MESSAGE] &7 Unranked & Ranked Fights'
- '[MESSAGE] &7 And much more!'
- '[MESSAGE] &7'
- '[MESSAGE] &eโฌค To duel, type: &d/duel &e.'
- '[MESSAGE] &eโฌค To play, &duse your hotbar&e.'
- '[MESSAGE] &7'
```
### Scoreboard
Your server will now display a lobby scoreboard. Note that this scoreboard only appears in the lobby, during a duel the matchโs own scoreboard will take over.
Lobby Scoreboard
```yaml
scoreboard:
enabled: true
refresh-rate: 20
header:
interval: 2
frames:
- '&5&lPHOENIX DUELS'
- '&d&lP&5&lHOENIX DUELS'
- '&d&lPH&5&lOENIX DUELS'
- '&5&lP&d&lHO&5&lENIX DUELS'
- '&5&lPH&d&lOE&5&lNIX DUELS'
- '&5&lPHO&d&lEN&5&lIX DUELS'
- '&5&lPHOE&d&lNI&5&lX DUELS'
- '&5&lPHOEN&d&lIX&5&l DUELS'
- '&5&lPHOENI&d&lX D&5&lUELS'
- '&5&lPHOENIX &d&lDU&5&lELS'
- '&5&lPHOENIX D&d&lUE&5&lLS'
- '&5&lPHOENIX DU&d&lEL&5&lS'
- '&5&lPHOENIX DUE&d&lLS'
- '&5&lPHOENIX DUEL&d&lS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&d&lPHOENIX DUELS'
- '&d&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&d&lPHOENIX DUELS'
- '&d&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
lines:
- ''
- ' ๊ฑแดแดสแด แดสแดสสแดษดษขษชษดษข แดสแดสแดส๊ฑ'
- ' แดกษชแดส &6/แด แดแดส <แดสแดสแดส>'
- ''
- '&3โ &fแดษดสษชษดแด: &3%online%'
- '&a๐ช &fแดสแดสษชษดษข: &a%playing%'
- '&6โ &fวซแดแดแดแดษชษดษข: &6%queueing%'
- ''
- '&c๐ก &fแดษชสส๊ฑ: &c%kills%'
- '&4โ &fแด แดแดแดส๊ฑ: &4%deaths%'
- ''
- ' แดแดษด๊ฐษชษขแดสแด แด แดแดส๊ฑ:'
- ' &e/แดสแดแดษดษชxแด แดแดส๊ฑ แดแด ษชแดแดส'
- ''
- ' &dwww.phoenixplugins.com '
```
#### Scoreboard Placeholders
Beyond every PlaceholderAPI placeholder installed on your server, the lobby scoreboard understands the following on its own.
| Placeholder | Description |
| ------------- | ------------------------------------------------------------- |
| %player% | The name of the player looking at the board. |
| %online% | The amount of players online. |
| %max_online% | The player slot limit of the server. |
| %playing% | The amount of players currently inside a match. |
| %queueing% | The amount of players currently in a queue. |
| %kills% | The player's kills across challenge, unranked and ranked combined. |
| %deaths% | The player's deaths across challenge, unranked and ranked combined. |
If another plugin claims a player's sidebar, the lobby board steps aside for it and comes back on its own once that claim is released.
### Teleport on Join
Sends every player to the lobby spawn point as they log in. The spawn point is the one set with /pduels setLobby, and nothing happens if none has been set yet. Players who respawn outside a match are always sent there regardless of this option.
```yaml
teleport-on-join: true
```
### Player Interaction Menu
Lets players right-click each other in the lobby to open a small menu offering a duel invitation and a party invitation for that player. It never opens for NPCs, and never while either of the two is in a match.
```yaml
player-interaction-menu: true
```
The menu itself, including which items sit in it and what they run, is a normal menu file and can be edited or given extra items like any other. Bedrock players get it as a form, see [GeyserMC (Bedrock)](../../configurations/geysermc-bedrock.md).
### Where the Add-On Applies
Hotbar items, the scoreboard and the player interaction menu all follow the world list of the main configuration, so a world excluded from PhoenixDuels gets none of them. Walking out of a lobby world clears the hotbar items, and walking back in hands them out again.
With PhoenixLobby 3.3.0 or newer on the same server, PhoenixLobby leaves its own lobby items out of the worlds where this add-on hands out its hotbar. Its Stand Down In Duels Worlds join setting turns that off.
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/lobby-items
---
# โ๏ธ Inventory Stages
## Default Lobby Items
The lobby includes special items to help users navigate the pluginโs features more easily. By default, the lobby items are:
* **Play Unranked**** -** Iron Sword
* **Play Ranked**** -** Diamond Sword
* **Kit Editor** - Book
* **Party** - Nether Star
* **Statistics** - Item Frame
* **Setting**** -** Comparator
Default Lobby Items
## Party Items
When a user joins a party, their hotbar items automatically change to enhance navigation and make it easier to play games with the party. The items available during the party state are:
* **Play Unranked** - Iron Sword
* **Play Ranked** - Diamond Sword
* **Play Private FFA** - Iron Axe
* **Split the Party** - Golden Axe
* **Fight another Party** - Diamond Axe
* **Manage your Party** - Nether Star
* **Leave the Party** - Red Dye
Party Lobby Items
## Queue Items
When the party is queuing, the hotbar items automatically update to include a red dye. Clicking on the red dye allows a party member to leave the queue, which will stop the entire party from queuing.
Queue Lobby Items
## Rematch Item
When the Rematch & Requeue add-on opens a rematch window for a player at the end of a match, a clock is laid over the hotbar for as long as that window lasts and disappears again once it expires. It has its own slot on the default stage and on the party stage; the queue stage has no rematch item, so nothing is overlaid while a player is queueing.
```yaml
hotbar:
rematch-item:
default:
slot: 4
material: CLOCK
party:
slot: 3
material: CLOCK
```
## Held Slot
Each stage decides which hotbar slot the player is left holding once the items are handed out. Unlike the item slots above, this one counts from 0 on the left, so 8 is the far right of the hotbar.
```yaml
hotbar:
enabled: true
player-held-slot:
default: 0
party: 7
queue: 8
```
Turning the hotbar off leaves player inventories untouched. The lobby scoreboard and the join actions keep working.
## Item Protection
Hotbar items cannot be dropped, moved around an inventory, swapped into the off hand, or left behind as a death drop. Players in creative mode are exempt from all of that, so an admin can still clear their own hotbar.
## Inventory Clearing
Switching between the default, party and queue stages only swaps the lobby items, so everything else a player carries stays, such as items won from a bet or an inventory handed back after a match. The whole inventory is cleared only when a player joins, respawns, or moves into or out of a lobby world.
```yaml
hotbar:
clear-inventory: true
```
Turning it off makes those moments remove only the lobby items too.
A player's own item sitting in a slot a lobby item needs is moved to a free slot, or to [Lost Items](../../features/lost-items.md) when the inventory is full.
## Previewing a Stage
/pduels lobbyitems \ hands you the items of that stage without having to actually join a party or a queue first. The next event that rebuilds your hotbar, such as joining a party or leaving a match, replaces them again.
## Extra
### Player Heads
To display the player's head in the hotbar, use the following method.
```yaml
material: PLAYER_HEAD
```
To display a custom head as an item, use the **basehead** option.
```yaml
material: PLAYER_HEAD:BASEHEAD_VALUE
```
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/lobby-items/inventory-stages
---
# ๐ Lobby Extras
## Join Actions
Every time a user joins the server, specific actions can be triggered. By default, the plugin sends a how to duel message.
Join Message
```yaml
lobby:
every-join-actions:
- '[MESSAGE] &7'
- '[MESSAGE] &5&lPHOENIX DUELS'
- '[MESSAGE] &7 1v1s, Party FFA/Fight'
- '[MESSAGE] &7 Unranked & Ranked Fights'
- '[MESSAGE] &7 And much more!'
- '[MESSAGE] &7'
- '[MESSAGE] &eโฌค To duel, type: &d/duel &e.'
- '[MESSAGE] &eโฌค To play, &duse your hotbar&e.'
- '[MESSAGE] &7'
```
## Scoreboard
Your server will now display a lobby scoreboard. Note that this scoreboard only appears in the lobby, during a duel the matchโs own scoreboard will take over.
Lobby Scoreboard
```yaml
scoreboard:
enabled: true
refresh-rate: 20
header:
interval: 2
frames:
- '&5&lPHOENIX DUELS'
- '&d&lP&5&lHOENIX DUELS'
- '&d&lPH&5&lOENIX DUELS'
- '&5&lP&d&lHO&5&lENIX DUELS'
- '&5&lPH&d&lOE&5&lNIX DUELS'
- '&5&lPHO&d&lEN&5&lIX DUELS'
- '&5&lPHOE&d&lNI&5&lX DUELS'
- '&5&lPHOEN&d&lIX&5&l DUELS'
- '&5&lPHOENI&d&lX D&5&lUELS'
- '&5&lPHOENIX &d&lDU&5&lELS'
- '&5&lPHOENIX D&d&lUE&5&lLS'
- '&5&lPHOENIX DU&d&lEL&5&lS'
- '&5&lPHOENIX DUE&d&lLS'
- '&5&lPHOENIX DUEL&d&lS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&d&lPHOENIX DUELS'
- '&d&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&d&lPHOENIX DUELS'
- '&d&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
- '&5&lPHOENIX DUELS'
lines:
- ''
- ' ๊ฑแดแดสแด แดสแดสสแดษดษขษชษดษข แดสแดสแดส๊ฑ'
- ' แดกษชแดส &6/แด แดแดส <แดสแดสแดส>'
- ''
- '&3โ &fแดษดสษชษดแด: &3%online%'
- '&a๐ช &fแดสแดสษชษดษข: &a%playing%'
- '&6โ &fวซแดแดแดแดษชษดษข: &6%queueing%'
- ''
- '&c๐ก &fแดษชสส๊ฑ: &c%kills%'
- '&4โ &fแด แดแดแดส๊ฑ: &4%deaths%'
- ''
- ' แดแดษด๊ฐษชษขแดสแด แด แดแดส๊ฑ:'
- ' &e/แดสแดแดษดษชxแด แดแดส๊ฑ แดแด ษชแดแดส'
- ''
- ' &dwww.phoenixplugins.com '
```
### Scoreboard Placeholders
Beyond every PlaceholderAPI placeholder installed on your server, the lobby scoreboard understands the following on its own.
| Placeholder | Description |
| ------------- | ------------------------------------------------------------- |
| %player% | The name of the player looking at the board. |
| %online% | The amount of players online. |
| %max_online% | The player slot limit of the server. |
| %playing% | The amount of players currently inside a match. |
| %queueing% | The amount of players currently in a queue. |
| %kills% | The player's kills across challenge, unranked and ranked combined. |
| %deaths% | The player's deaths across challenge, unranked and ranked combined. |
If another plugin claims a player's sidebar, the lobby board steps aside for it and comes back on its own once that claim is released.
## Teleport on Join
Sends every player to the lobby spawn point as they log in. The spawn point is the one set with /pduels setLobby, and nothing happens if none has been set yet. Players who respawn outside a match are always sent there regardless of this option.
```yaml
teleport-on-join: true
```
## Player Interaction Menu
Lets players right-click each other in the lobby to open a small menu offering a duel invitation and a party invitation for that player. It never opens for NPCs, and never while either of the two is in a match.
```yaml
player-interaction-menu: true
```
The menu itself, including which items sit in it and what they run, is a normal menu file and can be edited or given extra items like any other.
## Where the Add-On Applies
Hotbar items, the scoreboard and the player interaction menu all follow the world list of the main configuration, so a world excluded from PhoenixDuels gets none of them. Walking out of a lobby world clears the hotbar items, and walking back in hands them out again.
With PhoenixLobby 3.3.0 or newer on the same server, PhoenixLobby leaves its own lobby items out of the worlds where this add-on hands out its hotbar. Its Stand Down In Duels Worlds join setting turns that off.
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/lobby-items/lobby-extras
---
# ๐ช Player Kits
## Information
The Player Kits add-on allows your players to create their own personalized kits using a predefined set of items that you configure. This add-on requires PhoenixDuels Premium.
Player Kits - Add-on
:point\_right: [You can purchase this add-on on Phoenix Store](https://www.myphoenixstore.com/en/items/player-kits-addon)
## Installation
To install this add-on, simply drag and drop the jar file into the PhoenixDuels/addons folder, then restart your server.
The add-on will generate a file in the main PhoenixDuels folder called `player_kits.yml` , which contains all configuration settings for the add-on.
> **Info:**
This add-on supports [Folia](../../first-installation.md#version-support), which is still experimental.
## Player Kit Mode
When the add-on has been installed, the Loadout Type of a gamemode will now have the Player Kit option. Now, you will be able to create a gamemode that players will use their premade inventories to compete against each other.
Editor > Modes > Mode
## Shared Player Kit Mode
Next to Player Kit, the Loadout Type list also offers Shared Player Kit. Everyone in the match fights with the selected kit of whoever hosted it, rather than with their own, and each player is told whose kit they have been handed. It is meant for party fights and private matches where one host sets the terms for everybody.
Editor > Modes > Mode
Matches with no host, such as ranked and unranked queues, have no kit to share, so every player falls back to their own selected kit.
## Create Kit Category
To configure the Player Kits, open the in-game editor and access it from the main menu.
In-Game Editor
### Categories
To create a category, simply click on the green stained glass pane. By default, the plugin includes 6 categories with items, allowing users to create their kits based on those items right away.
Add Category
### Reordering
You can use the reordering option to sort the categories in your desired order for the menu.
Reordering Categories
## Edit Kit Category
### Edit Display Item
With this option, you can customize the material, display name, and lore that the kit category will have for the user and the admin.
Display Item
### Identifier
With this option, you can set a unique identifier for the category. By default, the plugin automatically assigns a unique identifier to each category. Changing this identifier will result in data loss.
Category Identifier
### Category Menu
With this option, you can specify which menu you want your category to have. You can create or edit menus inside the menus/playerkits folder. If you create a custom menu from the editor, the plugin will generate a premade layout for it.
Category Menu
### Delete a Category
With this option, you can delete a kit category.
Delete Category
> **Danger:**
This option is permanent, and categories can't be restored.
## Add Items
With the items, you can create and manage the items that will be included in the category.
items
### Reordering
You can use the reordering option to sort the items in your desired order for the category menu.
Reordering Rewards
### Edit the Item
You can set the Display Item, which is the item players will see and select. Additionally, you can customize its display name and lore to make it more appealing.
Edit Item
### Target Slot
This option is mainly used to identify armor slots. If you have an item that its an armor set, make sure to select the corresponding attribute.
Target Slot
### Remove Item
With this option you can delete an item.
> **Danger:**
This option is permanent, and items can't be restored.
### Picker Slot
Pins the item to a fixed position in the kit editor's picker grid instead of letting it flow into the next free space. The grid is 25 slots per page, numbered from 0, and a value of 25 or higher lands the item on a later page. Leaving it at -1 means auto-fill: the item takes whatever position the ones declared before it leave open.
Use it when a category needs a deliberate shape, such as one armor material per row.
## Configure Slots
### Default Slots
With default slots, you can set the number of slots players will have. By default, this is set to 3, allowing users to create up to 3 custom kits.
Default Slots
As shown below, the user has access to only 3 custom kits, as specified above.
Locked Slots
### Permission Slots
With Permission Slots, you can grant users additional slots beyond the default ones. Keep in mind that these are extra slots, not replacements for the default slots.
Permission Slots
### Add Permission Slots
To create a new permission slot, simply click on the green stained glass.
Add Permission Slot
After that, youโll need to specify the permission you want your users to have and the number of slots to grant. Thereโs also an option to delete a specific slot if needed
Permission Slot
> **Info:**
Permission slots do not stack. A player who matches several of them only gets the largest one, added on top of the default slots.
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/player-kits
---
# ๐ช Add Items
## Items
With the items, you can create and manage the items that will be included in the category.
items
## Reordering
You can use the reordering option to sort the items in your desired order for the category menu.
Reordering Rewards
## Edit the Item
You can set the Display Item, which is the item players will see and select. Additionally, you can customize its display name and lore to make it more appealing.
Edit Item
## Target Slot
This option is mainly used to identify armor slots. If you have an item that its an armor set, make sure to select the corresponding attribute.
Target Slot
## Remove Item
With this option you can delete an item.
> **Danger:**
This option is permanent, and items can't be restored.
## Picker Slot
Pins the item to a fixed position in the kit editor's picker grid instead of letting it flow into the next free space. The grid is 25 slots per page, numbered from 0, and a value of 25 or higher lands the item on a later page. Leaving it at -1 means auto-fill: the item takes whatever position the ones declared before it leave open.
Use it when a category needs a deliberate shape, such as one armor material per row.
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/player-kits/add-items
---
# ๐บ Configure Slots
## Default Slots
With default slots, you can set the number of slots players will have. By default, this is set to 3, allowing users to create up to 3 custom kits.
Default Slots
As shown below, the user has access to only 3 custom kits, as specified above.
Locked Slots
## Permission Slots
With Permission Slots, you can grant users additional slots beyond the default ones. Keep in mind that these are extra slots, not replacements for the default slots.
Permission Slots
## Add Permission Slots
To create a new permission slot, simply click on the green stained glass.
Add Permission Slot
After that, youโll need to specify the permission you want your users to have and the number of slots to grant. Thereโs also an option to delete a specific slot if needed
Permission Slot
> **Info:**
Permission slots do not stack. A player who matches several of them only gets the largest one, added on top of the default slots.
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/player-kits/configure-slots
---
# ๐ Create Kit Category
## Configure a Player Kit
To configure the Player Kits, open the in-game editor and access it from the main menu.
In-Game Editor
## Categories
To create a category, simply click on the green stained glass pane. By default, the plugin includes 6 categories with items, allowing users to create their kits based on those items right away.
Add Category
## Reordering
You can use the reordering option to sort the categories in your desired order for the menu.
Reordering Categories
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/player-kits/create-kit-category
---
# ๐จ Edit Kit Category
## Edit Display Item
With this option, you can customize the material, display name, and lore that the kit category will have for the user and the admin.
Display Item
## Identifier
With this option, you can set a unique identifier for the category. By default, the plugin automatically assigns a unique identifier to each category. Changing this identifier will result in data loss.
Category Identifier
## Category Menu
With this option, you can specify which menu you want your category to have. You can create or edit menus inside the menus/playerkits folder. If you create a custom menu from the editor, the plugin will generate a premade layout for it.
Category Menu
## Delete a Category
With this option, you can delete a kit category.
Delete Category
> **Danger:**
This option is permanent, and categories can't be restored.
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/player-kits/edit-kit-category
---
# ๐งฐ The Kit Editor
## Opening the Editor
Players reach their kits from the Player Kits button of /kiteditor, or straight away with /kiteditor playerkits. The list that opens shows one entry per slot the player owns; clicking an entry edits that kit, and the button underneath it marks which kit is the selected one used in matches. The selection is saved with the player's data, so it stays across reconnects and restarts. Bedrock players get the list as a form and choose between selecting and editing a kit, while the editing screen stays a chest menu, see [GeyserMC (Bedrock)](../../configurations/geysermc-bedrock.md).
Kit Editor
Your Player Kits
## The Editing Screen
While a kit is open, the player's real inventory is put aside and handed back untouched on close, so nothing they were carrying can be lost or duplicated into a kit.
The upper half is the kit itself, laid out like a survival inventory with an armor row and an off-hand slot at the bottom. The lower half is the picker: the hotbar holds the tools, and the three rows above it hold whatever the current tool is showing.
Items are placed by dragging them out of the picker into the kit area. Middle-clicking any item copies it onto the cursor, which is the quickest way to fill several slots with the same thing. Dropping an item outside the window discards it, and so does clicking the trash bin.
Editing Player Kit
Editing Player Kit
## Categories
The first hotbar slot cycles through the categories you configured. Each category fills the picker grid with its own items, paginated when there are more than 25 of them, with page arrows on the left and right of the row above the hotbar.
Editing Player Kit
## Enchanter Slot
Dropping an item into the enchanter slot turns the picker grid into a list of enchantment books, showing only the enchantments that can legally go on that item. Each book carries the level the item is currently at and the cap it can be taken to, and clicking it walks that level up or down. An enchantment that conflicts with one already on the item, such as Sharpness with Smite, cannot be added. A barrier on the right of the third row strips every enchantment back off at once.
Editing Player Kit
Editing Player Kit
Only the first 25 applicable enchantments are shown, so a heavily modded server may want to narrow the list down with the whitelist below.
## Stack Size and Durability
Two more hotbar slots accept an item the same way the enchanter slot does, and offer quick values for it: stack sizes of 1, 8, 16, 32 and 64, and durability at 100%, 75%, 50%, 25% and 1% of the item's maximum. Sizes above what the item can actually stack to are greyed out, and the durability slot stays inactive for items that have no durability at all.
Editing Player Kit
Editing Player Kit
Editing Player Kit
## Trim Slot
Dropping a piece of armor into the trim slot turns the picker into a pattern row and a material row, both paginated. Picking one of each applies the trim to the armor, and a barrier on the right of the third row removes it again. Patterns and materials the player has no permission for are shown as a locked tile naming the permission they are missing.
Editing Player Kit
Editing Player Kit
Editing Player Kit
Editing Player Kit
## Saving
Save and Go Back both write the kit and return to the kit list; Reset puts the kit back to how it looked when the screen was opened. Closing with Escape, disconnecting, or a server shutdown all save the kit exactly as saving would, so no work is lost by leaving the wrong way. Dying while a kit is open saves it too and closes the editor, and the player's own inventory comes back once they respawn.
Editing Player Kit
## Enchantment Limits
Two options in the add-on configuration bound what the enchanter can hand out. They have no editor screen, so they are set in the file directly.
```yaml
allowed-enchantments: []
max-enchantment-level: -1
```
An empty whitelist offers every vanilla enchantment. Filling it in restricts the enchanter to the names listed, on top of the usual rule that an enchantment still has to fit the item. A level cap of -1 keeps each enchantment's own vanilla maximum; any positive value replaces that maximum for all of them, which is how you allow Sharpness X.
> **Info:**
The cap only binds the editor. Levels already stored in a player's kit are applied to the item as they are.
## Trim Permissions
Armor trims are gated one pattern and one material at a time, and the nodes are shared with the rest of PhoenixDuels rather than being specific to player kits.
| Permission | Description |
| ---------------------------------------------- | ----------------------------------------------- |
| phoenixplugins.trim.pattern.\ | Allows using the trim pattern matching ``. |
| phoenixplugins.trim.material.\ | Allows using the trim material matching ``. |
Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/player-kits/kit-editor
---
# ๐ฅ Public FFA
## Information
The Public FFA add-on lets admins build free-for-all arenas that players walk into and fight in, each with its own kits, rules, regions, scoreboard and tablist. On top of the arenas it adds the Public Fights, Mob Killing and Hunger Games game modes, player bounties, scheduled King of the Hill events, and per-arena statistics and leaderboards.
Public FFA - Add-on
๐ [You can purchase this add-on on Phoenix Store](https://www.phoenixplugins.com/product/public-ffa-addon)
## Requirements
| Requirement | Needed for |
| --- | --- |
| PhoenixDuels Premium | Everything. The add-on refuses to load on any other edition. |
| Vault and an economy plugin | Bounties. |
| PlaceholderAPI | The [placeholders](statistics.md#placeholders), and placeholders inside scoreboards and tablists. |
| WorldEdit or FastAsyncWorldEdit | Only the WorldEdit regeneration engine. The internal engine needs nothing. |
## Installation
Drag and drop the jar file into the PhoenixDuels/addons folder, then restart your server. The add-on keeps its files in its own PhoenixDuels/public\_ffa folder.
| File | Contents |
| --- | --- |
| `config.yml` | Database, worlds, command names, global arena settings, bounty limits and stats intervals. |
| `ffa_arenas/` | One file per arena. |
| `kits/` | One file per kit. |
| `gamemodes/` | One file per game mode. |
| `events/` | One file per event. |
| `ffa_arena_groups.yml` | Arena groups. |
| `ffa_bounties.yml` | Active bounties and who paid into them. |
| `ffa_signs.yml` | Kit signs and the sign text templates. |
| `menus/` | The player menus: `arenas.yml`, `kits.yml`, `gamemodes.yml`, `bounties.yml` and `confirmation.yml`. |
| `translations/translations.en.yml` | Messages and editor text. |
| `inventory_backups/` | Crash-safe copies of the inventories of players inside an arena. |
> **Info:**
This add-on supports [Folia](../../first-installation.md#version-support), which is still experimental.
Everything else is set up in-game with /ffa editor:
* [Arenas](arenas.md): regions, style, kits, rules, regeneration, Grid Mode and groups.
* [Playing](playing.md): joining, leaving, kit signs, combat log, spectating and menus.
* [Game Modes](game-modes.md): Public Fights, Mob Killing, Hunger Games and bounties.
* [Events](events.md): scheduled King of the Hill.
* [Statistics](statistics.md): stats, leaderboards and placeholders.
## Main Configuration
Most of `config.yml` is also editable from **Settings** in the editor. /ffa reload applies changes without a restart.
| Key | Default | What it does |
| --- | --- | --- |
| `database` | SQLite | Where stats are stored, a local SQLite file or a MySQL server. |
| `plugin.worlds` | `DISABLED_WORLDS`, `world_nether` | Worlds the add-on works in, as a blacklist or a whitelist. An arena in a world that is filtered out refuses every way in. |
| `plugin.stats-update-interval` | 60 | Seconds a daily, monthly or yearly stat placeholder is cached before it is read again. |
| `plugin.leaderboard-fetch-interval` | 60 | Seconds a leaderboard placeholder is cached before it is read again. |
| `commands` | | The name of each command and whether it is registered, plus `leave-alternative`. |
| `global-arena-settings.commands` | `WHITELIST`, empty | Which commands players inside an arena may run. |
| `global-arena-settings.restore-last-inventory` | true | Hand back the inventory a player had before entering. |
| `global-arena-settings.spectator-tablist-prefix` | `&e[S] ` | Prefix in front of spectators' names in the tablist. |
| `global-arena-settings.combat-log.enabled` | true | Combat tagging, see [Combat Log](playing.md#combat-log). |
| `bounties` | 50, 10000, 60 | `min-amount`, `max-amount` and `claim-delay-seconds`, see [Bounties](game-modes.md#bounties). |
## Commands
/ffa also answers to /phoenixffa and /pffa. Run on its own, it lists the subcommands the sender can use.
| Command | Description |
| --- | --- |
| /ffa arenas | Opens the arena selector. Same as /ffaarenas. |
| /ffa kits \ | Opens the kit selector of an arena. |
| /ffa randomtp \ | Sends you into an arena. |
| /ffa stats \ \[player] | Shows your stats in an arena, or those of an online player. |
| /ffa top \ \[metric] \[period] | Shows the top 10 of an arena. Works from the console. |
| /ffa bounties \ | Opens the bounty list of an arena. |
| /ffa bounty set \ \ | Places a bounty on a player. |
| /ffa gamemodes | Opens the game mode selector. |
| /ffa gamemode join \ | Joins a Mob Killing or Hunger Games game mode. |
| /ffa event start \ | Starts an event right away. Admin. |
| /ffa editor | Opens the FFA editor. Admin. |
| /ffa editlayout \