PyvesB / advanced-achievements

:fireworks: Popular plugin that adds unique and challenging achievements to Minecraft servers.
https://www.spigotmc.org/resources/83466
GNU General Public License v3.0
200 stars 211 forks source link

AllAchievementsReceivedRewards does not execute my rewards #1088

Closed x1p closed 2 years ago

x1p commented 2 years ago

πŸŽ† Advanced Achievements version

8.0.0

πŸ–₯ Server version

1.17.1

🚰 Spigot username

x1p

𝑾 Wiki read

πŸ“ Existing issues

πŸ› Description

Once a year I organize an event on my server. Until last year I used the free version which worked okay. This year I bought AACH. So I want to give my players a reward when all achievements are done.

The event started and I start noticing that this final reward is not executed. The player receives the "Concratulations" message just fine. This setup used to work fine in older (free) versions. There are no errors, it just won't give the player his final rewards.

Just to be clear: all achievements work and give rewards. Only the "AllAchievementsReceivedRewards" won't work.

πŸ“„ Server logs

nothing relevant. It starts fine.

βš™ Configuration

AllAchievementsReceivedRewards:
  IncreaseMaxOxygen: 30
  Experience: 100
  Commands:
    Execute:
      - execute a couple commands
      - and another
      - Say congratilations blah  blah blah etc.
PyvesB commented 2 years ago

Hello @x1p ! πŸ‘‹πŸ»

Thanks for reporting this. There indeed seems to be a bug that was introduced in version 7.0.0, and no one never noticed. Will fix it shortly. :wink:

PyvesB commented 2 years ago

For those still running version 7.x.x of the plugin, you can use the following workaround and add an extra Reward level:

AllAchievementsReceivedRewards:
  Reward:
    IncreaseMaxOxygen: 30
    Experience: 100