Title Manager API
The API for TitleManager
Here you'll find all methods available in the API.
Since
2.0.0
Functions
Adds an animation to the plugin.
Removes an actionbar message that might be on the player's screen.
Removes a subtitle that might be on the player's screen.
Removes a title that might be on the player's screen.
Removes a title and a subtitle that might be on the player's screen.
Checks if the input text contains the pattern ${my-animation}
or the pattern ${my-animation:parameter}
where my-animation
is the animation parameter.
Checks if the input text contains any registered animations following the pattern ${my-animation}
as well as any animations or scripts following the pattern ${my-animation:my-parameter}
. Though the animation or script does need to be registered with the plugin.
Checks if the input text contains the pattern %{my-placeholder}
or the pattern %{my-placeholder:parameter}
where my-placeholder
is the placeholder parameter.
Checks if the input text contains any registered placeholders following the pattern %{my-placeholder}
as well as any placeholders following the pattern %{my-placeholder:my-parameter}
. Though the placeholder does need to be registered with the plugin.
Creates an Animation from the input text and timings values.
Creates an Animation from the name of a loaded JavaScript animation, with the given input text.
Creates an animation from a File. Each line of the file will be converted to an Array and fed into the fromText
Gets an immutable Set of all of the Script names registered.
Gets the title of the given Player's scoreboard.
Gets the text value of the given Player's scoreboard at the given index.
Gives the Player a scoreboard as a sidebar.
Gives the Player a scoreboard as a sidebar.
Checks whether or not the given Player has a scoreboard assigned.
Removes an animation from the plugin.
Removes the scoreboard sidebar from the given player.
Removes the text value of the given Player's scoreboardat the given index.
Replaces the text with any placeholders that follow the pattern %{my-placeholder}
as well as any placeholders following the pattern %{my-placeholder:my-parameter}
.
Sends an actionbar message to the Player.
Sends an actionbar message to the Player where all placeholders are replaced.
Sends an actionbar message to the Player where all placeholders are replaced. If animations or scripts are available, they will be shown.
Sends a subtitle message to the given Player where all placeholders have been replaced and with the given timings. If animations or scripts are available, they will be shown.
Sends a title message to the given Player with the given timings where all placeholders have been replaced and with the given timings. If animations or scripts are available, they will be shown.
Sends a title and a subtitle message to the given Player where all placeholders are replaced and with the given timings. If animations or scripts are available, they will be shown.
Sends a subtitle message to the given Player. This will also use the last sent timings.
Sends a subtitle message to the given Player with the given timings as well as the given subtitles.
Sends a subtitle message to the given Player where all placeholders have been replaced. This will also use the last sent timings.
Sends a subtitle message to the given Player where all placeholders have been replaced and with the given timings.
Sends a title and a subtitle message to the given Player where all placeholders are replaced.
Sends a title and a subtitle message to the given Player where all placeholders are replaced and with the given timings.
Sends a title message to the given Player where all placeholders have been replaced. This will also use the last sent timings.
Sends a title message to the given Player with the given timings where all placeholders have been replaced and with the given timings.
Sets the player list footer for the given Player where all placeholders are replaced.
Sets the player list header and footer for the given Player.
Sets the player list header and footer for the given Player where all placeholders are replaced.
Sets the player list header for the given Player where all placeholders are replaced.
Sets the player list footer for the given Player where all placeholders are replaced. If animations or scripts are available, they will be shown.
Sets the player list header for the given Player where all placeholders are replaced. If animations or scripts are available, they will be shown.
Sets the player list header and footer for the given Player where all placeholders are replaced. If animations or scripts are available, they will be shown.
Sets the title of the given Player's scoreboard, if they have one assigned.
Sets the text value of the given Player's scoreboard at the given index.
Sets the title of the given Player's scoreboard, if they have one assigned.
Sets the title of the given Player's scoreboard, if they have one assigned.
Sets the text value of the given Player's scoreboard at the given index.
Sets the text value of the given Player's scoreboard at the given index.
Creates a SendableAnimation that sends Actionbar messages to the player.
Creates an AnimationPart from an Animation
Creates an AnimationPart from a String
Converts the text found to an immutable list of AnimationParts with values of String or Animation
Creates a SendableAnimation that sets the Tab List footer.
Creates a SendableAnimation that sets the Tab List header.
Creates a SendableAnimation that sets the title for the player's scoreboard.
Creates a SendableAnimation that sets the text value for the player's scoreboard at the given index.
Creates a SendableAnimation that sends Subtitles to the player.
Creates a SendableAnimation that sends Titles to the player.