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
199 stars 215 forks source link

Internal error #607

Closed KaspianDev closed 5 years ago

KaspianDev commented 5 years ago
[12:13:54 ERROR]: Could not pass event PlayerCommandPreprocessEvent to AdvancedAchievements v5.13.0
org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1393) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PlayerConnection.chat(PlayerConnection.java:1317) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer.chat(CraftPlayer.java:239) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at it.mri.mycommand.execute.types.AliasType.ExecuteAliasForPlayer(AliasType.java:48) [MyCommand%20(1).jar:?]
    at it.mri.mycommand.execute.DispatchCommands.ExecuteMyCommandCommands(DispatchCommands.java:382) [MyCommand%20(1).jar:?]
    at it.mri.mycommand.listener.PreprocessEvent.onPlayerCommandPreprocess(PreprocessEvent.java:256) [MyCommand%20(1).jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_201]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_201]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1393) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1236) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_201]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_201]
    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
Caused by: java.lang.NullPointerException
    at com.hm.achievement.utils.StatisticIncreaseHandler.shouldIncreaseBeTakenIntoAccount(StatisticIncreaseHandler.java:117) ~[?:?]
    at com.hm.achievement.listener.statistics.AbstractListener.updateStatisticAndAwardAchievementsIfAvailable(AbstractListener.java:64) ~[?:?]
    at com.hm.achievement.listener.statistics.PlayerCommandsListener.onPlayerCommand(PlayerCommandsListener.java:52) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_201]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_201]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    ... 30 more
[12:13:54 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'aach' in plugin AdvancedAchievements v5.13.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1401) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PlayerConnection.chat(PlayerConnection.java:1317) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer.chat(CraftPlayer.java:239) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at it.mri.mycommand.execute.types.AliasType.ExecuteAliasForPlayer(AliasType.java:48) [MyCommand%20(1).jar:?]
    at it.mri.mycommand.execute.DispatchCommands.ExecuteMyCommandCommands(DispatchCommands.java:382) [MyCommand%20(1).jar:?]
    at it.mri.mycommand.listener.PreprocessEvent.onPlayerCommandPreprocess(PreprocessEvent.java:256) [MyCommand%20(1).jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_201]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_201]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1393) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1236) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_201]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_201]
    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
Caused by: java.lang.IllegalArgumentException: Title cannot be null
    at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.craftbukkit.v1_12_R1.inventory.CraftInventoryCustom$MinecraftInventory.<init>(CraftInventoryCustom.java:61) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.craftbukkit.v1_12_R1.inventory.CraftInventoryCustom.<init>(CraftInventoryCustom.java:35) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.createInventory(CraftServer.java:1528) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at org.bukkit.Bukkit.createInventory(Bukkit.java:907) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    at com.hm.achievement.gui.MainGUI.displayMainGUI(MainGUI.java:84) ~[?:?]
    at com.hm.achievement.command.executable.ListCommand.onExecute(ListCommand.java:39) ~[?:?]
    at com.hm.achievement.command.executable.AbstractCommand.execute(AbstractCommand.java:49) ~[?:?]
    at com.hm.achievement.command.executor.PluginCommandExecutor.onCommand(PluginCommandExecutor.java:55) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
    ... 29 more
[12:13:57 INFO]: roblox123321 lost connection: Disconnected
[12:13:57 INFO]: roblox123321 left the game
PyvesB commented 5 years ago

Hello @kacperleague9,

Please share your configuration and some indication on how to reproduce the issue. 😉

Cheers,

Pyves

KaspianDev commented 5 years ago
#==============================O==============================#
# I---------------------------------------------------------I #
# |   Advanced Achievements 5.12.4 configuration - Readme   | #
# 1---------------------------------------------------------1 #
#==============================o==============================#
# Only spaces, NO tabs. Don't forget the indents (2 spaces per indentation level).
# To check syntax errors in your file, use: https://yaml-online-parser.appspot.com
# Default config: https://github.com/PyvesB/AdvancedAchievements/blob/master/advanced-achievements-plugin/src/main/resources/config.yml
# If you want to help the project, feel free to check our GitHub: https://github.com/PyvesB/AdvancedAchievements
# Visit the wiki for some valuable additional documentation: https://github.com/PyvesB/AdvancedAchievements/wiki
# For donations use: https://www.paypal.com/cgi-bin/webscr?hosted_button_id=7KTQYC4YT52NQ&cmd=_s-xclick
#=============================O=O=============================#
# II-------------------------------------------------------II #
# |                    General  settings                    | #
# 2---------------------------------------------------------2 #
#=============================o=o=============================#
# Time in seconds between each /aach book (unless user has permission achievement.*).
TimeBook: 900

# Check for update on plugin launch and notify when an OP joins the game.
CheckForUpdate: true

# Set to true to activate firework effects when a player receives an achievement.
Firework: true

# Choose ball_large, ball, burst, creeper, star or random.
FireworkStyle: ball_large

# Set to true to activate simpler effects and a calm sound when a player receives an achievement.
# Ignored if Firework setting is set to true.
SimplifiedReception: false

# Number of players displayed in /aach top, week and month commands.
TopList: 5

# Set to true to activate particle effects when performing /aach book, /aach stats with all achievements and
# /aach top, week or month when ranked in the top list.
AdditionalEffects: true

# Set to true to activate sounds when performing /aach book, /aach stats with all achievements and /aach top, 
# week or month when ranked in the top list.
Sound: true

# For /aach book. Possible values: github.com/PyvesB/AdvancedAchievements/wiki/Sound-names
SoundBook: entity_player_levelup

# For /aach stats with all achievements. Possible values: github.com/PyvesB/AdvancedAchievements/wiki/Sound-names
SoundStats: entity_firework_rocket_blast

# For /aach top, week, month when ranked in the top list. Possible values: github.com/PyvesB/AdvancedAchievements/wiki/Sound-names
SoundRanking: entity_firework_rocket_blast

# Set the icon of the plugin (default: shamrock, \u2618).
Icon: \u2618

# Set the color of the plugin (default: 5, dark purple).
Color: 5

# Notify other connected players when an achievement is received.
# This defines the default behaviour, a player can override what he sees by using /aach toggle.
NotifyOtherPlayers: false

# When NotifyOtherPlayers is enabled, notifications are done using action bars when ActionBarNotify is true.
# When ActionBarNotify is false, chat messages are used.
ActionBarNotify: true

# Display achievement DisplayName and Message as screen titles. Ignored if using Minecraft 1.7.9 or 1.7.10.
TitleScreen: true

# When a player receives an achievement, the DisplayName, Message and rewards of the achievement are displayed in
# the chat. If HoverableReceiverChatText is true, a single hoverable text will be displayed to the receiver.
# Otherwise texts will be displayed one after the other.
HoverableReceiverChatText: false

# Separator between name, description and date on a book page.
BookSeparator: ''

# Set the format of the achievement name in /aach list (default: "%ICON% %NAME% %ICON%").
ListAchievementFormat: '%ICON% %NAME% %ICON%'

# Set the format of the header used for most chat messages (default: "§7[%ICON%§7]").
ChatHeader: §7[%ICON%§7]

# Stop all stats from increasing when player in creative mode, including PlayedTime.
# Connection achievements will only be handled once a player switches to a non-creative mode.
RestrictCreative: false

# Stop all stats from increasing when player in spectator mode, including PlayedTime.
# Connection achievements will only be handled once a player switches to a non-spectator mode.
# No effect if using Minecraft 1.7.9 or 1.7.10.
RestrictSpectator: true

# Stop all stats from increasing when player in adventure mode, including PlayedTime.
# Connection achievements will only be handled once a player switches to a non-adventure mode.
RestrictAdventure: false

# Stop all stats from increasing when player in a specific world, including PlayedTime (delete the [] before adding values).
# Connection achievements will only be handled once a player enters a non-excluded world.
ExcludedWorlds: []

#  - yourWorld1
#  - yourWorld2
# Ignore vertical dimension (Y axis) when calculating distance statistics.
IgnoreVerticalDistance: false

# Don't show these categories in the achievement GUI or in the stats output (delete the [] before adding values).
# Also prevent obtaining achievements for these categories and prevent stats from increasing.
DisabledCategories:
- PetMasterGive
- PetMasterReceive
- Custom
- Commands
- Treasures
- ItemBreaks
- Shear
- LavaBuckets
- Beds
- ItemDrops
- ItemPickups
- Fertilising
- Taming
- Brewing
- Fireworks
- MusicDiscs
- EnderPearls
- Smelting
- DistancePig
- DistanceHorse
- DistanceMinecart
- DistanceBoat
- DistanceGliding
- DistanceLlama
- RaidsWon
- Riptides

#  - PetMasterGive
#  - PetMasterReceive
#  - DistanceLlama
#  - DistanceGliding
# Obfuscate achievements that have not yet been received in /aach list.
ObfuscateNotReceived: false

# For categories with a series of related achievements where the only thing changing is the number of times
# the event has occurred, show achievements that have been obtained and show the next obtainable achievement,
# but obfuscate the additional achievements. For example, under Places, stone, the first achievement could have a
# target of 100 stone, the second 500 stone, and the third 1000 stone.  When ObfuscateProgressiveAchievements
# is true, initially only the 100 stone achievement will be readable in the GUI.  Once 100 stone have been placed,
# the 500 stone achievement will become legible.
ObfuscateProgressiveAchievements: false

# Hide categories for which a player has not yet received achievements by marking them as locked in /aach list.
HideNotReceivedCategories: false

# Completely hide categories for which the player does not have the corresponding count permissions.
HideNoPermissionCategories: false

# Hide the reward display in /aach list.
HideRewardDisplayInList: false

# Display precise statistic information in the /aach list progress bars.
EnrichedListProgressBars: true

# Annotate each achievement displayed in a /aach list category with a number.
NumberedItemsInList: false

# Color used for Goals and progress bars in /aach list when an achievement is not yet received.
ListColorNotReceived: f

# Sort pages of the book in chronological order (false for reverse chronological order).
BookChronologicalOrder: true

# Do not take into account items broken with Silk Touch for the Breaks achievements.
DisableSilkTouchBreaks: false

# Do not take into account ores broken with Silk Touch for the Breaks achievements.
# DisableSilkTouchBreaks takes precedence over this. Not applicable to iron or gold ores.
DisableSilkTouchOreBreaks: false

# Language file to use. Available: lang.yml, lang-BP.yml, lang-CN.yml, lang-CZ.yml, lang-DE.yml, lang-ES.yml, lang-FI.yml
# lang-FR.yml, lang-HU.yml, lang-IT.yml, lang-PL.yml, lang-RO.yml, lang-RU.yml, lang-SE.yml, lang-TR.yml, lang-TW.yml, lang-VN.yml
LanguageFileName: lang.yml

# Time in seconds between each statistic count. Only the listed categories are currently supported.
StatisticCooldown:
  LavaBuckets: 10
  WaterBuckets: 10
  Milk: 10
  Beds: 30
  Brewing: 5
  MusicDiscs: 30

# Display action bar message when player performs an action while in the cooldown period.
# No effect if using Minecraft 1.7.9 or 1.7.10.
CooldownActionBar: true

# Locale used to format dates in /aach book and /aach list. You must select an ISO 639 language code.
# The list of possible language codes can be found at www.loc.gov/standards/iso639-2/php/code_list.php
DateLocale: pl

# Display reception time of achievements in /aach book and /aach list in addition to the date. For achievements
# received in plugin versions prior to 3.0, the precise time information is not available and will be displayed as midnight.
DateDisplayTime: true

# Register advancements with a description corresponding to the Goal parameter of each achievement.
# If changed, run /aach generate to regenerate advancements with the new parameter value taken into account.
# No effect if using Minecraft versions prior to 1.12.
RegisterAdvancementDescriptions: false

# If true, hide advancements from the advancement GUI. Advancement notifications will still appear when receiving achievements.
# No effect if using Minecraft versions prior to 1.12.
HideAdvancements: false

# If true, PlayedTime will no longer increase when the player is AFK. Requires Essentials to work.
IgnoreAFKPlayedTime: false

# Awarded when a player has received all the achievements. Use the same reward pattern as with achievements.
# See https://github.com/PyvesB/AdvancedAchievements/wiki/Rewards
AllAchievementsReceivedRewards:
  IncreaseMaxOxygen: 30
  MaxHealth: 1
  Money: 10000

# Title shown on the root advancement.
RootAdvancementTitle: Advanced Achievements

# Background shown on the Advanced Achievements advancement tab.
# Must be a resource location to any image in a resource pack.
AdvancementsBackground: minecraft:textures/item/book.png

#=============================OOO=============================#
# III-----------------------------------------------------III #
# |                    Database settings                    | #
# 3---------------------------------------------------------3 #
#=============================ooo=============================#
# Make a daily backup of your local database (if sqlite or h2).
DatabaseBackup: true

# Database type, sqlite, h2, postgresql or mysql. Do a full server restart for this to take effect.
DatabaseType: sqlite

# Prefix added to the tables in the database. If you switch from the default tables names (no prefix),
# the plugin will attempt an automatic renaming. Otherwise you have to rename your tables manually.
# Do a full server restart for this to take effect.
TablePrefix: ''

# Specify additional options when opening a connection to a MySQL/PostgreSQL database. Start each option with &,
# for instance "&useUnicode=yes&characterEncoding=UTF-8". Make sure the key-value pairs themselves are URL encoded.
AdditionalConnectionOptions: ''

# Settings to connect to your MySQL/PostgreSQL database (ignored if sqlite).
# A PostgreSQL database address will be similar to jdbc:postgresql://localhost:5432/minecraft
DatabaseAddress: csrv_665089
DatabaseUser: csrv_665089
DatabasePassword: 19f91de65fbb7f6a6a25

#============================OO=OO============================#
# IV-------------------------------------------------------IV #
# |                  Performance settings                   | #
# |        Change only if you are an experienced user       | #
# 4---------------------------------------------------------4 #
#============================oo=oo============================#
# Frequency of play time checks for players (seconds). Smaller values give more precision but more CPU usage.
PlaytimeTaskInterval: 60

# Calculates distance traveled by players (seconds). Smaller values give more precision but more CPU usage.
DistanceTaskInterval: 5

# Frequency of some statistics writes to the database (seconds). Do a full server restart, and not just /aach reload.
PooledRequestsTaskInterval: 10

#============================OOOOO============================#
# V---------------------------------------------------------V #
# |              Multiple action achievements               | #
# |       These require sub-categories and thresholds       | #
# 5---------------------------------------------------------5 #
#============================ooooo============================#
# When a specific block is placed (available names: github.com/PyvesB/AdvancedAchievements/wiki/Material-names).
Places:
  chest:
    '5':
      Goal: Postaw 5 skrzynek.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: place_5_chest
      DisplayName: §eMlody Magazynier
      Reward:
        Money: 10
    '50':
      Goal: Postaw 50 skrzynek.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: place_50_chest
      DisplayName: §eMagazynier
      Reward:
        Money: 50
  stone:
    '100':
      Goal: Postaw 100 kamienia.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: place_100_stone
      DisplayName: §ePoczatkujacy ~Kamieniarz~
      Reward:
        Money: 10
    '1000':
      Goal: Postaw 1000 kamienia.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: place_1000_stone
      DisplayName: §eZaawansowany ~Kamieniarz~
      Reward:
        Money: 50
    '10000':
      Goal: Postaw 10000 kamienia.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: place_10000_stone
      DisplayName: §eMistrz Kamienia
      Reward:
        Money: 300

# When a specific block is broken (available names: github.com/PyvesB/AdvancedAchievements/wiki/Material-names).
# You can use notations such as sand:1 for pre-1.13 versions, which means sand item with metadata 1 (red sand).
Breaks:
  ice:
    '10':
      Goal: Rozwal 10 blokow lodu.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: break_10_ice
      DisplayName: §eChlodny Napoj
      Reward:
        Money: 100
  snow|snow_block|ice:
    '32':
      Goal: Rozwal 32 sniegu lub lodu.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: break_32_ice_any
      DisplayName: §eLato !
      Reward:
        Money: 50
  stone:
    '100':
      Goal: Rozwal 100 kamienia.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: break_1_stone
      DisplayName: §eKamienie Na Szaniec!
      Reward:
        Money: 20

# When "something" is killed. You can use any of the following:
# - an entity type (available names: github.com/PyvesB/AdvancedAchievements/wiki/Entity-names).
# - poweredcreeper.
# - a mob's custom name (name tag/plugins such as Mythic Mobs).
# - player to track player kills as a whole.
# - specificplayer- followed by player UUID to track how many times a specific player has been killed.
Kills:
  zombie:
    '10':
      Goal: Zabij 10 zombie.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: kills_1_zombie
      DisplayName: §eThe Walking Dead
      Reward:
        Money: 50
  creeper:
    '10':
      Goal: Zabij creepera.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: kills_1_creeper
      DisplayName: §aAww Man !
      Reward:
        Money: 50
  specificplayer-56c79b19-4500-466c-94ea-514a755fdd09:
    '1':
      Goal: Zabij Kacpra :O.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: kills_1_darkpyves
      DisplayName: §eOOF ADMINKU
      Reward:
        Money: 500

# When a specific target is shot (but not necessarily killed) with a projectile.
# Available target block names: github.com/PyvesB/AdvancedAchievements/wiki/Material-names
# Available target entity names: github.com/PyvesB/AdvancedAchievements/wiki/Entity-names
TargetsShot:
  villager:
    '10':
      Goal: Rzuc 10 itemami w wiesnaikow.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: targetsshot_10_villager
      DisplayName: §eHuaaa
      Reward:
        Money: 100
  glass:
    '100':
      Goal: Strzel w 100 okien.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: targetsshot_100_glass
      DisplayName: §eWindows XP
      Reward:
        Money: 150

# When a specific item is crafted (available names: github.com/PyvesB/AdvancedAchievements/wiki/Material-names).
Crafts:
  diamond_sword:
    '1':
      Goal: Stworz diamentowy miecz.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: craft_1_blade
      DisplayName: §eKowal I
      Reward:
        Money: 100

# When a player enters a specific command (specify command prefixes in lower case without initial slash).
# For instance a command /awf add world from the AntiWorldFly plugin matches with subcategory 'awf add'.
# Aliases of a given command will also be taken into account.
PlayerCommands:
  is:
    '10':
      Goal: Przeteleportuj sie na wyspe 10 razy.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: playercommand_aachstats_10
      DisplayName: §eMatematyk
      Reward:
        Money: 50

# When animals breed (available names: github.com/PyvesB/AdvancedAchievements/wiki/Entity-names).
Breeding:
  sheep:
    '1':
      Goal: Rozmnoz Owce.
      Message: Udalo ci sie zdobyc osiagniecie!
      Name: breeding_1_sheep
      DisplayName: §eWiecej !
      Reward:
        Money: 100

#===========================OOO=OOO===========================#
# VI-------------------------------------------------------VI #
# |               Normal action achievements                | #
# |           These are based on thresholds only            | #
# 6---------------------------------------------------------6 #
#===========================ooo=ooo===========================#
# When a player connects during the day; statistic increases at most once per day.
Connections:
  '1':
    Message: Witamy na serwerze!
    Name: connect_1
    DisplayName: §eDobry Wybor
    Reward:
      Money: 100

# When the player dies.
Deaths:
  '1':
    Goal: Zgin pierwszy raz.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: deaths_1
    DisplayName: §eR.I.P
    Reward:
      Money: 50
  '10':
    Goal: Zgin 10 razy.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: deaths_10
    DisplayName: §eBruh
    Reward:
      Money: 150

# When an arrow is shot.
Arrows:
  '50':
    Goal: Wystrzel 50 strzal.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: arrows_50
    DisplayName: §eKrzycze Eooo
    Reward:
      Money: 100

# When a snowball is thrown.  
Snowballs:
  '1000':
    Goal: Rzuc 1000 sniezek.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: snowballs_1000
    DisplayName: §eZimowa Zabawa
    Reward:
      Money: 200

# When an egg is thrown.  
Eggs:
  '100':
    Goal: Wyrzuc 100 jajek.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: eggs_1000
    DisplayName: §eOmlet !
    Reward:
      Money: 100

# When a fish is caught. 
Fish:
  '1':
    Goal: Zlow rybe.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: fish_1
    DisplayName: §eSushi :O
    Reward:
      Money: 50

# When a treasure is caught with a fishing rod.
# When a tool/armor/weapon is broken.  
# When an item is eaten (excludes potions and milk).
EatenItems:
  '1':
    Goal: Zjedz cos.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: eatenitems_1
    DisplayName: §eMniam
    Reward:
      Money: 50

# When a sheep is sheared.
# When a cow is milked.
Milk:
  '1':
    Goal: Wydoj krowe.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: milk_1
    DisplayName: §eMleczko !
    Reward:
      Money: 50

# When a bucket is filled with lava.
# When a bucket is filled with water.
WaterBuckets:
  '15':
    Goal: Wypelnij 15 wiader woda.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: waterbuckets_15
    DisplayName: §eStrazak
    Reward:
      Money: 200

# When a trade with a villager is made.
Trades:
  '1':
    Goal: Wymien sie z wiesniakiem.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: trades_1
    DisplayName: §eStonks
    Reward:
      Money: 100

# When an anvil is used.
AnvilsUsed:
  '1':
    Goal: Napraw przedmiot.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: anvilsused_1
    DisplayName: §ePierwsza Naprawa
    Reward:
      Money: 50

# When an enchantment is performed.
Enchantments:
  '5':
    Goal: Zaklnij 5 rzeczy.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: enchantments_5
    DisplayName: §eCzarodziej
    Reward:
      Money: 100

# When a bed is entered. 
# Maximum level reached.    
MaxLevel:
  '10':
    Goal: Zdobadz 10 poziom.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: maxlevel_10
    DisplayName: §eAmator
    Reward:
      Money: 100

# When a potion is consumed.
ConsumedPotions:
  '100':
    Goal: Wypij 100 mikstur.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: consumedpotions_100
    DisplayName: §ePijak
    Reward:
      Money: 500

# Amount of time played on the server (in hours, use integers).
PlayedTime:
  '1':
    Goal: Graj godzine.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: playedtime_1
    DisplayName: §ePierwsza Godzina
    Reward:
      Money: 200

# When a distance is traveled by foot.
DistanceFoot:
  '1000':
    Goal: Przejdz kilometr.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: distancefoot_1000
    DisplayName: §eBoso Przez Swiat
    Reward:
      Money: 100

# When a distance is traveled on a pig.
# When a distance is traveled on a horse.
# When a distance is traveled in a minecart.
# When a distance is traveled in a boat.
# When a distance is traveled with elytra.
# Ignored on Minecraft versions prior to 1.9.
# When a distance is traveled on a llama.
# Ignored on Minecraft versions prior to 1.11.
# When an item is dropped on the ground.
# When an item is picked up from the ground.
# When soil is plowed with a hoe.
HoePlowings:
  '100':
    Goal: Zaoraj ziemie 100 razy.
    Message: Udalo ci sie zdobyc osiagniecie!
    Name: hoeplowings_100
    DisplayName: §eFarmer
    Reward:
      Item: Emerald 1 §6Adventure Coin
      Money: 50

# When bone meal is used to fertilise plants.
# When an animal is tamed.
# When a potion is brewed.
# When a firework is launched.
# When a music disc is played.
# When a player teleports with an enderpearl.
# When a player gives a pet to another player (requires Pet Master plugin version 1.4 or above).
# When a player receives a pet from another player (requires Pet Master plugin version 1.4 or above).
# When an item is smelt in a furnace.
#===========================OOOOOOO===========================#
# VII-----------------------------------------------------VII #
# |               Command-based achievements                | #
# 7---------------------------------------------------------7 #
#===========================ooooooo===========================#
# Allow Commands achievement to be awarded several times.
MultiCommand: false

# A player with achievement.give (or the console) can use /aach give yourAch1 PLAYER to give
# yourAch1 achievement to PLAYER. The /aach give command does NOT work with other achievements.
# When the command /aach add is called for this category.
#==========================OOOO=OOOO==========================#
# VIII-------------------------0-------------------------VIII #
# |  Parameters in future plugin versions will appear here  | #
# 8----------------------------0----------------------------8 #
#==========================oooo=oooo==========================#
#When a player gives a pet to another player (requires PetMaster plugin version 1.3 or above).
PetMasterGive: {}

#When a player receives a pet from another player (requires PetMaster plugin version 1.3 or above).
PetMasterReceive: {}

#When the command /aach add is called for this category.
Custom: {}

#/aach give yourAch1 PLAYER can be used to give the yourAch1 achievement to PLAYER.
Commands: {}

#When a treasure is caught with a fishing rod.
Treasures: {}

#When a tool/armor/weapon is broken.
ItemBreaks: {}

#When a sheep is sheared.
Shear: {}

#When a bucket is filled with lava.
LavaBuckets: {}

#When a bed is entered.
Beds: {}

#When an item is dropped on the ground.
ItemDrops: {}

#When an item is picked up from the ground.
ItemPickups: {}

#When bone meal is used to fertilise plants.
Fertilising: {}

#When an animal is tamed.
Taming: {}

#When a potion is brewed.
Brewing: {}

#When a firework is launched.
Fireworks: {}

#When a music disc is played.
MusicDiscs: {}

#When a player teleports with an enderpearl.
EnderPearls: {}

#When an item is smelt in a furnace.
Smelting: {}

#When a distance is traveled on a pig.
DistancePig: {}

#When a distance is traveled on a horse.
DistanceHorse: {}

#When a distance is traveled in a minecart.
DistanceMinecart: {}

#When a distance is traveled in a boat.
DistanceBoat: {}

#When a distance is traveled with elytra.
DistanceGliding: {}

#When a distance is traveled on a llama.
DistanceLlama: {}

#When a raid is won.
RaidsWon: {}

#When riptide is used with a trident
Riptides: {}
KaspianDev commented 5 years ago

can you help?

PyvesB commented 5 years ago

This seems to be a duplicate of #605. Please try out the test version attached to that issue, it should solve your issues. 👍