> For the complete documentation index, see [llms.txt](https://plugn-play.gitbook.io/ultimate-dice-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plugn-play.gitbook.io/ultimate-dice-system/quick-start.md).

# Quick Start

Add the dice system to a level without replacing your GameMode or character.

## Try the included demo

Open `Levels/L_Demo` and play. The demo GameMode calls the manager's initialization event after a short delay. Use **left mouse button** to throw; the HUD shows the current size, dice count and enabled features.

See [Input and HUD](https://plugn-play.gitbook.io/ultimate-dice-system/input-and-hud.md) for the complete control list.

## Add Dice to your project

{% stepper %}
{% step %}

## Bring in the asset and its dependencies

Add the asset to a project using the Unreal Engine version supported by your Fab download. When transferring between projects, use Unreal's **Migrate** workflow so referenced meshes, materials, audio, VFX and input assets travel with the Blueprints.

Enable **Enhanced Input** and **Niagara** in the destination project if they are not already enabled.
{% endstep %}

{% step %}

## Create your settings preset

Duplicate `Blueprints/Data/DA_DiceConfig_Default` and give the copy a project-specific name. Edit the copy's settings.

For an initial setup, leave **Can Roll** on, **Starting Dice Count** at 1, and **Forced Result** at 0.
{% endstep %}

{% step %}

## Place the manager

Place one `BP_DiceManager` in the level and assign your preset to its **Dice Configuration** property.

Keep your existing GameMode, PlayerController and pawn. Do not manually add one thrower per player; the manager creates them.
{% endstep %}

{% step %}

## Initialize on the server

From your game's startup flow, obtain the placed manager and call **InitializeDiceManager** on the authority/server after your player setup is ready. A reference from the Level Blueprint or a server-side GameMode startup flow can do this.

The manager does **not** initialize itself from BeginPlay. Calling the event only on a remote client will not initialize the server.
{% endstep %}

{% step %}

## Check controller eligibility and possession

If **Initialize Only Tagged Controllers** is enabled, add the configured Actor Tag to each eligible **PlayerController on the server** before initialization. The default tag name is `DiceThrower`.

In the current default preset the filter is disabled. With filtering disabled, controllers do not need that tag. A player still needs a possessed pawn for a throw to spawn.
{% endstep %}

{% step %}

## Throw a batch

Play in a level with a collision-enabled surface and room in front of the pawn. Click the game viewport, then press **left mouse button**. Increase the batch count with **Up Arrow** and decrease it with **Down Arrow**.
{% endstep %}
{% endstepper %}

## Expected result

The manager creates a player-owned `BP_DiceThrower`. Its owning client installs the input mapping and creates the HUD. The server spawns dice, applies the selected configuration and starts their physics motion. Once results are resolved, the batch updates the history and emits `RollResults`.

If nothing happens, start with [Troubleshooting](https://plugn-play.gitbook.io/ultimate-dice-system/troubleshooting.md).
