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, init, isEnabled
    Modifier and Type
    Method
    Description
    Returns name of manager, that will be displayed by request in the logs.
    void
    Initialization of manager.
    boolean
    Checks if manager is ready to work.
  • 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)