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>
-
Field Summary
Fields inherited from class ch.njol.skript.expressions.base.EventValueExpression
DEFAULT_PRIORITY, events -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.njol.skript.expressions.base.EventValueExpression
acceptChange, change, get, getReturnType, infoBuilder, init, init, isDefault, isSingle, possibleReturnTypes, register, register, setTime, toStringMethods inherited from class SimpleExpression
check, check, check, getAll, getAnd, getArray, getConvertedExpr, getConvertedExpression, getNode, getSingle, getSource, getTime, isLoopOf, iterator, preInit, setTime, setTime, setTime, setTime, simplify, supportsLoopPeeking, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Debuggable
toStringMethods inherited from interface Expression
beforeChange, canBeSingle, canReturn, canReturnAnyOf, changeInPlace, changeInPlace, check, check, getAcceptedChangeModes, getAll, getAnd, getArray, getConvertedExpression, getOptionalSingle, getSingle, getSource, getSyntaxTypeName, getTime, returnNestedStructures, returnsNestedStructures, simplify, stream, streamAllMethods inherited from interface Loopable
isLoopOf, iterator, supportsLoopPeekingMethods inherited from interface RuntimeErrorProducer
error, error, getRuntimeErrorManager, warning, warningMethods inherited from interface SyntaxElement
getParser, preInitMethods inherited from interface SyntaxRuntimeErrorProducer
getErrorSource
-
Constructor Details
-
ExprCommandSender
public ExprCommandSender()
-
-
Method Details
-
register
-