Class EvtVoucherUse
java.lang.Object
ch.njol.skript.lang.SkriptEvent
nl.mtvehicles.core.infrastructure.dependencies.skript.events.EvtVoucherUse
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable
,ch.njol.skript.lang.SyntaxElement
@Name("Vehicle Voucher Use Event")
@Description("Called when a voucher is right clicked")
@Examples({"on vehicle voucher use:","set {_player} to event-player","set {_uuid} to event-text"})
public class EvtVoucherUse
extends ch.njol.skript.lang.SkriptEvent
- See Also:
VehicleVoucherEvent
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.njol.skript.lang.SkriptEvent
getEventClasses, getEventPriority, init, isEventPrioritySupported, shouldLoadEvent, toString
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
-
EvtVoucherUse
public EvtVoucherUse()
-
-
Method Details
-
init
public boolean init(ch.njol.skript.lang.Literal<?>[] args, int matchedPattern, ch.njol.skript.lang.SkriptParser.ParseResult parseResult)- Specified by:
init
in classch.njol.skript.lang.SkriptEvent
-
check
public boolean check(org.bukkit.event.Event e)- Specified by:
check
in classch.njol.skript.lang.SkriptEvent
-
toString
-