Class ExprCommandSender

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<org.bukkit.command.CommandSender>
ch.njol.skript.expressions.base.EventValueExpression<org.bukkit.command.CommandSender>
org.skriptlang.skript.bukkit.command.elements.expressions.ExprCommandSender
All Implemented Interfaces:
Debuggable, DefaultExpression<org.bukkit.command.CommandSender>, Expression<org.bukkit.command.CommandSender>, Loopable<org.bukkit.command.CommandSender>, Simplifiable<Expression<? extends org.bukkit.command.CommandSender>>, SyntaxElement, RuntimeErrorProducer, SyntaxRuntimeErrorProducer

@Name("Command Sender") @Description("The sender of a command. This differs from the command executor in that this is always the thing that originally triggered/initiated the command. It cannot be changed by commands like \"/execute\". ") @Example("make the command sender execute \"/say hi!\"") @Example("on command:\n\tlog \"%sender% used command /%command% %arguments%\" to \"commands.log\"\n") @Since("2.0") @Events("command") public class ExprCommandSender extends ch.njol.skript.expressions.base.EventValueExpression<org.bukkit.command.CommandSender>
  • Constructor Details

    • ExprCommandSender

      public ExprCommandSender()
  • Method Details

    • register

      public static void register(SyntaxRegistry syntaxRegistry)