sendFormattedTitle
Sends a formatted title and subtitle to the current player or client system (P).
This method provides a customizable title display with configurable transition timings for fading in, staying, and fading out.
Parameters
The title text to be displayed. Defaults to an empty string if not provided.
The subtitle text to be displayed. Defaults to an empty string if not provided.
The duration (in ticks) for the fade-in animation. Must be between 0 and 72,000.
The duration (in ticks) that the title will remain visible. Must be between 0 and 72,000.
The duration (in ticks) for the fade-out animation. Must be between 0 and 72,000.
Sends a formatted title and subtitle to the current player. The title and subtitle are displayed in the player's title bar.
Parameters
The main title text to be displayed. Defaults to an empty string.
The subtitle text to be displayed below the main title. Defaults to an empty string.