# 🪓 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.

<figure><img src="../../.gitbook/assets/Player Kits.png" alt="" width="188"><figcaption><p>Player Kits - Add-on</p></figcaption></figure>

:point\_right: [You can purchase this add-on on Phoenix Store](https://www.myphoenixstore.com/en/items/player-kits-addon)

## Installation&#x20;

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.<br>

> **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.

<figure><img src="../../.gitbook/assets/add-ons/player-kits/loadout-player-kit.png" alt="" width="563"><figcaption><p>Editor > Modes > Mode</p></figcaption></figure>

## 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.

<figure><img src="../../.gitbook/assets/add-ons/player-kits/loadout-shared-player-kit.png" alt="" width="563"><figcaption><p>Editor > Modes > Mode</p></figcaption></figure>

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.

## Extended Premade Kits

The categories also power [Extended Kit](../../main-features/create-a-kit.md#extended-kit) on premade kits: with it on, players add extra items from the allowed categories on top of a server kit such as Crystal, from that kit's layout screen, and fight with them in every mode that uses the kit. Each kit picks which categories are allowed and how many extra items a player may add. See [Kit Editor](../../features/kit-editor.md#extra-items-extended-kits).

## Create Kit Category

To configure the Player Kits, open the in-game editor and access it from the main menu.

<figure><img src="../../.gitbook/assets/configure.png" alt=""><figcaption><p>In-Game Editor</p></figcaption></figure>

### 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.

<figure><img src="../../.gitbook/assets/Screenshot 2025-03-03 013855.png" alt=""><figcaption><p>Add Category</p></figcaption></figure>

### Reordering

You can use the reordering option to sort the categories in your desired order for the menu.

<figure><img src="../../.gitbook/assets/Untitledvideo-MadewithClipchamp99-ezgif.com-video-to-gif-converter.gif" alt="" width="563"><figcaption><p>Reordering Categories</p></figcaption></figure>

## 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.

<figure><img src="../../.gitbook/assets/Untitledvideo-MadewithClipchamp-2025-03-03T024109.285-ezgif.com-video-to-gif-converter (2).gif" alt="" width="563"><figcaption><p>Display Item</p></figcaption></figure>

### 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.

<figure><img src="../../.gitbook/assets/Screenshot 2025-03-03 024506.png" alt="" width="563"><figcaption><p>Category Identifier</p></figcaption></figure>

### 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.

<figure><img src="../../.gitbook/assets/Screenshot 2025-03-03 024801.png" alt="" width="563"><figcaption><p>Category Menu</p></figcaption></figure>

### Delete a Category

With this option, you can delete a kit category.

<figure><img src="../../.gitbook/assets/Screenshot 2025-03-03 025114.png" alt="" width="563"><figcaption><p>Delete Category</p></figcaption></figure>

> **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.

<figure><img src="../../.gitbook/assets/Screenshot 2025-03-03 031243.png" alt="" width="563"><figcaption><p>items</p></figcaption></figure>

### Reordering

You can use the reordering option to sort the items in your desired order for the category menu.

<figure><img src="../../.gitbook/assets/Untitledvideo-MadewithClipchamp-2025-03-03T031549.863-ezgif.com-video-to-gif-converter.gif" alt="" width="563"><figcaption><p>Reordering Rewards</p></figcaption></figure>

### 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.

<figure><img src="../../.gitbook/assets/Untitledvideo-MadewithClipchamp-2025-03-03T032454.207-ezgif.com-video-to-gif-converter.gif" alt="" width="563"><figcaption><p>Edit Item</p></figcaption></figure>

### 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.

<figure><img src="../../.gitbook/assets/Screenshot 2025-03-03 032756.png" alt="" width="563"><figcaption><p>Target Slot</p></figcaption></figure>

### Remove Item

With this option you can delete an item.

<figure><img src="../../.gitbook/assets/Screenshot 2025-03-03 032945.png" alt="" width="563"><figcaption></figcaption></figure>

> **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.

<figure><img src="../../.gitbook/assets/Screenshot 2025-03-03 020242.png" alt="" width="563"><figcaption><p>Default Slots</p></figcaption></figure>

As shown below, the user has access to only 3 custom kits, as specified above.<br>

<figure><img src="../../.gitbook/assets/Screenshot 2025-03-03 020526.png" alt="" width="563"><figcaption><p>Locked Slots</p></figcaption></figure>

### 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.

<figure><img src="../../.gitbook/assets/Screenshot 2025-03-03 020912.png" alt="" width="563"><figcaption><p>Permission Slots</p></figcaption></figure>

### Add Permission Slots

To create a new permission slot, simply click on the green stained glass.

<figure><img src="../../.gitbook/assets/Screenshot 2025-03-03 021330.png" alt=""><figcaption><p>Add Permission Slot</p></figcaption></figure>

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

<figure><img src="../../.gitbook/assets/Untitledvideo-MadewithClipchamp100-ezgif.com-video-to-gif-converter.gif" alt="" width="563"><figcaption><p>Permission Slot</p></figcaption></figure>

> **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.

## Default Kits

Default kits are ready-made kits every player starts with, so nobody has to build one from scratch. They live in the Default Kits button of the Player Kits editor, and each one is built with the same kit editor players use, from the categories and items above.

Left-Click the green stained glass pane to add a default kit, and Left-Click an entry to open it. Turn on Reordering to change the order, which is also the order defaults fill a player's slots in.

### Name

The name that tells the default kits apart in the editor. Players never see it.

### Edit Kit

Opens the kit editor on the default kit. Saving a change publishes a new version of it.

### Delete Default Kit

Right-Click, then confirm, to delete the default kit. Players who already have a copy keep it as a normal kit.

### How Defaults Reach Players

* Defaults only fill empty kit slots, within the player's slot limit, for new and existing players alike. A kit the player built is never overwritten.
* An empty default kit is skipped until it has items.
* A player who never edited their copy gets every new version you save. Once they edit it, they keep their own until they press Reset to Default in the kit editor.
* Slots are filled when the player opens their kits or enters a Player Kit match.

Source: https://www.phoenixplugins.com/docs/phoenix-duels/add-ons/player-kits