Interface QuitModule
- All Superinterfaces:
ModuleLocalization, ModuleSimple
Announces that a player left.
-
Method Summary
Modifier and TypeMethodDescriptionconfig()The config section this module reads its settings from.booleanWhether the proxy announces quits 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 quit.voidAnnounces a quit.voidAnnounces a quit.Methods inherited from interface ModuleLocalization
cooldown, cooldownOrThrow, permissions, sound, soundOrThrow
-
Method Details
-
config
Message.Quit config()Description copied from interface:ModuleSimpleThe config section this module reads its settings from.- Specified by:
configin interfaceModuleSimple- Returns:
- the settings
-
permission
Permission.Message.Quit 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 quits instead of this server, which avoids a duplicate message.- Returns:
- true if the proxy handles it
-
send
Announces a quit.- Parameters:
fPlayer- the leaving playerfakeMessage- whether this is a stand-in produced by vanishing rather than a real quit
-
send
Announces a quit.- Parameters:
fPlayer- the leaving playerfakeMessage- whether this is a stand-in produced by vanishingvanished- whether the player was hidden at the time
-
send
Announces a quit.- Parameters:
fPlayer- the leaving playerfakeMessage- whether this is a stand-in produced by vanishingvanished- whether the player was hidden at the timeintegration- whether the integrations are told about it
-