Interface JoinModule
- All Superinterfaces:
ModuleLocalization, ModuleSimple
Announces that a player joined.
-
Method Summary
Modifier and TypeMethodDescriptionconfig()The config section this module reads its settings from.booleanWhether the proxy announces joins instead of this server, which avoids a duplicate message.localization(FPlayer fPlayer) The localization section for a player, picked from their chosen language.The permission that gates this module.voidAnnounces a join.voidAnnounces a join.Methods inherited from interface ModuleLocalization
cooldown, cooldownOrThrow, permissions, sound, soundOrThrow
-
Method Details
-
config
Message.Join config()Description copied from interface:ModuleSimpleThe config section this module reads its settings from.- Specified by:
configin interfaceModuleSimple- Returns:
- the settings
-
permission
Permission.Message.Join permission()Description copied from interface:ModuleSimpleThe permission that gates this module.- Specified by:
permissionin interfaceModuleSimple- Returns:
- the permission
-
localization
Description copied from interface:ModuleLocalizationThe localization section for a player, picked from their chosen language.- Specified by:
localizationin interfaceModuleLocalization- 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
Announces a join.- Parameters:
fPlayer- the joining playerfakeMessage- whether this is a stand-in produced by vanishing rather than a real join
-
send
Announces a join.- Parameters:
fPlayer- the joining playerfakeMessage- whether this is a stand-in produced by vanishingcheckProxyMode- whether to let the proxy announce it instead, to avoid a duplicate
-