Quest Flags

What are flags?

Use the flags to limit quests in different environments.

For example, run only the quest for a certain group or arena name.

Types of Flags

  1. Arena Flag (Check if the name of the arena matches)

  2. Groups Flag (Check if the arena matches any flag group)

  3. Private Games Fag (Checks if the player is in a Private Games)

How to use the flags?

Everything is handled through the quest configuration file.

It is necessary to create a section called "flags" for the add-on to take these flags into account.

Creating the section...

# The quest flags category.
# The flags help you to configure the quest
# in order to make it work.
# The flags are optional.
flags: 

    # The arenas where this quest will work.
    # Use "ALL" to make the quest work in all arenas.
    # Example: arenas: "arena1, arena2, arena3"
    arenas: "ALL" # "arena1, arena2"

    # The group where this quest will work.
    # Use "ALL" to make the quest work in all groups.
    # Example: groups: "Solo, Duo, Trio"
    groups: "ALL" # "Solo, Duo"

    # The quest will work in private games.
    # Require BedWars1058 Private Games add-on.
    # https://polymart.org/resource/bedwars1058-private-games-addon.1620
    # - If this flag is true, the quest will work in private games.
    private-games: true

Last updated