Characters System

Adds a characters system that lets players have multiple characters.

By TeslaCloud Studios

Modules

Hooks hooks
Characters plugin
Characters lets every player own several characters and play one of them at a time.
hook.Add handlers
Migration that adds the data, ammo, armor and banned columns to the characters table and drops the ammunitions table.
Character class
A character of a player, stored in the characters table.
Migration that creates the characters and ammunitions tables.
Player class
Player extensions of the Characters plugin: the characters of a player and the active one.

Commands

CharBan command
Staff command that bans and unbans characters.
CharPhysDesc command
Command that lets players change the physical description of their own character.
CharSetDesc command
Staff command that sets the physical description of a player's character.
Staff command that sets the gender of the characters of one or more players to male, female or no_gender.
CharSetModel command
Staff command that sets the model of the characters of one or more players.
CharSetName command
Staff command that sets the name of a player's character.

Panels

The character creation screen (fl_char_create), a fullscreen frame that takes the player through a list of stages and then asks the server to create the character.
The general stage of character creation (fl_char_create_general): lets the player pick a gender, enter a name and a physical description, and choose a model and its skin.
The character loading screen (fl_char_load): a fullscreen list with one fl_character_panel for every character of the local player.
Base panel of the stages of character creation (fl_character_creation_base).
A single character of the loading screen (fl_character_panel): shows its model with a button that selects the character and a button that deletes it once the player has typed the name of the character to confirm.
The main menu (fl_main_menu): a fullscreen panel with a sidebar of buttons and at most one submenu open at a time.