Placeholders - LielAmar/2FA GitHub Wiki
2FA Placeholders
Two-factor authentication supports PlaceholderAPI and even includes custom placeholders!
Custom Placeholders
%2fa_is_enabled%
- Description: Returns
Enabled
if the player has 2FA enabled, andDisabled
otherwise
- Description: Returns
%2fa_time_since_enabled%
- Description: Returns a String representing the time passed since the player enabled their 2FA
- Example result:
2 years, 11 months, 18 days, 10 hours, 24 minutes, 53 seconds
%2fa_key%
- Description: Returns the 2FA key of the player
%2fa_is_required%
- Description: Returns
Required
if the player is required to have 2FA enabled, andNot Required
otherwise
- Description: Returns