Recognize
Advanced recognize system that allows players to introduce themselves with false name or nickname.
By TeslaCloud Studios
Modules
Hooks hooks
Recognizes plugin
Recognize gives every character a list of the characters it recognizes and the names it knows them by.
Migration that adds foreign keys with ON DELETE CASCADE from the
character_id and target_id columns of the recognizes table to characters, along with an index on each column, so that the database deletes the recognitions a character has and those of it together with the character, also when the character is deleted along with its user.CreateRecognizes object
Migration that creates the
recognizes table, which holds the characters that a character recognizes and the names it knows them by.Player class
Player methods of the Recognize plugin: checking who a player recognizes and under which name, and, on the server, making their character remember and forget others.
Recognize class
A recognition stored for a character, a row of the
recognizes table: the character it belongs to (character_id), the character that is recognized (target_id) and the name that one is known by (name), which is their real name or a false one.Commands
CharClearRecognition command
Staff command that clears the recognitions of the active characters of players: the characters they know, the characters that know them, or both.
CharForget command
Staff command that makes the characters of players forget the characters of other players, as if they had never been introduced to them.
Panels
fl_recognize panel
The recognize menu (
fl_recognize), which the Recognize plugin opens on the ShowTeam key: the player picks who hears the introduction (the player they look at, or everyone within whisper, talk or yell range) and introduces themselves under their real name or a false one.