# IScriptPlayer.getFactions [← IScriptPlayer](index.md) · [← Master](../../wiki.md) getFactions() java.util.Set Returns the faction of the npc as a string for each (var faction in c.getSubject().getFactions()){ c.send(faction) }