Interface JoinModule

All Superinterfaces:
ModuleLocalization, ModuleSimple

public interface JoinModule extends ModuleLocalization
Announces that a player joined.
  • Method Details

    • config

      Message.Join config()
      Description copied from interface: ModuleSimple
      The config section this module reads its settings from.
      Specified by:
      config in interface ModuleSimple
      Returns:
      the settings
    • permission

      Description copied from interface: ModuleSimple
      The permission that gates this module.
      Specified by:
      permission in interface ModuleSimple
      Returns:
      the permission
    • localization

      Localization.Message.Join localization(FPlayer fPlayer)
      Description copied from interface: ModuleLocalization
      The localization section for a player, picked from their chosen language.
      Specified by:
      localization in interface ModuleLocalization
      Parameters:
      fPlayer - the player the text is for
      Returns:
      the localization settings
    • isProxyMode

      boolean isProxyMode()
      Whether the proxy announces joins instead of this server, which avoids a duplicate message.
      Returns:
      true if the proxy handles it
    • send

      void send(FPlayer fPlayer, boolean fakeMessage)
      Announces a join.
      Parameters:
      fPlayer - the joining player
      fakeMessage - whether this is a stand-in produced by vanishing rather than a real join
    • send

      void send(FPlayer fPlayer, boolean fakeMessage, boolean checkProxyMode)
      Announces a join.
      Parameters:
      fPlayer - the joining player
      fakeMessage - whether this is a stand-in produced by vanishing
      checkProxyMode - whether to let the proxy announce it instead, to avoid a duplicate