packetevents
packetevents copied to clipboard
Unable to connect to server if PacketEvents is installed (java.lang.NoSuchMethodError: net/kyori/adventure...)
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:
- Install PacketEvents 2.3.0 (same with the 2 previous versions...)
- Start server (PacketEvents does not throw any errors and starts normally)
- Try to connect to server
- 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:
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.