✨AdvancedFlags✨200+ Countries✨Animated✨Gui✨Custom Flags✨Geolocated Flags✨ icon

✨AdvancedFlags✨200+ Countries✨Animated✨Gui✨Custom Flags✨Geolocated Flags✨ -----

Cosmetic Flags




Version: 1.2.0
why do i get this error


[ERROR] Could not pass event InventoryClickEvent to AdvancedFlags v1.2.0

org.bukkit.event.EventException: null

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2427) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.network.protocol.game.PacketPlayInWindowClick.a(SourceFile:55) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.network.protocol.game.PacketPlayInWindowClick.a(SourceFile:11) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:30) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(SourceFile:151) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(SourceFile:125) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1133) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1126) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(SourceFile:134) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1110) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1039) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:303) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

at java.lang.Thread.run(Unknown Source) [?:?]

Caused by: java.lang.NullPointerException: Cannot read field "flagId" because the return value of "me.mrxbox98.advancedflags.utils.AdvancedPlayer.getAdvancedPlayer(org.bukkit.entity.Player)" is null

at me.mrxbox98.advancedflags.flags.AdvancedFlagGui.onInventoryClick(AdvancedFlagGui.java:215) ~[?:?]

at jdk.internal.reflect.GeneratedMethodAccessor67.invoke(Unknown Source) ~[?:?]

at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.17.1.jar:3172-Spigot-610a8c0-99561c2]

... 18 more
-
Author's response
The latest version fixes this but this error should only happen if there was lag and a player clicked a flag then immediately logged out.

Version: 1.1.9
1. Command to disable flag
2. Rotation of the flag depending on the direction we are looking at
3. Plugin is good, good concept
-
Author's response
Added /af none to disable
Rotation of flag is coming soon

Version: 1.1.3
Very good plugin. I hope to add the ability to display countries by IP when joining
-
Author's response
Added

Version: 1.0.8
This guy is a madlad! I just asked something for him and added, so in exchange I'll leave this ratings just 'cause the plugin rocks and he also rocks!

Version: 1.0.7
Incredible and amazing! I would love to see the LGTBIQA+ flags also it it was possible since our server it's from that theme! Also, here you have 5 stars! Loving your plugin <3
-
Author's response
Thanks for the 5 stars! I just released a new update that should support custom flags.

Resource Information
Author:
----------
Total Downloads: 2,839
First Release: Aug 5, 2021
Last Update: Jan 12, 2023
Category: ---------------
All-Time Rating:
4 ratings
Find more info at advancedflags.mrxbox98.games...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings