﻿v1.7.3
Fixes:
    * Combat tagging does not work if the attack has been canceled
Changes:
    * Options in conversation can also be defined using "event:", "condition:" and "pointers:"
      argument names (with and without 's' at the end). "text:" argument is unchanged.

v1.7.2
Fixes:
    * "mobkill" objective now displays correct amount of mobs left to kill
    * "delay" objective can be set to 0 delay

v1.7.1
Fixes:
    * Quests are loaded after other plugins register their types
    * Journal condition correctly resolves package names
Changes:
    * Updated French translation

v1.7
Notes:
  - BetonQuest no longer supports servers without UUID handling
  - There were a lot of changes since previous version, check carefully if everything is working
  - Compatibility with plugins hooking INTO BetonQuest is broken, they need to update
Fixes:
    * Objectives no longer mysteriously double events
    * Greatly improved performance in almost every aspect
    * Finally fixed issues with special characters on some servers
    * Fixed database saving/loading issues
    * Fixed player options in conversations being white on next lines when using tellraw
Additions:
    * Quest canceling system
    * New inventory GUI for conversations
    * Added the "random" parameter in "folder" event - choose randomly X events to fire
    * Action objective can be "canceled" - the click will not do anything
    * Added "static events" mechanism for firing events at specified time of the day
    * Optional message when the player is pulled back by stop option
    * Optional message for take and give events
    * Optional message when advancing in "block" and "mobkill" objectives
    * Variable system for quick changing quest parameters (for example location of a quest)
    * "/q vector" command for easy calculating location vector variables
    * New "empty" condition - amount of empty inventory slots
    * New "party" condition - manages the conditions in the party
    * New "monsters" condition - true if there are monsters in the area
    * New "clear" event - kills specified monsters in the area
    * New "region" objective - reach WorldGuard region
    * Blacklist of commands which cannot be used while in conversation
    * Option to disable compatibility with other plugins
    * Added remove_items_after_respawn option - for servers using keepInventory gamerule
Changes:
    * The plugin now uses package system: configuration has been moved into "default" package
    * Objectives has returned to "objectives.yml" - it's improving performance
    * The database is now updated in real time
    * All quests can (but don't have to) be translated into multiple languages
    * Players can change their language with /questlang command
    * Conversations with stop option are resumed when the player logs out and in again
    * Metrics are now toggled in PluginMetrics/config.yml
    * All conditions, events, objectives, conversations etc. are loaded when the plugin starts/reloads
    * Citizens NPC will stop when talked to
    * Quest blocks cannot be placed, quest items will not break
    * Conversations cannot be started while in combat
    * Cannot fight while in conversation
    * Tellraw conversations no longer spam the console
    * Mobs can be spawned with a name (spawnmob event, "name:" argument)
    * /q command is now more beautiful
    * Removed unnecessary argument prefixes from conditions and events
    * Removed "tag:" from objective instruction strings
    * Conversations no longer need those empty lines everywhere ('')
    * Dependencies updated: WorldGuard/WorldEdit 6.1, MythicMobs 2.0.4

v1.6.2
Fixed errors on data loading when MySQL is being used.
Changes messages system to use simple file as default. If you want to use advanced translation
just rename "advanced-messages.yml" to "messages.yml".

v1.6.1
Fixed errors on updating journals when using MySQL.

v1.6
Notes:
  - There is a bug/feature in 1.8 which adds '§0' at the end of every line in books generated
    by plugins. This breaks the conditions/events based on books with more than one line of text.
    The detailed instruction on how to work it around is in "Other important stuff" chapter, in
    the part about items.
Fixes:
    * Items given by event that don't fit in the inventory will now drop instead of being deleted
      This does not apply to quest items, they will be added to backpack
    * Events fired from conversations won't throw async errors
    * Conversation can be started after plugin's reload without relogging
    * /q reload no longer lags the server
    * Corrected description in /q command
    * Added input validation for global locations - if event is incorrect it will display an error
      instead of breaking the whole functionality
    * The plugin should run fine on machines not supporting some special characters
    * Inverted item condition now behave correctly
    * Time condition now checks time correctly
Additions:
    * Added backpack for storing quest items, which cannot be dropped in any way
    * Added database backups
    * Added prefix for the database. New installations will use "betonquest_" prefix for tables,
      existing configuration will use empty prefix to maintain compatibility with other programs
    * Players can chat while in conversations by prefixing their messages with '#' character
    * New "random" condition - true with specified probability
    * New "sneak" condition - true if player is sneaking
    * New "journal" condition - true if player has journal entry
    * New "testforblock" condition - true if block at given location matches given material
    * New "arrow" objective - completed when arrow hits the specified target
    * New "experience" objective - completed when player reaches certain level
    * New "npcinteract" objective - completed when player right-clicks Citizens NPC
    * New "damage" event - damages the player
    * Skript support (event, effect and condition)
    * WorldGuard support (region condition)
    * Errors are logged to the "error.log" file in "logs" directory
    * Debug option in config.yml for logging plugin's activity to "debug.log" file
    * New commands for opening backpack: b, bb, backpack, bbackpack or betonbackpack
    * Items are now aware of leather armor color, head owner and enchantments in books
Changes:
    * Added and changed a lot of subcommands in /q command:
      - event and condition can be run for every online player
      - tag, point, objective and (new) journal can edit every (even offline) player
      - config (new) can set configuration files from command line
      - backup (new) backups the whole configuration and database
    * Folder event now runs these events even after the player logs out: command, tag, objective,
      delete, point, setblock
    * Changed /j command to open the backpack instead of just giving the journal
    * Tellraw clicking on options in conversation now ignores old (used) options
    * Using color codes in journal entries is now possible
    * Give/take events and item condition can now check for multiple items with syntax 'give
      stick:2,stone:4,sword'
    * Give/take events and item/hand conditions can now check for items only without
      enchantments/effects/name/lore etc.
    * Inverting condition is now done by prefixing their name with "!" (in the place where you use
      them, like conversation, not in conditions.yml)
    * Configuration updater is no longer based on plugin's version
    * Backup files are now kept in "backups" directory, old ones are moved to it
    * Changed internal structure of the code (may matter to developers - QuestEvent, Condition
      and Objective classes has been moved from "core" package to "api", update your imports)

v1.5.4
This version is almost the same as 1.5.3. The only difference is that it can load database backups
created by 1.6 version. When updating to 1.6, the database format will change, so it won't be
possible to go back, unless by loading the backup using this version of the plugin.

v1.5.3
- Small fix of /q purge command not working on offline players.

v1.5.2
- Fixed errors that were spamming the console when a player with active Location objective was teleporting to
  other worlds.

v1.5.1
Changes:
    * Multiple tags in one event are now possible
    * Change /q event command to run from console
    * Add color codes to item's name and lore
    * Fix "stop" option in conversations not working
    * Fix NPE on unknown answer in conversations

v1.5
Changes:
    * Added support for MythicMobs and Vault (see wiki for more info)
    * AutoUpdater is now enabled by default! If you want you can change this and reload the
      plugin, nothing will be downloaded in that case
    * Books saving format has changed. All books were automatically converted, but you need to check them if
      everything looks like it's supposed to.
    * Command event accepts multiple commands separated by "|", eg. "command say beton|say quest"
    * Event command now accepts optional <name> argument at the end; this will fire event for <name> player.
      eg. "/q event wood_reward Steve"

    * Journal title and lore can now use colors (&4 etc.) and journal is colorful; options in config.yml
    * Added aliases for /q command: bq, bquest, bquests, betonquest, betonquests, quest, quests
    * Added aliases for /j command: bj, journal, bjournal, betonjournal
    * Objectives are now defined directly in event instruction, not in objectives.yml (which
      was deleted, if you want to restore something check the backup)
    * Replies in conversations are now optionally clickable (tellraw option in config.yml)
    * Added permission for starting a conversation: betonquest.conversation
    * Conversation starting/ending, updating journal, plugin's update and full inventory can now make
      sounds; you can find a list of possible values here: jd.bukkit.org/rb/apidocs/org/bukkit/Sound.html
    * Conditions for events are now defined as 'event_conditions:' instead of simply 'conditions:'. This is
      to distinguish conditions for objectives and for events, as both of them can exist in one instruction
    * Updater is now run when disabling the plugin (it does matter if your server restarts every night)
Notes:
- All Objective events has been converted to new format. The objectives.yml file has been deleted, so if
  it contained any objectives that weren't covered by an event they may seem lost. However there is a backup file
  and you can easily extract everything from it. Please refer to the wiki to learn how objectives are now defined
  or just study converted ones (it's pretty straightforward).
- AutoUpdater is now enabled by default. Every future update will be working exactly like before, all changes
  will be automaticly updated by a converter, there is always a backup and you are informed about all changes in
  this file. So it's pretty safe to say that keeping this plugin up to date won't give you any trouble. If you
  don't want to have latest fixex and features you can disable updating but this will make the developer sad.
- Because of changes in how books behave since 1.8 you may experience some strange bugs with saving books
  to items.yml. Generally you should open a book before saving it using /q item command. And don't start or end
  your books with " character, as it's part of a workaround of this bug/feature.

v1.4.3
Removed debug messages from ActionObjective. You could have told me, any of you guys...

v1.4.2
Really fixed an updater.

v1.4.1
Fixed few bugs in Action objective.
Fixed updater, hopefully.

v1.4
Changes:
    * Conversations are now divided into multiple files in "conversations" directory
    * Items are now saved to items.yml file and referenced by "take", "give", "item" and "hand" events/conditions
    * Added /q item <itemID> command which saves currently held item to the config as specified itemID
    * Added location to Action objective, which checks the location of the block (unlike location condition which checks location of the player)
    * Added /q event <eventID> command which fires specified event
    * Fixed multiple bugs with conversation starting and ending
    * Block NPCs can now be used with Citizens enabled
    * Added NPCKill objective for killing NPCs
    * Added SetBlock event for setting a block at specified location
    * Improved Material matching in configs
    * Modified Action objective for greater flexibility:
      - It is now possible to detect clicking in air
      - It is no longer possible to detect clicking on any block (as this accepts clicking on air)
      - Can be used to detect book reading (with help of updated Hand condition)
    * Added AutoUpdater; it's disabled by default
Notes:
  Conversion of configuration should have been done automatically, you don't have to worry about anything. If something went wrong you can revert changes from generated backup file, which contains all your previous configs.
  You can enable AutoUpdater by setting "autoupdate" to true in config.yml. It is completely safe because all next versions will generate backups and convert all files automatically. You will be notified on joining the server about new changelog file.
  Please refer to the wiki for changes in formatting instruction strings for various things: https://github.com/Co0sh/BetonQuest/wiki
  You probably should also change names of converted items to something else than "item12". But that works too of course.

v1.3
Changes:
    * UUID support (optional)
    * NPCs made from a clay block, head and sign, for servers without Citizens2 plugin
    * Global, long and persistent delay for events (as an objective)
    * Folder event for multiple events, with optional short delay
    * French translation (thanks to fastlockel)
If you want to convert names to UUIDs run the plugin once and then change in the config "uuid: false" to true. Do not touch the "convert: true" option unless you want your database wiped! Conversion will happen on next plugin reload (eg. /q reload). This is not revertable!
Remember to backup your config files before updating! It shouldn't destroy anything but you never know.

v1.2
Global locations now automatically run only once, no need for blocking it with tags and conditions. They use however tags that follow the syntax "global_<tag>", where <tag> is global location objective tag.
Added optional respawn location for cancelled death objective, just add "respawn:100.5;200;300.5;world;90;0" to instruction string.
Added german translation, thanks to coalaa!
Added optional movement blocking while in conversation, just add option "stop: true" or "stop: false" in every conversation.
Changed priority of conversation chat event to lowest, should work even for muted players.
Fixed data values in block objective.
Added metrics, you can disable them by setting "metrics: false" in config.yml
Added support for SQLite, plugin will use it when connecting to MySQL fails.
Fixed death objective not working every time and not removing all effects.

v1.1
Fixed many bugs including but not limited to:
    * negated conjunction condition
    * unnecessary debug messages
    * not working global locations
Replaced config examples with default quest
Leaving data values in item's definition will make plugin ignore data value in most cases
Improved journal to stop text leaks
Item names now replace _ with spaces

v1.0
Initial release
