Class VelocityOnlyPlayerContextual<MESSAGE>
java.lang.Object
dev.rollczi.litecommands.velocity.tools.VelocityOnlyPlayerContextual<MESSAGE>
- All Implemented Interfaces:
dev.rollczi.litecommands.context.ContextProvider<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
@Deprecated
public class VelocityOnlyPlayerContextual<MESSAGE>
extends Object
implements dev.rollczi.litecommands.context.ContextProvider<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondev.rollczi.litecommands.context.ContextResult<com.velocitypowered.api.proxy.Player> provide(dev.rollczi.litecommands.invocation.Invocation<com.velocitypowered.api.command.CommandSource> invocation) Deprecated.
-
Constructor Details
-
VelocityOnlyPlayerContextual
Deprecated.
-
-
Method Details
-
provide
public dev.rollczi.litecommands.context.ContextResult<com.velocitypowered.api.proxy.Player> provide(dev.rollczi.litecommands.invocation.Invocation<com.velocitypowered.api.command.CommandSource> invocation) Deprecated.- Specified by:
providein interfacedev.rollczi.litecommands.context.ContextProvider<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
LiteVelocityMessages.PLAYER_ONLYmessage instead. You can modify all messages usingLiteCommandsBuilder.message(MessageKey, Object).For example: or with the lambda function: