# ❄️ Spleef

## Information

The Spleef add-on adds the well known Spleef gamemode to the plugin.

<figure><img src="../.gitbook/assets/tdu42ozjettmcys23yy7uzeij8ox.png" alt="" width="188"><figcaption><p>Spleef Add-On</p></figcaption></figure>

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

### Installation <a href="#installation" id="installation"></a>

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 Spleef. 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.&#x20;

Both only apply to players in a running Spleef match and to snow blocks inside that arena's battle region. Snow anywhere else, and any block another plugin protects, is left alone.

## Action Bar

The Spleef rule can show an action bar with the players each team has left. 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/spleef