Class EffSetGraveProtection
java.lang.Object
ch.njol.skript.lang.TriggerItem
ch.njol.skript.lang.Statement
ch.njol.skript.lang.Effect
dev.cwhead.GravesX.event.integration.skript.effects.EffSetGraveProtection
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable, ch.njol.skript.lang.SyntaxElement, org.skriptlang.skript.log.runtime.RuntimeErrorProducer, org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer
@Name("GravesX Set Grave Protection")
@Description("Sets or clears protection on an existing grave through the GravesX grave management API.")
@Examples({"set grave protection of {_grave} for 300000 milliseconds","protect grave {_grave} for 300000 milliseconds","clear grave protection of {_grave}","unprotect grave {_grave}"})
public class EffSetGraveProtection
extends ch.njol.skript.lang.Effect
-
Field Summary
Fields inherited from class ch.njol.skript.lang.TriggerItem
parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(org.bukkit.event.Event event) booleaninit(ch.njol.skript.lang.Expression<?>[] expressions, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parseResult) toString(@Nullable org.bukkit.event.Event event, boolean debug) Methods inherited from class ch.njol.skript.lang.Effect
getNode, getSyntaxTypeName, parse, preInit, runMethods inherited from class ch.njol.skript.lang.Statement
parse, parseMethods inherited from class ch.njol.skript.lang.TriggerItem
debug, executionIntent, getActualNext, getIndentation, getNext, getParent, getTrigger, setNext, setParent, toString, walk, walkMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.skriptlang.skript.log.runtime.RuntimeErrorProducer
error, error, getRuntimeErrorManager, warning, warningMethods inherited from interface ch.njol.skript.lang.SyntaxElement
getParserMethods inherited from interface org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer
getErrorSource
-
Constructor Details
-
EffSetGraveProtection
public EffSetGraveProtection()
-
-
Method Details
-
init
public boolean init(ch.njol.skript.lang.Expression<?>[] expressions, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parseResult) -
execute
protected void execute(org.bukkit.event.Event event) - Specified by:
executein classch.njol.skript.lang.Effect
-
toString
-