Package dev.rollczi.litecommands.sponge
Class SpongePlatform
java.lang.Object
dev.rollczi.litecommands.platform.AbstractPlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
dev.rollczi.litecommands.platform.AbstractSimplePlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
dev.rollczi.litecommands.sponge.SpongePlatform
- All Implemented Interfaces:
dev.rollczi.litecommands.platform.Platform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
public class SpongePlatform
extends dev.rollczi.litecommands.platform.AbstractSimplePlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
-
Field Summary
Fields inherited from class dev.rollczi.litecommands.platform.AbstractSimplePlatform
senderFactoryFields inherited from class dev.rollczi.litecommands.platform.AbstractPlatform
commandRoutes, settings -
Constructor Summary
ConstructorsConstructorDescriptionSpongePlatform(org.spongepowered.plugin.PluginContainer plugin, LiteSpongeSettings settings, dev.rollczi.litecommands.permission.PermissionService permissionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<org.spongepowered.api.command.CommandCause> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<org.spongepowered.api.command.CommandCause> suggestionHook) voidonRegisterRawCommands(org.spongepowered.api.event.lifecycle.RegisterCommandEvent<org.spongepowered.api.command.Command.Raw> event) protected voidunhook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute) Methods inherited from class dev.rollczi.litecommands.platform.AbstractSimplePlatform
createSender, getSenderFactoryMethods inherited from class dev.rollczi.litecommands.platform.AbstractPlatform
getConfiguration, register, setConfiguration, unregister, unregisterAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.platform.Platform
getConfiguration, register, register, setConfiguration, start, stop, unregister, unregisterAll
-
Constructor Details
-
SpongePlatform
public SpongePlatform(org.spongepowered.plugin.PluginContainer plugin, LiteSpongeSettings settings, dev.rollczi.litecommands.permission.PermissionService permissionService)
-
-
Method Details
-
hook
protected void hook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<org.spongepowered.api.command.CommandCause> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<org.spongepowered.api.command.CommandCause> suggestionHook) - Specified by:
hookin classdev.rollczi.litecommands.platform.AbstractPlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
-
unhook
protected void unhook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute) - Specified by:
unhookin classdev.rollczi.litecommands.platform.AbstractPlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
-
onRegisterRawCommands
public void onRegisterRawCommands(org.spongepowered.api.event.lifecycle.RegisterCommandEvent<org.spongepowered.api.command.Command.Raw> event)
-