Class EffGiveVehicle
java.lang.Object
ch.njol.skript.lang.TriggerItem
ch.njol.skript.lang.Statement
ch.njol.skript.lang.Effect
nl.mtvehicles.core.infrastructure.dependencies.skript.effects.EffGiveVehicle
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable
,ch.njol.skript.lang.SyntaxElement
@Name("Give an MTV vehicle")
@Description("Give a vehicle to a player")
@Examples({"give mtv vehicle {_boat} to player","give {_player} mtv vehicle with license plate \"DF-4J-2R\"","give {_player} mtv vehicle with uuid \"XN9MKB\""})
public class EffGiveVehicle
extends ch.njol.skript.lang.Effect
-
Field Summary
Fields inherited from class ch.njol.skript.lang.TriggerItem
parent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
execute(org.bukkit.event.Event event)
boolean
init(ch.njol.skript.lang.Expression<?>[] expressions, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parser)
toString(@Nullable org.bukkit.event.Event event, boolean debug)
Methods inherited from class ch.njol.skript.lang.Effect
parse, run
Methods inherited from class ch.njol.skript.lang.TriggerItem
debug, getIndentation, getNext, getParent, getTrigger, setNext, setParent, toString, walk, walk
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser
-
Constructor Details
-
EffGiveVehicle
public EffGiveVehicle()
-
-
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 parser) -
toString
-
execute
protected void execute(org.bukkit.event.Event event)- Specified by:
execute
in classch.njol.skript.lang.Effect
-