Class BQQuestPointsEvent
java.lang.Object
org.betonquest.betonquest.api.ForceSyncHandler<Void>
org.betonquest.betonquest.api.QuestEvent
rocks.gravili.notquests.spigot.managers.integrations.betonquest.events.BQQuestPointsEvent
public class BQQuestPointsEvent
extends org.betonquest.betonquest.api.QuestEvent
-
Field Summary
Fields inherited from class org.betonquest.betonquest.api.QuestEvent
conditions, instruction, persistent, staticness
-
Constructor Summary
ConstructorDescriptionBQQuestPointsEvent
(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
-
BQQuestPointsEvent
public BQQuestPointsEvent(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