CustomQuest

public class CustomQuest extends Quest

Constructors

Link copied to clipboard
public void CustomQuest(Player player, CustomQuestsConfigFields customQuestsConfigFields)

Types

Link copied to clipboard
public class CustomQuestEvents implements Listener

Properties

Link copied to clipboard
public final String configurationFilename

Inherited properties

Link copied to clipboard
protected final static HashMap<UUID, List<Quest>> pendingPlayerQuests
Link copied to clipboard
public UUID playerUUID
Link copied to clipboard
protected String questGiver
Link copied to clipboard
public final UUID questID
Link copied to clipboard
public int questLevel
Link copied to clipboard
protected String questName
Link copied to clipboard
Link copied to clipboard
protected String questTaker

Functions

Link copied to clipboard
public void applyEndPermissions(Player player)
Link copied to clipboard
public void applyTemporaryPermissions(Player player)
Link copied to clipboard
public String getConfigurationFilename()
Link copied to clipboard
public static CustomQuest getQuest(String questFilename, Player player)
Link copied to clipboard
public boolean hasPermissionForQuest(Player player)

public static boolean hasPermissionForQuest(Player player, CustomQuestsConfigFields customQuestsConfigFields)
Checks availability without creating a pending quest or notifying the player.
Link copied to clipboard
public static Quest startQuest(String questID, Player player)

Inherited functions

Link copied to clipboard
public static Quest completeQuest(UUID questUUID, Player player)
Link copied to clipboard
public static HashMap<UUID, List<Quest>> getPendingPlayerQuests()
Link copied to clipboard
public UUID getPlayerUUID()
Link copied to clipboard
public String getQuestGiver()
Link copied to clipboard
public UUID getQuestID()
Link copied to clipboard
public int getQuestLevel()
Link copied to clipboard
public String getQuestName()
Link copied to clipboard
Link copied to clipboard
public String getQuestTaker()
Link copied to clipboard
public boolean isAccepted()
Link copied to clipboard
public void setAccepted(boolean accepted)
Link copied to clipboard
public void setPlayerUUID(UUID playerUUID)
Link copied to clipboard
public void setQuestGiver(String questGiver)
Link copied to clipboard
public void setQuestLevel(int questLevel)
Link copied to clipboard
public void setQuestTaker(String questTaker)
Link copied to clipboard
public static void shutdown()
Link copied to clipboard
public static void stopPlayerQuest(Player player, String questID)