Class IntegrationModule
java.lang.Object
net.flectone.pulse.module.integration.IntegrationModule
- All Implemented Interfaces:
ModuleSimple
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIntegrationModule(FileFacade fileFacade, com.google.inject.Provider<PlatformServerAdapter> platformServerAdapterProvider, ListenerRegistry listenerRegistry, ModuleController moduleController, com.google.inject.Injector injector) -
Method Summary
Modifier and TypeMethodDescriptionabstract StringcheckMention(FEntity fPlayer, String message) com.google.common.collect.ImmutableSet.Builder<@NonNull Class<? extends ModuleSimple>> config()booleancontainsEnabledChild(Class<? extends ModuleSimple> clazz) deeplTranslate(FPlayer sender, String source, String target, String text) intgetGroupWeight(FPlayer fPlayer) <T> TgetInstance(Class<T> clazz) abstract ExternalModerationabstract StringgetTritonLocale(FPlayer fPlayer) booleanhasFPlayerPermission(FPlayer fPlayer, String permission) abstract booleanhasSeeVanishPermission(FEntity sender) booleanabstract booleanisBedrockPlayer(FEntity fPlayer) abstract booleanabstract booleanisVanished(FEntity sender) name()voidonEnable()abstract booleansendMessageWithInteractiveChat(FEntity fReceiver, net.kyori.adventure.text.Component message) yandexTranslate(FPlayer sender, String source, String target, String text) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ModuleSimple
disablePredicate, onDisable, permissionBuilder
-
Constructor Details
-
IntegrationModule
protected IntegrationModule(FileFacade fileFacade, com.google.inject.Provider<PlatformServerAdapter> platformServerAdapterProvider, ListenerRegistry listenerRegistry, ModuleController moduleController, com.google.inject.Injector injector)
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceModuleSimple
-
childrenBuilder
public com.google.common.collect.ImmutableSet.Builder<@NonNull Class<? extends ModuleSimple>> childrenBuilder()- Specified by:
childrenBuilderin interfaceModuleSimple
-
name
- Specified by:
namein interfaceModuleSimple
-
config
- Specified by:
configin interfaceModuleSimple
-
permission
- Specified by:
permissionin interfaceModuleSimple
-
checkMention
-
isVanished
-
hasSeeVanishPermission
-
sendMessageWithInteractiveChat
public abstract boolean sendMessageWithInteractiveChat(FEntity fReceiver, net.kyori.adventure.text.Component message) -
isMuted
-
isBedrockPlayer
-
getMute
-
getTritonLocale
-
containsEnabledChild
-
getInstance
-
hasFPlayerPermission
-
isAlwaysHaveTruePermission
public boolean isAlwaysHaveTruePermission() -
getPrefix
-
getSuffix
-
getGroups
-
getGroupWeight
-
deeplTranslate
-
yandexTranslate
-