BROKE PROTOCOL

BROKE PROTOCOL

26 ratings
Identity Plugin
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
13.824 KB
25 Feb, 2021 @ 8:16am
12 Nov, 2024 @ 12:42pm
15 Change Notes ( view )

Subscribe to download
Identity Plugin

Description
Identity Plugin

Stop asking your players to use a roleplay username!
This plugin creates a virtual ID card for your character.

Features:
- Character identity:
Players have to choose a first name, second name, and an age if they don't have one.

- Anti-Metagaming:
You can choose to show/hide players names.

- Localization:
You can create a lang file to translate the plugin into the language you want.

- Command customization:
You can change the command to whatever you want.

- Staff commands:
You can verify, delete, create, modify players identity.


Settings:
(Plugins/settings/Identity Plugin/settings.json)

ServerYearOffset: Set the year offset to the current year (Integer)
StaticYear: Should the year be the number set in ServerYearOffset? (True / False)
DateFormat: Date format string ("Custom date format")
ShowNames: Show player name? (True / False)
Lang: Lang file to use/generate ("Text")


Localization:
(Plugins/settings/Identity Plugin/Localization/{Lang}.json)

Command: Command to type to show your id card ("Text")
FirstNameTitle: Title of the first name panel
LastNameTitle: Title of the second name panel
BirthdateTitle: Title of the birthdate panel
IdentityText: Response to the command ({0} = ID, {1} = first name, {2} = second name, {3} = age)
CloseButton: Text of the close button


Staff permissions:
id.verifyID = check if a player has an identity
id.deleteID = delete a player identity
id.createID = create a player identity
id.editID = modify a player identity


NOTES:
- Settings & Localization are generated after first plugin launch.
- Permission to show your id is id.YourCommand (eg: id.identity)
7 Comments
LifeBP 15 Mar @ 4:57pm 
that an error that because of this plugin we can't click on the option menu button like the fedora admin menu
TheUnishark  [author] 25 May, 2023 @ 8:27am 
The name above the head and chat are "linked", To explain quickly how it works it changes the "Display Name" from the game (as changing the username would break your account), the display name is what the game uses in the chat box, above the head, and a few other things.

By default in the game the display name is made of your group tag (eg: [Owner]) and your username.
If it shows the wrong name in the phone, it's because the phone is hardcoded to use usernames instead of display names.
I will report this issue but this is not sure it gets fixed because showing the display name in the phone might become an issue without this plugin.

Thanks for telling me, I was not aware of this problem.
Myst Leissa 24 May, 2023 @ 4:42pm 
Also as a request, would be be possible to configure where the "Identity" is displayed instead of a master toggle? (like f.e. Above the Head Only, or Only in Chat, etc)
Myst Leissa 24 May, 2023 @ 4:36pm 
Little issue: With Show Names set to "Hide" the real username shows up in the radio section (and other sections) of the phone app.
TheUnishark  [author] 12 May, 2021 @ 3:31pm 
Sadly it's not possible yet. i'd love to make it an object too
Hesoyam514 12 May, 2021 @ 2:36pm 
:AOEKnight:
Hesoyam514 12 May, 2021 @ 2:36pm 
So far this mod is TOTALLY GOOD, but the problem is that does not show "group tags" on the tab like: [Owner], admin, civil. I would like this mod to be an object, like a license as a card, as a real document that you can see in the game, you know.