# 🕊️ Double Jump

> **Info:**
This module is configured in **modules/double-jump.yml** inside the PhoenixLobby folder.

## Double Jump

With Double Jump, players press space twice to launch themselves forward, similar to a jetpack. The jump is given back as soon as they land on a solid block. Open it from **Editor > Modules > Double Jump**.

<figure><img src="../.gitbook/assets/double-jump/double-jump.png" alt="" width="563"><figcaption><p>Modules (Double Jump)</p></figcaption></figure>

## Cooldown

With this option, you can change how many seconds a player has to wait before jumping again.

<figure><img src="../.gitbook/assets/double-jump/cooldown.png" alt="" width="563"><figcaption><p>Double Jump (Cooldown)</p></figcaption></figure>

## Forward Power

With this option, you can change how far the player is thrown, in the direction they are looking. A higher value sends them further.

<figure><img src="../.gitbook/assets/double-jump/forward-power.png" alt="" width="563"><figcaption><p>Double Jump (Forward Power)</p></figcaption></figure>

## Up Power

With this option, you can change how high the player is thrown.

<figure><img src="../.gitbook/assets/double-jump/up-power.png" alt="" width="563"><figcaption><p>Double Jump (Up Power)</p></figcaption></figure>

> **Info:**
Both powers are capped at 4. Higher values are ignored.

## Effect Type

With this option, you can change the particle effect that follows the player after the jump. Five effects are available: None, Spiral, Double Spiral, Noise and Trail.

<figure><img src="../.gitbook/assets/double-jump/effect-type.png" alt="" width="563"><figcaption><p>Double Jump (Effect Type)</p></figcaption></figure>

## Actions

With this option, you can edit the actions that are executed every time a player double jumps, which is handy for playing a sound alongside the launch. Every [action type](../plugin-information/action-types.md) is available here.

<figure><img src="../.gitbook/assets/double-jump/actions.png" alt="" width="563"><figcaption><p>Double Jump (Actions)</p></figcaption></figure>

## Feature State

With this option, you can turn the double jump off completely without clearing the rest of the settings.

<figure><img src="../.gitbook/assets/double-jump/feature-state.png" alt="" width="563"><figcaption><p>Double Jump (Feature State)</p></figcaption></figure>

## Permission

By default every player can double jump. Turning the permission requirement on in the config limits it to players with phoenixlobby.doublejump.use.

Players with phoenixlobby.bypass.doublejump always wait 1 second instead of the configured cooldown.

<figure><img src="../.gitbook/assets/additional_double_jump-ezgif.com-video-to-gif-converter.gif" alt="" width="563"><figcaption><p>Double Jump - In-Game</p></figcaption></figure>

> **Warning:**
Double jump is skipped for players in creative or spectator mode, for players kept flying by [Fly on Join](join-actions.md), and while fighting if the [PvP](lobby-pvp.md) restrictions disable it.

Source: https://www.phoenixplugins.com/docs/phoenix-lobby/modules/double-jump