Factions System

Adds factions that a player's character can be a member of.

By TeslaCloud Studios

Modules

Hooks hooks
Factions plugin
Factions puts every character into a faction, which is also the team of its player.
Migration that creates the whitelists table and adds the faction and rank columns to the characters table.
Faction class
A faction that characters can belong to.
Player class
Player extensions of the Factions plugin: the faction, rank and whitelists of a player.

Commands

Rank command
Command that changes the ranks of players in their factions.
SetFaction command
Staff command that moves players into another faction, named by its whole ID or name.
Whitelist command
Staff command that manages the faction whitelists of players.

Panels

The faction stage of character creation (fl_char_create_faction): shows a button for every faction the local player may join and stores the chosen faction in the character data.