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

Not working properly on the latest Velocity #71

Open
404Setup opened this issue Oct 6, 2024 · 3 comments
Open

Not working properly on the latest Velocity #71

404Setup opened this issue Oct 6, 2024 · 3 comments

Comments

@404Setup
Copy link

404Setup commented Oct 6, 2024

image

Velocity version: 3.3.0-SNAPSHOT-436

ServerUtils version: Velocity-3.5.4

@404Setup
Copy link
Author

404Setup commented Dec 7, 2024

Already found a solution:

Veloticy added a dummy plugin named velocity to the plugin list, which caused serverutils to crash. You only need to filter the plugin with id velocity in the public List<PluginContainer> getPlugins() method in net/frankheijden/serverutils/velocity/managers/VelocityPluginManager.java and remove it from the copied set.

@404Setup
Copy link
Author

404Setup commented Dec 7, 2024

There is also an error in the net/frankheijden/serverutils/velocity/reflection/RVelocityEventManager.java, velocity removed their asyncExecutor from VelocityEventManager, just use Executors to build your own asyncExecutor and replace the reflection method

@404Setup
Copy link
Author

404Setup commented Dec 7, 2024

The fixed ServerUtils has been successfully started and runs normally on my Velocity. (latest 3.4.0 build)

It's been tiring enough today, I will create a merge request the next day, or wait for the developer to fix it himself.

@404Setup 404Setup changed the title Not working properly on the latest Velocity [Solutions are available] Not working properly on the latest Velocity Dec 7, 2024
@404Setup 404Setup changed the title [Solutions are available] Not working properly on the latest Velocity [Solutions already available] Not working properly on the latest Velocity Dec 7, 2024
@404Setup 404Setup closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2024
@404Setup 404Setup changed the title [Solutions already available] Not working properly on the latest Velocity Not working properly on the latest Velocity Dec 8, 2024
@404Setup 404Setup reopened this Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant