Class BukkitOnlyPlayerContextual<MESSAGE>

java.lang.Object
dev.rollczi.litecommands.bukkit.tools.BukkitOnlyPlayerContextual<MESSAGE>
All Implemented Interfaces:
dev.rollczi.litecommands.contextual.Contextual<org.bukkit.command.CommandSender,org.bukkit.entity.Player>

public class BukkitOnlyPlayerContextual<MESSAGE> extends Object implements dev.rollczi.litecommands.contextual.Contextual<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
  • Constructor Details

    • BukkitOnlyPlayerContextual

      public BukkitOnlyPlayerContextual(MESSAGE onlyPlayerMessage)
  • Method Details

    • extract

      public panda.std.Result<org.bukkit.entity.Player,Object> extract(org.bukkit.command.CommandSender sender, dev.rollczi.litecommands.command.Invocation<org.bukkit.command.CommandSender> invocation)
      Specified by:
      extract in interface dev.rollczi.litecommands.contextual.Contextual<org.bukkit.command.CommandSender,org.bukkit.entity.Player>