Skip to content

Placeholders

Idan edited this page Jul 6, 2024 · 3 revisions

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, and Disabled otherwise
  • %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, and Not Required otherwise

Clone this wiki locally