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

Add CloudnetV4 support and maven depedency fix #600

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Phyrone
Copy link

@Phyrone Phyrone commented Jan 4, 2023

  • kick player using cloudnet v4 instant of bungeecord (like version 3 and 2 support)
    • fix player not kicked when using cloudnet v4
  • updated maven dependencies necessary to compile

CloudnetV4 is at the moment of this pull request still in release candidate state. It's still possible that the API changes, however I consider it as very unlikely.

@DevLeoko
Copy link
Owner

DevLeoko commented Jan 4, 2023

Looks good - has this been tested with the latest CloudNet V4 build?

@Phyrone
Copy link
Author

Phyrone commented Jan 4, 2023

I installed it on my network(which is v4 - rc5) for a few hours now, and it works fine so far.

@Phyrone
Copy link
Author

Phyrone commented Jan 4, 2023

However cloudnet v4 uses adventure text, and I was not sure first, how to convert.
I used legacy next convert for (like bungeecord TextComponent.fromLeagytext) now. I think that's the correct one.

Copy link
Owner

@DevLeoko DevLeoko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contibution

@DevLeoko
Copy link
Owner

DevLeoko commented Jan 7, 2023

Seems like something with the Cloudnet V4 dependency is wrong (see automated test)

@Phyrone
Copy link
Author

Phyrone commented Jan 7, 2023

Looks like cloudnet 4 requires at least java 17 meanwhile advancedbans still compiles on java 1.8.
i dont know how to solve this without upgrading advancedbans to java 17

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

Successfully merging this pull request may close these issues.

2 participants