# 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="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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ninjutsugames.com/game-creator-2/factions/photon-factions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
