Interface TranslationManager

All Superinterfaces:
Manager
All Known Implementing Classes:
YamlTranslation

public interface TranslationManager extends Manager
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.kyori.adventure.text.Component
    getMessage(@NotNull String path)
     
    @NotNull net.kyori.adventure.text.Component
    getMessage(@NotNull String path, @NotNull String language)
     
    @NotNull net.kyori.adventure.text.Component
    getMessage(@NotNull String path, @NotNull org.bukkit.OfflinePlayer player)
     
    @NotNull net.kyori.adventure.text.Component
    getMessage(@NotNull String path, @NotNull org.bukkit.command.CommandSender sender)
     

    Methods inherited from interface Manager

    getName
    Modifier and Type
    Method
    Description
    @NotNull String
    Returns name of manager, that will be displayed by request in the logs.
  • Method Details

    • getMessage

      @NotNull @NotNull net.kyori.adventure.text.Component getMessage(@NotNull @NotNull String path)
    • getMessage

      @NotNull @NotNull net.kyori.adventure.text.Component getMessage(@NotNull @NotNull String path, @NotNull @NotNull String language)
    • getMessage

      @NotNull @NotNull net.kyori.adventure.text.Component getMessage(@NotNull @NotNull String path, @NotNull @NotNull org.bukkit.command.CommandSender sender)
    • getMessage

      @NotNull @NotNull net.kyori.adventure.text.Component getMessage(@NotNull @NotNull String path, @NotNull @NotNull org.bukkit.OfflinePlayer player)