Should be pretty stable but testing and feedback is appreciated
- Rewrite the entire architecture and API
- Added new objective types
- ENTER_WORLD
- PLACEHOLDER
- DEAL_DAMAGE
- BREAK_ITEM
- WALK
- PLAYER_KILL objective now can be filtered by the victims name
- BREW objective now doesn't modify the brewed potions
- Added a bunch of API events to progress built-in objectives from other plugins. For example, API users now can progress BLOCK_BREAK, when a custom block breaks which is managed by their plugin
- ENTER_REGION types (region names) now need to specify a namespace as well, not just the region name. Currently only WorldGuard is supported like before. So use
wg:region_name
- Added Nexo hook to progress BLOCK_BREAK, BLOCK_PLACE, BUILD and BLOCK_LOOT objectives for custom blocks
- Added partial ExcellentShop hook
- Objectives can now have an
on-progress
andon-complete
section where you can list commands that will run when the objective progresses or completes. These commands will run through CommandDispatcher as usual, so you have all the power it gives.
Examples for the new objective types:
PLACEHOLDER
tasks:
my_placeholder_objective:
task: PLACEHOLDER
display: "{status} &fMatch placeholder"
args:
placeholder: "%aurora_meta_test_int%"
# Defaults to == if not present
# Can be ==, ===, >, <, >=, <=
comparison: ">"
value: 10
# These are optional
check-interval: 200 # in ticks
async: false # be careful with this
For ENTER_WORLD, just specify the world names in the types
section as usual.
For BREAK_ITEM, just specify the item id in the types
section as usual.
For WALK just set the blocks the player needs to walk in the amount
section.
- Changed how FARM and BLOCK_LOOT tasks count drops to make it way more accurate
- Added MythicDungeons support with COMPLETE_DUNGEON task type
- Added new CommandDispatcher action to open the pool menu with customized back button behavior
You need latest AuroraLib to properly use this version