> 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.

{% hint style="success" %}
[**Get Photon Factions on the Unity Asset Store →**](https://www.ninjutsugames.com/go/photon-factions?src=docs_photon_factions_overview)
{% endhint %}

## Requirements

Install [**Game Creator 2**](https://www.ninjutsugames.com/go/game-creator-2?src=docs_photon_factions_requirement_gc2), [**PUN 2**](https://www.ninjutsugames.com/go/photon-pun-2?src=docs_photon_factions_requirement_pun), [**Photon Module 2**](https://www.ninjutsugames.com/go/photon-module-2?src=docs_photon_factions_requirement_core), and [**Factions**](https://www.ninjutsugames.com/go/factions?src=docs_photon_factions_requirement_factions) before installing Photon Factions.

## 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="https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-e03549ba2c70ca7b565c4c19c2359a552d16a0a6%2Fimage.png?alt=media" 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="https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-ce8210d0a57233493718360161c26cd961a038ac%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure></div>

## Faction Network

Synchronizes faction relationships and variables through the network.

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