Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractMindustryPlugin - Class in com.xpdustry.distributor.common.plugin
-
An abstract implementation of
MindustryPlugin, without the quirks ofPlugin(like the fact thatAbstractMindustryPlugin.registerServerCommands(CommandHandler)is called beforeAbstractMindustryPlugin.init()). - AbstractMindustryPlugin() - Constructor for class com.xpdustry.distributor.common.plugin.AbstractMindustryPlugin
- addListener(PluginListener) - Method in class com.xpdustry.distributor.common.plugin.AbstractMindustryPlugin
- addListener(PluginListener) - Method in interface com.xpdustry.distributor.common.plugin.MindustryPlugin
-
Adds a
PluginListenerto this plugin. - addLocalizationSource(LocalizationSource) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSourceManager
-
Adds a localization source to the list of sources.
- arc() - Static method in interface com.xpdustry.distributor.common.scheduler.PluginTimeSource
-
Returns a
PluginTimeSourceusingTime.globalTimeto provide the current time. - ArcCollections - Class in com.xpdustry.distributor.common.collection
-
A utility class for wrapping arc collections into standard java collections.
- asBoolean() - Method in enum class com.xpdustry.distributor.common.permission.TriState
- async() - Element in annotation interface com.xpdustry.distributor.common.annotation.TaskHandler
-
Whether the task should be executed asynchronously.
- async(boolean) - Method in interface com.xpdustry.distributor.common.scheduler.PluginTask.Builder
B
- builder() - Static method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
C
- cancel() - Method in interface com.xpdustry.distributor.common.scheduler.Cancellable
-
Cancels the task bound to this
Cancellable. - Cancellable - Interface in com.xpdustry.distributor.common.scheduler
-
A
Cancellableis used to cancel a task. - checkUsid(String) - Static method in class com.xpdustry.distributor.common.player.MUUID
-
Throws an
IllegalArgumentExceptionif the given string is not a valid USID. - checkUuid(String) - Static method in class com.xpdustry.distributor.common.player.MUUID
-
Throws an
IllegalArgumentExceptionif the given string is not a valid UUID. - clear() - Static method in class com.xpdustry.distributor.common.DistributorProvider
-
Clears the global
Distributorfactory. - com.xpdustry.distributor.common - package com.xpdustry.distributor.common
- com.xpdustry.distributor.common.annotation - package com.xpdustry.distributor.common.annotation
- com.xpdustry.distributor.common.collection - package com.xpdustry.distributor.common.collection
- com.xpdustry.distributor.common.command - package com.xpdustry.distributor.common.command
- com.xpdustry.distributor.common.event - package com.xpdustry.distributor.common.event
- com.xpdustry.distributor.common.internal - package com.xpdustry.distributor.common.internal
- com.xpdustry.distributor.common.localization - package com.xpdustry.distributor.common.localization
- com.xpdustry.distributor.common.permission - package com.xpdustry.distributor.common.permission
- com.xpdustry.distributor.common.player - package com.xpdustry.distributor.common.player
- com.xpdustry.distributor.common.plugin - package com.xpdustry.distributor.common.plugin
- com.xpdustry.distributor.common.scheduler - package com.xpdustry.distributor.common.scheduler
- com.xpdustry.distributor.common.service - package com.xpdustry.distributor.common.service
- com.xpdustry.distributor.common.util - package com.xpdustry.distributor.common.util
- CommandDescription - Interface in com.xpdustry.distributor.common.command
- CommandElement - Interface in com.xpdustry.distributor.common.command
- CommandElement.Argument - Interface in com.xpdustry.distributor.common.command
- CommandElement.Argument.Kind - Enum Class in com.xpdustry.distributor.common.command
- CommandElement.Flag - Interface in com.xpdustry.distributor.common.command
- CommandFacade - Interface in com.xpdustry.distributor.common.command
- CommandFacadeManager - Interface in com.xpdustry.distributor.common.command
- CommandHelp - Interface in com.xpdustry.distributor.common.command
- CommandHelp.Empty - Class in com.xpdustry.distributor.common.command
- CommandHelp.Entry - Interface in com.xpdustry.distributor.common.command
- CommandHelp.Suggestion - Interface in com.xpdustry.distributor.common.command
- CommandSender - Interface in com.xpdustry.distributor.common.command
- convert(long, MindustryTimeUnit) - Method in enum class com.xpdustry.distributor.common.scheduler.MindustryTimeUnit
-
Converts the given duration in the given time unit to this time unit.
- create() - Static method in interface com.xpdustry.distributor.common.command.CommandFacadeManager
- create() - Static method in interface com.xpdustry.distributor.common.event.EventManager
- create() - Static method in interface com.xpdustry.distributor.common.localization.LocalizationSourceManager
-
Creates a new
MultiLocalizationSourceinstance. - create() - Static method in interface com.xpdustry.distributor.common.permission.PermissionTree
- create() - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata.Builder
- create() - Static method in interface com.xpdustry.distributor.common.service.ServiceManager
- create(CommandHandler.Command) - Method in interface com.xpdustry.distributor.common.command.CommandFacadeManager
- create(MindustryPlugin, PluginTimeSource, int) - Static method in interface com.xpdustry.distributor.common.scheduler.PluginScheduler
- create(Locale) - Static method in interface com.xpdustry.distributor.common.localization.LocalizationSourceRegistry
-
Creates a new
LocalizationSourceRegistryinstance.
D
- DAYS - Enum constant in enum class com.xpdustry.distributor.common.scheduler.MindustryTimeUnit
-
Time unit representing twenty-four hours.
- delay() - Element in annotation interface com.xpdustry.distributor.common.annotation.TaskHandler
-
The initial delay before the first execution of the task.
- delay(long, MindustryTimeUnit) - Method in interface com.xpdustry.distributor.common.scheduler.PluginTask.Builder
-
Run the task after a delay.
- Distributor - Interface in com.xpdustry.distributor.common
- DistributorCommonPlugin - Class in com.xpdustry.distributor.common
- DistributorCommonPlugin() - Constructor for class com.xpdustry.distributor.common.DistributorCommonPlugin
- DistributorDataClass - Annotation Interface in com.xpdustry.distributor.common.internal
- DistributorInitializationException - Exception in com.xpdustry.distributor.common
-
This exception is thrown when the distributor fails to initialize.
- DistributorProvider - Class in com.xpdustry.distributor.common
-
A holder for the global
Distributorfactory.
E
- empty() - Static method in interface com.xpdustry.distributor.common.permission.PermissionTree
- equals(Object) - Method in class com.xpdustry.distributor.common.player.MUUID
- EventHandler - Annotation Interface in com.xpdustry.distributor.common.annotation
-
Marks a method as an event handler, meaning it will be called by a
EventManagerwhen its corresponding event is posted. - EventManager - Interface in com.xpdustry.distributor.common.event
-
The event bus of this server.
- EventSubscription - Interface in com.xpdustry.distributor.common.event
-
A subscription to an event.
- execute(Runnable) - Method in interface com.xpdustry.distributor.common.scheduler.PluginTask.Builder
-
Build and schedule the task with the given task.
- execute(Consumer<Cancellable>) - Method in interface com.xpdustry.distributor.common.scheduler.PluginTask.Builder
-
Build and schedule the task with the given task.
- execute(Supplier<V>) - Method in interface com.xpdustry.distributor.common.scheduler.PluginTask.Builder
-
Build and schedule the task with the given task.
F
- FALSE - Enum constant in enum class com.xpdustry.distributor.common.permission.TriState
- format(String, Locale, Object...) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSource
-
Shorthand method to directly format a localized string, with a failover to a default value
???key???. - from(PluginMetadata) - Static method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
- from(Class<? extends Plugin>) - Static method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the plugin descriptor of the given plugin class.
- from(ClassLoader) - Static method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the plugin descriptor of the given class loader.
- from(Mods.ModMeta) - Static method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Creates a new
PluginMetadatafrom aMods.ModMeta. - from(Plugin) - Static method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the plugin descriptor of the given plugin.
G
- get() - Static method in class com.xpdustry.distributor.common.DistributorProvider
-
Returns the global
Distributorfactory. - getAliases() - Method in interface com.xpdustry.distributor.common.command.CommandElement
- getArguments() - Method in interface com.xpdustry.distributor.common.command.CommandHelp.Entry
- getAuthor() - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the author of the plugin.
- getChildSuggestions() - Method in interface com.xpdustry.distributor.common.command.CommandHelp.Suggestion
- getClazz() - Method in interface com.xpdustry.distributor.common.service.ServiceManager.Provider
- getCommandFacadeFactory() - Method in interface com.xpdustry.distributor.common.Distributor
- getCommandFacadeFactory() - Method in class com.xpdustry.distributor.common.DistributorCommonPlugin
- getConfig() - Method in class com.xpdustry.distributor.common.plugin.AbstractMindustryPlugin
-
Deprecated.
- getCurrentTicks() - Method in interface com.xpdustry.distributor.common.scheduler.PluginTimeSource
- getDecodedUsid() - Method in class com.xpdustry.distributor.common.player.MUUID
-
Returns the USID as decoded bytes.
- getDecodedUuid() - Method in class com.xpdustry.distributor.common.player.MUUID
-
Returns the UUID as decoded bytes.
- getDefaultLocale() - Method in interface com.xpdustry.distributor.common.localization.LocalizationSourceRegistry
-
Returns the default locale of this source.
- getDependencies() - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the dependencies of the plugin.
- getDescription() - Method in interface com.xpdustry.distributor.common.command.CommandElement
- getDescription() - Method in interface com.xpdustry.distributor.common.command.CommandFacade
- getDescription() - Method in interface com.xpdustry.distributor.common.command.CommandHelp.Entry
- getDescription() - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the description of the plugin.
- getDirectory() - Method in interface com.xpdustry.distributor.common.plugin.MindustryPlugin
-
Returns the plugin data directory.
- getDisplayName() - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the display name of the plugin.
- getEventManager() - Method in interface com.xpdustry.distributor.common.Distributor
- getEventManager() - Method in class com.xpdustry.distributor.common.DistributorCommonPlugin
- getFactory() - Method in interface com.xpdustry.distributor.common.service.ServiceManager.Provider
- getFlags() - Method in interface com.xpdustry.distributor.common.command.CommandHelp.Entry
- getHelp(CommandSender, String) - Method in interface com.xpdustry.distributor.common.command.CommandFacade
- getInstance() - Static method in class com.xpdustry.distributor.common.command.CommandHelp.Empty
- getJavaTimeUnit() - Method in enum class com.xpdustry.distributor.common.scheduler.MindustryTimeUnit
-
Returns the Java time unit associated with this Mindustry time unit, if any.
- getKind() - Method in interface com.xpdustry.distributor.common.command.CommandElement.Argument
- getListeners() - Method in class com.xpdustry.distributor.common.plugin.AbstractMindustryPlugin
-
Returns an unmodifiable list of the listeners registered to this plugin.
- getLocale() - Method in interface com.xpdustry.distributor.common.command.CommandSender
- getLocalizationSourceManager() - Method in interface com.xpdustry.distributor.common.Distributor
- getLocalizationSourceManager() - Method in class com.xpdustry.distributor.common.DistributorCommonPlugin
- getLogger() - Method in class com.xpdustry.distributor.common.plugin.AbstractMindustryPlugin
- getLogger() - Method in interface com.xpdustry.distributor.common.plugin.MindustryPlugin
-
Returns the logger bound to this plugin.
- getLongestSharedPath() - Method in interface com.xpdustry.distributor.common.command.CommandHelp.Suggestion
- getMainClass() - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the main class of the plugin.
- getMetadata() - Method in class com.xpdustry.distributor.common.plugin.AbstractMindustryPlugin
- getMetadata() - Method in interface com.xpdustry.distributor.common.plugin.MindustryPlugin
-
Returns the metadata of this plugin.
- getMinGameVersion() - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the minimum game version required by the plugin.
- getName() - Method in interface com.xpdustry.distributor.common.command.CommandElement
- getName() - Method in interface com.xpdustry.distributor.common.command.CommandFacade
- getName() - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the name of the plugin.
- getPermission(String) - Method in interface com.xpdustry.distributor.common.permission.PermissionTree
- getPermission(Player, String) - Method in interface com.xpdustry.distributor.common.permission.PermissionManager
- getPermissionManager() - Method in interface com.xpdustry.distributor.common.Distributor
- getPermissionManager() - Method in class com.xpdustry.distributor.common.DistributorCommonPlugin
- getPermissions() - Method in interface com.xpdustry.distributor.common.permission.PermissionTree
- getPlayer() - Method in interface com.xpdustry.distributor.common.command.CommandSender
- getPlugin() - Method in interface com.xpdustry.distributor.common.command.CommandFacade
- getPlugin() - Method in interface com.xpdustry.distributor.common.plugin.PluginAware
-
Returns the owning plugin.
- getPlugin() - Method in interface com.xpdustry.distributor.common.service.ServiceManager.Provider
- getPluginAnnotationParser() - Method in class com.xpdustry.distributor.common.plugin.AbstractMindustryPlugin
- getPluginScheduler() - Method in interface com.xpdustry.distributor.common.Distributor
- getPluginScheduler() - Method in class com.xpdustry.distributor.common.DistributorCommonPlugin
- getPriority() - Method in interface com.xpdustry.distributor.common.service.ServiceManager.Provider
- getProviders(Class<T>) - Method in interface com.xpdustry.distributor.common.service.ServiceManager
- getRealName() - Method in interface com.xpdustry.distributor.common.command.CommandFacade
- getRepository() - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the GitHub repository of the plugin.
- getServiceManager() - Method in interface com.xpdustry.distributor.common.Distributor
- getServiceManager() - Method in class com.xpdustry.distributor.common.DistributorCommonPlugin
- getSoftDependencies() - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the soft dependencies of the plugin.
- getSyntax() - Method in interface com.xpdustry.distributor.common.command.CommandHelp.Entry
- getText() - Method in interface com.xpdustry.distributor.common.command.CommandDescription
- getText(CommandSender) - Method in interface com.xpdustry.distributor.common.command.CommandDescription
- getUsid() - Method in class com.xpdustry.distributor.common.player.MUUID
-
Returns the USID.
- getUuid() - Method in class com.xpdustry.distributor.common.player.MUUID
-
Returns the UUID.
- getVersion() - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata
-
Returns the version of the plugin.
H
- hashCode() - Method in class com.xpdustry.distributor.common.player.MUUID
- HIGH - Enum constant in enum class com.xpdustry.distributor.common.util.Priority
- HIGHEST - Enum constant in enum class com.xpdustry.distributor.common.util.Priority
- HOURS - Enum constant in enum class com.xpdustry.distributor.common.scheduler.MindustryTimeUnit
-
Time unit representing sixty minutes.
I
- immutable(PermissionTree) - Static method in interface com.xpdustry.distributor.common.permission.PermissionTree
- immutableList(Seq<E>) - Static method in class com.xpdustry.distributor.common.collection.ArcCollections
-
Wraps a
Seqinto an immutableList. - immutableList(EntityGroup<E>) - Static method in class com.xpdustry.distributor.common.collection.ArcCollections
-
Wraps an
EntityGroupinto an immutableList. - immutableMap(ObjectMap<K, V>) - Static method in class com.xpdustry.distributor.common.collection.ArcCollections
-
Wraps an
ObjectMapinto an immutableMap. - immutableSet(ObjectSet<E>) - Static method in class com.xpdustry.distributor.common.collection.ArcCollections
-
Wraps an
ObjectSetinto an immutableSet. - init() - Method in class com.xpdustry.distributor.common.plugin.AbstractMindustryPlugin
-
Deprecated.
- interval() - Element in annotation interface com.xpdustry.distributor.common.annotation.TaskHandler
-
The interval between each execution of the task.
- isAlias() - Method in interface com.xpdustry.distributor.common.command.CommandFacade
- isAsync() - Method in interface com.xpdustry.distributor.common.scheduler.PluginTask
-
Returns whether this future is executed asynchronously.
- isInitialized() - Static method in class com.xpdustry.distributor.common.DistributorProvider
-
Returns whether the API has been initialized.
- isPlayer() - Method in interface com.xpdustry.distributor.common.command.CommandSender
- isPrefixed() - Method in interface com.xpdustry.distributor.common.command.CommandFacade
- isRepeatable() - Method in interface com.xpdustry.distributor.common.command.CommandElement.Flag
- isServer() - Method in interface com.xpdustry.distributor.common.command.CommandSender
- isUsid(String) - Static method in class com.xpdustry.distributor.common.player.MUUID
-
Returns whether the given string is a valid USID.
- isUuid(String) - Static method in class com.xpdustry.distributor.common.player.MUUID
-
Returns whether the given string is a valid UUID.
- isVisible(CommandSender) - Method in interface com.xpdustry.distributor.common.command.CommandFacade
L
- LITERAL - Enum constant in enum class com.xpdustry.distributor.common.command.CommandElement.Argument.Kind
- loadContent() - Method in class com.xpdustry.distributor.common.plugin.AbstractMindustryPlugin
-
Deprecated.
- LocalizationSource - Interface in com.xpdustry.distributor.common.localization
-
A helper class for adding localization support to your plugin.
- LocalizationSourceManager - Interface in com.xpdustry.distributor.common.localization
-
A mutable localization source that delegates the localization lookup to other sources in FIFO order.
- LocalizationSourceRegistry - Interface in com.xpdustry.distributor.common.localization
-
A mutable localization source that can register localized strings.
- localize(String, Locale) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSource
-
Returns the localized string for the given key or
nullif absent. - LOW - Enum constant in enum class com.xpdustry.distributor.common.util.Priority
- LOWEST - Enum constant in enum class com.xpdustry.distributor.common.util.Priority
M
- MILLISECONDS - Enum constant in enum class com.xpdustry.distributor.common.scheduler.MindustryTimeUnit
-
Time unit representing one thousandth of a second.
- MindustryPlugin - Interface in com.xpdustry.distributor.common.plugin
-
A better plugin base class.
- MindustryTimeUnit - Enum Class in com.xpdustry.distributor.common.scheduler
-
Time units used by the
PluginTask.BuilderandPluginTaskclasses to represent time. - MINUTES - Enum constant in enum class com.xpdustry.distributor.common.scheduler.MindustryTimeUnit
-
Time unit representing sixty seconds.
- mutableList(Seq<E>) - Static method in class com.xpdustry.distributor.common.collection.ArcCollections
-
Wraps a
Seqinto aList. - mutableList(EntityGroup<E>) - Static method in class com.xpdustry.distributor.common.collection.ArcCollections
-
Wraps an
EntityGroupinto aList. - mutableMap(ObjectMap<K, V>) - Static method in class com.xpdustry.distributor.common.collection.ArcCollections
-
Wraps an
ObjectMapinto aMap. - mutableSet(ObjectSet<E>) - Static method in class com.xpdustry.distributor.common.collection.ArcCollections
-
Wraps an
ObjectSetinto aSet. - MUUID - Class in com.xpdustry.distributor.common.player
-
The mindustry identity format.
N
- noop(MindustryPlugin) - Static method in interface com.xpdustry.distributor.common.plugin.PluginAnnotationParser
- NORMAL - Enum constant in enum class com.xpdustry.distributor.common.util.Priority
O
- of(Boolean) - Static method in enum class com.xpdustry.distributor.common.permission.TriState
- of(MindustryPlugin, Class<T>, Priority, Supplier<T>) - Static method in interface com.xpdustry.distributor.common.service.ServiceManager.Provider
- of(String, CommandDescription, Collection<String>, boolean) - Static method in interface com.xpdustry.distributor.common.command.CommandElement.Flag
- of(String, CommandDescription, Collection<String>, CommandElement.Argument.Kind) - Static method in interface com.xpdustry.distributor.common.command.CommandElement.Argument
- of(String, CommandDescription, List<CommandElement.Argument>, List<CommandElement.Flag>) - Static method in interface com.xpdustry.distributor.common.command.CommandHelp.Entry
- of(String, String) - Static method in class com.xpdustry.distributor.common.player.MUUID
-
Creates a new MUUID from a UUID and USID.
- of(String, List<String>) - Static method in interface com.xpdustry.distributor.common.command.CommandHelp.Suggestion
- of(Player) - Static method in class com.xpdustry.distributor.common.player.MUUID
-
Creates a new MUUID from a
Player. - of(Administration.PlayerInfo) - Static method in class com.xpdustry.distributor.common.player.MUUID
-
Creates a new MUUID from a
Administration.PlayerInfo. - onClientCommandsRegistration(CommandHandler) - Method in interface com.xpdustry.distributor.common.plugin.MindustryPlugin
- onExit() - Method in interface com.xpdustry.distributor.common.plugin.MindustryPlugin
-
Called when the server is closing.
- onInit() - Method in class com.xpdustry.distributor.common.DistributorCommonPlugin
- onInit() - Method in interface com.xpdustry.distributor.common.plugin.MindustryPlugin
-
Called after the plugin factory creation.
- onLoad() - Method in class com.xpdustry.distributor.common.DistributorCommonPlugin
- onLoad() - Method in interface com.xpdustry.distributor.common.plugin.MindustryPlugin
-
Called after
MindustryPlugin.onClientCommandsRegistration(CommandHandler)just beforeEventType.ServerLoadEvent. - onPluginClientCommandsRegistration(CommandHandler) - Method in interface com.xpdustry.distributor.common.plugin.PluginListener
- onPluginExit() - Method in interface com.xpdustry.distributor.common.plugin.PluginListener
-
Called after
MindustryPlugin.onExit(). - onPluginInit() - Method in interface com.xpdustry.distributor.common.plugin.PluginListener
-
Called after
MindustryPlugin.onInit(). - onPluginLoad() - Method in interface com.xpdustry.distributor.common.plugin.PluginListener
-
Called after
MindustryPlugin.onLoad(). - onPluginServerCommandsRegistration(CommandHandler) - Method in interface com.xpdustry.distributor.common.plugin.PluginListener
- onPluginUpdate() - Method in interface com.xpdustry.distributor.common.plugin.PluginListener
-
Called after
MindustryPlugin.onUpdate(). - onServerCommandsRegistration(CommandHandler) - Method in interface com.xpdustry.distributor.common.plugin.MindustryPlugin
-
Called after
MindustryPlugin.onInit(). - onUpdate() - Method in interface com.xpdustry.distributor.common.plugin.MindustryPlugin
-
Called every tick while the server is running.
- OPTIONAL - Enum constant in enum class com.xpdustry.distributor.common.command.CommandElement.Argument.Kind
P
- parse(Object) - Method in interface com.xpdustry.distributor.common.plugin.PluginAnnotationParser
- PERMISSION_PATTERN - Static variable in interface com.xpdustry.distributor.common.permission.PermissionManager
- PERMISSION_REGEX - Static variable in interface com.xpdustry.distributor.common.permission.PermissionManager
-
Regex pattern used to validate permission strings.
- PermissionManager - Interface in com.xpdustry.distributor.common.permission
- PermissionTree - Interface in com.xpdustry.distributor.common.permission
- player(Player) - Static method in interface com.xpdustry.distributor.common.command.CommandSender
- PluginAnnotationParser - Interface in com.xpdustry.distributor.common.plugin
- PluginAware - Interface in com.xpdustry.distributor.common.plugin
-
Marks an object as belonging to a plugin.
- PluginListener - Interface in com.xpdustry.distributor.common.plugin
-
Interface for listening to the lifecycle events of a plugin.
- PluginMetadata - Interface in com.xpdustry.distributor.common.plugin
- PluginMetadata.Builder - Interface in com.xpdustry.distributor.common.plugin
- PluginScheduler - Interface in com.xpdustry.distributor.common.scheduler
-
A
PluginScheduleris used to schedule tasks for a plugin. - PluginTask<V> - Interface in com.xpdustry.distributor.common.scheduler
-
A
PluginTaskis a future used by aPluginScheduler. - PluginTask.Builder - Interface in com.xpdustry.distributor.common.scheduler
-
A helper object for building and scheduling a
PluginTask. - PluginTimeSource - Interface in com.xpdustry.distributor.common.scheduler
-
A
PluginTimeSourceprovides the current time in milliseconds. - post(E) - Method in interface com.xpdustry.distributor.common.event.EventManager
-
Posts the event to the arc event bus.
- post(Class<? super E>, E) - Method in interface com.xpdustry.distributor.common.event.EventManager
-
Posts the event to the arc event bus to the listeners of the given super class.
- priority() - Element in annotation interface com.xpdustry.distributor.common.annotation.EventHandler
-
The priority of the event handler.
- Priority - Enum Class in com.xpdustry.distributor.common.util
- provide(Class<T>) - Method in interface com.xpdustry.distributor.common.service.ServiceManager
R
- register(MindustryPlugin, Class<T>, Priority, Supplier<T>) - Method in interface com.xpdustry.distributor.common.service.ServiceManager
- register(String, Locale, MessageFormat) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSourceRegistry
-
Registers a localized string.
- registerAll(Locale, String, ClassLoader) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSourceRegistry
-
Registers a resource bundle of localized strings via the classpath.
- registerAll(Locale, Path) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSourceRegistry
-
Registers a resource bundle of localized strings via a file system.
- registerAll(Locale, Map<String, MessageFormat>) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSourceRegistry
-
Registers a map of localized strings.
- registerAll(Locale, ResourceBundle) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSourceRegistry
-
Registers a resource bundle of localized strings.
- registerAll(Locale, Set<String>, Function<String, MessageFormat>) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSourceRegistry
-
Registers a set of localized strings by using a mapping function to obtain each string.
- registerClientCommands(CommandHandler) - Method in class com.xpdustry.distributor.common.plugin.AbstractMindustryPlugin
-
Deprecated.
- registered(String) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSourceRegistry
-
Checks if a key is already registered, for any locale.
- registered(String, Locale) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSourceRegistry
-
Checks if a key is already registered for a specific locale.
- registerServerCommands(CommandHandler) - Method in class com.xpdustry.distributor.common.plugin.AbstractMindustryPlugin
-
Deprecated.
- repeat(long, MindustryTimeUnit) - Method in interface com.xpdustry.distributor.common.scheduler.PluginTask.Builder
-
Run the task periodically with a fixed interval.
- REQUIRED - Enum constant in enum class com.xpdustry.distributor.common.command.CommandElement.Argument.Kind
- router() - Static method in interface com.xpdustry.distributor.common.localization.LocalizationSource
-
Returns a
LocalizationSourcefor the router language:^).
S
- schedule(MindustryPlugin) - Method in interface com.xpdustry.distributor.common.scheduler.PluginScheduler
-
Returns a new
PluginTask.Builderinstance scheduling a task. - SECONDS - Enum constant in enum class com.xpdustry.distributor.common.scheduler.MindustryTimeUnit
-
Time unit representing one thousandth of a millisecond.
- sendMessage(String) - Method in interface com.xpdustry.distributor.common.command.CommandSender
- sendWarning(String) - Method in interface com.xpdustry.distributor.common.command.CommandSender
- server() - Static method in interface com.xpdustry.distributor.common.command.CommandSender
- ServiceManager - Interface in com.xpdustry.distributor.common.service
- ServiceManager.Provider<T> - Interface in com.xpdustry.distributor.common.service
- set(Distributor) - Static method in class com.xpdustry.distributor.common.DistributorProvider
-
Sets the global
Distributorfactory. - setAuthor(String) - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata.Builder
- setDependencies(Iterable<String>) - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata.Builder
- setDescription(String) - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata.Builder
- setDisplayName(String) - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata.Builder
- setMainClass(String) - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata.Builder
- setMinGameVersion(int) - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata.Builder
- setName(String) - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata.Builder
- setPermission(String, TriState) - Method in interface com.xpdustry.distributor.common.permission.PermissionTree
- setRepository(String) - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata.Builder
- setSoftDependencies(Iterable<String>) - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata.Builder
- setVersion(String) - Method in interface com.xpdustry.distributor.common.plugin.PluginMetadata.Builder
- standard() - Static method in interface com.xpdustry.distributor.common.scheduler.PluginTimeSource
-
Returns a
PluginTimeSourceusingSystem.currentTimeMillis()to provide the current time. - subscribe(E, MindustryPlugin, Runnable) - Method in interface com.xpdustry.distributor.common.event.EventManager
-
Subscribe to an event.
- subscribe(E, Priority, MindustryPlugin, Runnable) - Method in interface com.xpdustry.distributor.common.event.EventManager
-
Subscribe to an event.
- subscribe(Class<E>, MindustryPlugin, Consumer<E>) - Method in interface com.xpdustry.distributor.common.event.EventManager
-
Subscribe to an event.
- subscribe(Class<E>, Priority, MindustryPlugin, Consumer<E>) - Method in interface com.xpdustry.distributor.common.event.EventManager
-
Subscribe to an event.
T
- TaskHandler - Annotation Interface in com.xpdustry.distributor.common.annotation
-
Marks a method as a task handler, meaning it will be registered and called as a scheduled task in the
PluginScheduler. - TICKS - Enum constant in enum class com.xpdustry.distributor.common.scheduler.MindustryTimeUnit
-
Time unit representing one game loop, which is 60 times per second.
- toString() - Method in class com.xpdustry.distributor.common.player.MUUID
- TriState - Enum Class in com.xpdustry.distributor.common.permission
-
A ternary boolean type, used by the permission system.
- TRUE - Enum constant in enum class com.xpdustry.distributor.common.permission.TriState
U
- UNDEFINED - Enum constant in enum class com.xpdustry.distributor.common.permission.TriState
- unit() - Element in annotation interface com.xpdustry.distributor.common.annotation.TaskHandler
-
The time unit of the interval and initial delay.
- unregister(String) - Method in interface com.xpdustry.distributor.common.localization.LocalizationSourceRegistry
-
Unregisters a localized string.
- unsubscribe() - Method in interface com.xpdustry.distributor.common.event.EventSubscription
-
Unsubscribes the bound subscriber from the event.
V
- valueOf(String) - Static method in enum class com.xpdustry.distributor.common.command.CommandElement.Argument.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.xpdustry.distributor.common.permission.TriState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.xpdustry.distributor.common.scheduler.MindustryTimeUnit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.xpdustry.distributor.common.util.Priority
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.xpdustry.distributor.common.command.CommandElement.Argument.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.xpdustry.distributor.common.permission.TriState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.xpdustry.distributor.common.scheduler.MindustryTimeUnit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.xpdustry.distributor.common.util.Priority
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- wrap(Plugin) - Static method in interface com.xpdustry.distributor.common.plugin.MindustryPlugin
-
Wraps a regular plugin into a
MindustryPlugin.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form