Interface ModuleListLocalization<M extends LocalizationSetting>
- All Superinterfaces:
ModuleLocalization<M>, ModuleSimple
- All Known Implementing Classes:
AutoModule, BrandModule, SidebarModule
public interface ModuleListLocalization<M extends LocalizationSetting>
extends ModuleLocalization<M>
-
Method Summary
Modifier and TypeMethodDescriptiongetAvailableMessages(FPlayer fPlayer) default @Nullable StringgetCurrentMessage(FPlayer fPlayer) default @Nullable StringgetNextMessage(FPlayer fPlayer, boolean random) default @Nullable StringgetNextMessage(FPlayer fPlayer, boolean random, List<String> messages) intgetPlayerIndexOrDefault(int id, int defaultIndex) joinMultiList(List<List<String>> values) intnextInt(int start, int end) voidsavePlayerIndex(int id, int playerIndex) Methods inherited from interface ModuleLocalization
cooldown, cooldownOrThrow, localization, localization, permissionBuilder, sound, soundOrThrowMethods inherited from interface ModuleSimple
childrenBuilder, config, disablePredicate, name, onDisable, onEnable, permission
-
Method Details
-
getAvailableMessages
-
getPlayerIndexOrDefault
int getPlayerIndexOrDefault(int id, int defaultIndex) -
nextInt
int nextInt(int start, int end) -
savePlayerIndex
void savePlayerIndex(int id, int playerIndex) -
joinMultiList
-
getCurrentMessage
-
getNextMessage
-
getNextMessage
-