[Server Hosting] How to assign a player to a faction - salutesh/DayZ-Expansion-Scripts GitHub Wiki

Return to the summary


Please Note: You can also give a faction to a player with DayZ Expansion Quests, however we wont explain you how in this guide.

1) Finding AISettings.json

Inside your server profile go inside ExpansionMod/Settings/AISettings.json (the server profile is where you will find the crash logs, script logs, rpt, permissionframework, expansionmod, console.log and many other folders related to mods. This folder sadly can be renamed and can be found under many names like "config", "instance", "profile" or "sc" to only name a few)

2) Adding new PlayerFactions

Inside this file you will see a setting similar to this:

"PlayerFactions":[]

This setting allows you to specify what faction your players will be in (randomly). You can find the list here

https://github.com/salutesh/DayZ-Expansion-Scripts/wiki/%5BServer-Hosting%5D-How-to-create-AI-Patrols#faction

Note that all factions ignore the Passive faction.

"PlayerFactions":["West"]
"PlayerFactions":["West","East","Raiders"]