# Photon Stats

{% hint style="danger" %}
**Having troubles?** Join our channel in Game Creator's [**Discord server**](https://discord.com/invite/99bbWBzKDX) for realtime discussions.
{% endhint %}

This is a module made for **Game Creator** that seamlessly integrates **Photon Unity Networking** and **Stats**, this allows you to have networking in your game with just few clicks and without writing a single line of code.

{% embed url="<https://www.youtube.com/watch?v=zIza220kNyA>" %}

{% hint style="info" %}
To learn more about [Photon Unity Networking](https://doc.photonengine.com/en-us/pun/current/demos-and-tutorials/pun-basics-tutorial/intro) head out to their [website](https://doc.photonengine.com/en-us/pun/current/demos-and-tutorials/pun-basics-tutorial/intro).
{% endhint %}

{% hint style="success" %}
Try the [**Demo**](https://hjupter.itch.io/photon-stats-game-creator-2) now!
{% endhint %}

## Key features <a href="#key-features" id="key-features"></a>

* Complete Character **Traits** synchronization
* **Stats** synchronization
* **Attributes** synchronization
* **Status Effects** synchronization
* Compatible with all GC modules.

{% hint style="success" %}
All actions and conditions are compatible with other Game Creator modules.
{% endhint %}

## Setup <a href="#setup" id="setup"></a>

You'll first need to have Game Creator 2, Photon Module 2, Stats and Photon Unity Networking 2 installed.

The process is simple:

1. Install **Photon Unity Networking 2** from [**here**](https://www.assetstore.unity3d.com/en/#!/content/1786).
2. Install [**Game Creator 2**](https://assetstore.unity.com/packages/tools/game-toolkits/game-creator-2-203069)
3. Install [**Stats 2**](https://assetstore.unity.com/packages/tools/utilities/stats-2-206959)
4. Install [**Photon Module 2**](https://assetstore.unity.com/packages/tools/network/photon-module-2-game-creator-2-248274)

Finally bring up the ***Game Creator Install Window*** select the **Photon Stats** package and install it.

<figure><img src="https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-e334846b05c0a1520c65eab9ab16a4bf5a47eaa1%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
This module requires [**Game Creator 2**](https://assetstore.unity.com/packages/tools/game-toolkits/game-creator-2-203069) and [**Photon Unity Network 2**](https://assetstore.unity.com/packages/tools/network/pun-2-free-119922) and won't work without it. Don't attempt to extract the package inside the Plugins/ folder as it will throw some errors.
{% endhint %}
