Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to server if PacketEvents is installed (java.lang.NoSuchMethodError: net/kyori/adventure...) #781

Closed
Chevels opened this issue May 16, 2024 · 5 comments · Fixed by #814
Assignees
Labels
bug Something isn't working

Comments

@Chevels
Copy link

Chevels commented May 16, 2024

Describe the bug
As soon as PacketEvents is installed on the server, players can no longer connect and an error is generated in the console => https://pastebin.com/M5L01LtV

Software brand
Paper version git-Paper-309 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: 2182d47)
(Latest 1.20.2 Paper release)

Plugins
Server Plugins (90):
[23:13:39 INFO]: Bukkit Plugins:
AdvancedPortals, *AdvancedReplay, *afkTerminator, AFKViewDistance, ajParkour, AntiAura-ESP, AntiCheatAddition, AntiGuest, BetterPortals, BlueMap
[23:13:39 INFO]: ChestProtect, Citizens, ClearLag, *ClientStats, CMI, CMILib, Codex, ConditionalCommands, ConsoleSpamFix, DeadlyDisasters
[23:13:39 INFO]: DiscordSRV, DiscordSRV-Staff-Chat, DragonSlayer, dynmap, EnchantmentLock, EntityDetection, Essentials, EssentialsAntiBuild, EssentialsSpawn, FarmControl
[23:13:39 INFO]: FastAsyncWorldEdit, floodgate, *ForcedGrammar, *FreeAutoMessage, FreedomChat, Geyser-Spigot, GrimAC, Hurricane, IllegalStack, Illusion
[23:13:39 INFO]: ImageFrame, InfernalMobs, InteractiveChat, InteractiveChatDiscordSrvAddon, Itemizer, *JLib, LeaderHeadsRevamped, LevelledMobs, Lib1711, LibsDisguises
[23:13:39 INFO]: LimitPillagers, LogBlock, LuckPerms, LWC, LWCTrust, MinecartCollisions, MobFarmManager, Multiverse-Core, Multiverse-Inventories, Multiverse-NetherPortals
[23:13:39 INFO]: MusicBox, NoCheatPlus, NoteBlockAPI, Orebfuscator, packetevents, PetMaster, PhatLoots, PlaceholderAPI, PlugManX, ProtocolLib
[23:13:39 INFO]: PublicCrafters, PvPManager, RandomEvents, RealisticSeasons, *RealPlugin, *RealTeleporter, *RedstoneClockDetector, *RelativeCoordCalculator, Vault, ViaBackwards
[23:13:39 INFO]: ViaVersion, ViaVersionStatus, ViewDistanceTweaks, War, *WDLCompanion, WGEF-Reborn, WorldBorder, WorldEditSelectionVisualizer, WorldGuard, ZeroTickFarmBlocker

How To Reproduce
Steps to reproduce the behavior:

  1. Install PacketEvents 2.3.0 (same with the 2 previous versions...)
  2. Start server (PacketEvents does not throw any errors and starts normally)
  3. Try to connect to server
  4. the server rejects us and shows an error in the console: https://pastebin.com/M5L01LtV

Expected behavior
Being able to play on the server while having PacketEvents installed^^

Screenshots
Client side error:
image

Additional context
We tried to connect with client versions from 1.20.1 to 1.20.6, but that doesn't change anything.

Originally I needed to install PacketEvents since the latest version of AntiCheatAddition needs it as a dependency (instead of ProtocolLib). This is the reason why I need to install PacketEvents.

@Chevels Chevels added the bug Something isn't working label May 16, 2024
@OakLoaf
Copy link

OakLoaf commented May 17, 2024

This is caused by the same thing as in #712 and is waiting on this PR #717

@AbhigyaKrishna
Copy link
Collaborator

This issue is unrelated to #717

@AbhigyaKrishna AbhigyaKrishna self-assigned this May 18, 2024
@Chevels
Copy link
Author

Chevels commented May 18, 2024

This issue is unrelated to #717

Ah! So this invalidates our discussions on the famous PR I suppose.

In this case, a clue perhaps? Where would the problem come from, PacketEvents? from AntiCheatAddition? Something else ?
The problem only occurs if the 2 are installed together; one without the other does not cause an error apart from ACA which does not work without PacketEvents.

Have a nice week end !

@AbhigyaKrishna
Copy link
Collaborator

I have identified the issue and have started working on it.

@Chevels
Copy link
Author

Chevels commented May 18, 2024

This sounds good ! Thank you for your work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants