Class BQStartQuestEvent
java.lang.Object
org.betonquest.betonquest.api.ForceSyncHandler<Void>
org.betonquest.betonquest.api.QuestEvent
rocks.gravili.notquests.paper.managers.integrations.betonquest.events.BQStartQuestEvent
public class BQStartQuestEvent
extends org.betonquest.betonquest.api.QuestEvent
-
Field Summary
Fields inherited from class org.betonquest.betonquest.api.QuestEvent
conditions, instruction, persistent, staticness
-
Constructor Summary
ConstructorDescriptionBQStartQuestEvent
(org.betonquest.betonquest.Instruction instruction) Creates new instance of the event. -
Method Summary
Methods inherited from class org.betonquest.betonquest.api.QuestEvent
fire, getFullId
Methods inherited from class org.betonquest.betonquest.api.ForceSyncHandler
handle
-
Constructor Details
-
BQStartQuestEvent
public BQStartQuestEvent(org.betonquest.betonquest.Instruction instruction) throws org.betonquest.betonquest.exceptions.InstructionParseException Creates new instance of the event. The event should parse instruction string without doing anything else. If anything goes wrong, throwInstructionParseException
with error message describing the problem.- Parameters:
instruction
- the Instruction object representing this event; you need to extract all required data from it and throwInstructionParseException
if there is anything wrong- Throws:
org.betonquest.betonquest.exceptions.InstructionParseException
- when the is an error in the syntax or argument parsing
-
-
Method Details