question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NickNamer/PacketListenerAPI not working

See original GitHub issue

Hi, here’s the error I get:

22.05 23:53:56 [Server] INFO [NickNamer] Enabling NickNamer v3.21.0-SNAPSHOT* 22.05 23:53:56 [Server] INFO [APIManager] API class 'org.inventivetalent.packetlistener.PacketListenerAPI' is not yet initialized. Creating new instance. 22.05 23:53:56 [Server] ERROR Error occurred while enabling NickNamer v3.21.0-SNAPSHOT (Is it up to date?) 22.05 23:53:56 [Server] INFO java.lang.ClassCastException: class org.inventivetalent.packetlistener.PacketListenerAPI cannot be cast to class org.inventivetalent.apihelper.API (org.inventivetalent.packetlistener.PacketListenerAPI is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @24993f03; org.inventivetalent.apihelper.API is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @3d29190c) 22.05 23:53:56 [Server] INFO at org.inventivetalent.apihelper.APIManager.initAPI(APIManager.java:116) ~[?:?] 22.05 23:53:56 [Server] INFO at org.inventivetalent.nicknamer.NickNamerPlugin.onEnable(NickNamerPlugin.java:183) ~[?:?] 22.05 23:53:56 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Paper-"1f28e6eeb"] 22.05 23:53:56 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.16.5.jar:git-Paper-"1f28e6eeb"] 22.05 23:53:56 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.16.5.jar:git-Paper-"1f28e6eeb"] 22.05 23:53:56 [Server] INFO at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.16.5.jar:git-Paper-"1f28e6eeb"] 22.05 23:53:56 [Server] INFO at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.16.5.jar:git-Paper-"1f28e6eeb"] 22.05 23:53:56 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:593) ~[patched_1.16.5.jar:git-Paper-"1f28e6eeb"] 22.05 23:53:56 [Server] INFO at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:281) ~[patched_1.16.5.jar:git-Paper-"1f28e6eeb"] 22.05 23:53:56 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1068) ~[patched_1.16.5.jar:git-Paper-"1f28e6eeb"] 22.05 23:53:56 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:290) ~[patched_1.16.5.jar:git-Paper-"1f28e6eeb"] 22.05 23:53:56 [Server] INFO at java.lang.Thread.run(Thread.java:829) [?:?] 22.05 23:53:56 [Server] INFO [NickNamer] Disabling NickNamer v3.21.0-SNAPSHOT

NickNamer Version: v3.21.0 PLAPI Version: v3.9.0 Server Version: This server is running Paper version git-Paper-“1f28e6eeb” (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT) Java Version: 11

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
MirceaDumitrescucommented, May 30, 2021

try using an older version of both plugins or update to java 16

i have literally tried last 10 versions and none work. Same error. I don’t want to update to java 16 i’m fine with java 11.

1reaction
jan-kir-wwucommented, May 31, 2021

try using an older version of both plugins or update to java 16

Same error here with

Java 16 Paper-741 1.16.5 Packetlistener API 3.9.0+ Lates Nicknamer 3.2.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

[API] PacketListenerAPI 3.9.10-SNAPSHOT - SpigotMC
This API provides an easy way to listen for when a Packet is sent or received and includes functions to modify Fields of...
Read more >
InventivetalentDev/PacketListenerAPI: API to modify ... - GitHub
API to modify Minecraft packets. Contribute to InventivetalentDev/PacketListenerAPI development by creating an account on GitHub.
Read more >
Advanced Bukkit Coding - Packet Listener - Episode 22
Love the video or need more help...or maybe both? Join us on Discord: http://discord.gg/invite/fw5cKM3Thank you for tuning in to this ...
Read more >
WifiManager - Android Developers
Allows an application to receive Wifi Multicast packets. ... List) for new API to add Wi-Fi networks for consideration when auto-connecting to wifi....
Read more >
Troubleshoot backend health issues in Application Gateway
Users can also create custom probes to mention the host name, the path to be probed, and the status codes to be accepted...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found