> For the complete documentation index, see [llms.txt](https://docs.ninjutsugames.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ninjutsugames.com/game-creator-2/factions/photon-factions.md).

# Photon Factions

## Overview

The **Photon Factions** submodule integrates Photon Unity Networking with the Factions module, ensuring that all faction-related data is synchronized across the network.\
This includes:

* Synchronizing member faction points
* Joined factions
* Relationships
* And variables.

## Setup

Once you have the package downloaded in your project just open **Game Creator Install** window and select Photon > Factions sub module and install it.

<figure><img src="/files/yKca7rHMq643AyXTn96m" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
This package will add 2 new network components, **MemberNetwork** and **FactionNetwork**
{% endhint %}

## Member Network

Synchronizes member faction points and current joined factions across the network.

<div align="left"><figure><img src="/files/6fLxhmjRHEvclWAveCSk" alt="" width="375"><figcaption></figcaption></figure></div>

## Faction Network

Synchronizes faction relationships and variables through the network.

<div align="left"><figure><img src="/files/RfrAoa9ubcbuyLRXrinm" alt=""><figcaption></figcaption></figure></div>
