Git Product home page Git Product logo

Comments (8)

frafol avatar frafol commented on May 28, 2024 2

Fixed it in cleanstaffchat.

from clientcatcher.

4drian3d avatar 4drian3d commented on May 28, 2024

What plugins are you using?
I think there was a plugin that was incompatible because it downloaded Kotlin stdlib without relocation and without the reflection module

from clientcatcher.

GrimPlayzs avatar GrimPlayzs commented on May 28, 2024

Here is a list of my Velocity plugins.

AdvancedServerList
ajQueue
Blossom
Cleanping
ClientCatcher
EnhancedVelocity
Floodgate
Geyser
KickRedirect
LanBroadcaster
LibertyBans
LuckPerms
Maintenance
MapModCompanion
MCKotlinVelocity
MiniMOTD
MiniPlaceholders
Parties
Plan
PluginVersions
ProxyChat
SkinsRestorer
Velocitab
VelocityReport
VelocityVanish
ViaBackwards
ViaRewind
ViaVersion
VLobby
VServerInfo

from clientcatcher.

4drian3d avatar 4drian3d commented on May 28, 2024

The problem is probably EnhancedVelocity or Blossom, since they include Kotlin stdlib without relocating.
The conflict comes because MCKotlin provides Kotlin stdlib to several plugins along with Kotlin reflect and KotlinX Courutines, for which, you can't relocate their dependencies, in the case of EnhancedVelocity or Blossom, they also contain Kotlin stdlib for use in their own plugin, but without Kotlin reflect (which is what ClientCatcher uses), so it creates a class conflict and the classes included in these plugins take precedence, making Kotlin reflect not accessible from ClientCatcher.

The solutions would either be for these plugins to relocate their version of Kotlin stdlib or to rely on MCKotlin (which I think would be more beneficial for them)

from clientcatcher.

GrimPlayzs avatar GrimPlayzs commented on May 28, 2024

After doing my own testing I figured out it was neither EnhancedVelocity nor Blossom but was AdvancedServerList that was causing the error.

from clientcatcher.

4drian3d avatar 4drian3d commented on May 28, 2024

I didn't expect it, but I just checked and AdvancedServerList has the same problem as EnhancedVelocity and Blossom. And it makes a lot of sense, since according to the alphabetical loading of plugins, AdvancedServerList would be the first to load

from clientcatcher.

GrimPlayzs avatar GrimPlayzs commented on May 28, 2024

Interesting all thought in my case ClientCatcher works perfectly even with EnhancedVelocity and Blossom both installed and only fails to load with AdvancedServerList in my case. But even if I'm not getting any errors in the console could I get unexpected behaviors from EnhancedVelocity or Blossom since ClientCatcher loads first?

from clientcatcher.

4drian3d avatar 4drian3d commented on May 28, 2024

Interesting all thought in my case ClientCatcher works perfectly even with EnhancedVelocity and Blossom both installed and only fails to load with AdvancedServerList in my case. But even if I'm not getting any errors in the console could I get unexpected behaviors from EnhancedVelocity or Blossom since ClientCatcher loads first?

There should be no problem if MCKotlin loads first as it contains all the libraries that ClientCatcher and the other plugins that use Kotlin require

According to your setup, the order of plugin loading would be:
AdvancedServerList -> Blossom -> MCKotlin (dependency of ClientCatcher) -> ClientCatcher -> EnhancedVelocity

Although, I don't know why Blossom is not having problems in your setup

from clientcatcher.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.