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