This repository was archived by the owner on Mar 8, 2025. It is now read-only.
feat: velocity support#35
Merged
BGHDDevelopment merged 2 commits intoBGHDDevelopment:masterfrom Oct 5, 2023
Merged
Conversation
Owner
|
This is beyond amazing! I've been so busy over the last year, I haven't even had time to look into the velocityAPI. I merged this and I'll go ahead and get it released ASAP with full credit to you of course. If you happen to be in my discord server, I'm happy to give you a VIP role for all your work. (Plus I may ask some questions about velocity :)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi! This PR adds Velocity support
It has been tested several times and things should work as expected.
Code Changes
com.jaimemartz.playerbalancer.velocity/balancer pastecommand/balancer paste bungeereplaced with/balancer paste velocityvelocity.tomlinPasteHelper/balancer paste logswill now directly upload the server log (logs/latest.log)descriptionis now Component instead of Stringpingmethod in Velocity return Component in description,StatusResponsehave a methodfromJsonto handle description correctlyStyles Changes
Click me for info→Click me for info of <parent section>BungeeCordtext toVelocityin messages/logClick me for info→Click me for info of section <section name>New Features
same-sectionmessage now have three new variable can be used{server}- the current server connected to{section}- the connected section name{alias}- the connected section aliasRemoved Features
balancer.loglog file/balancer paste logssince it will upload thelogs/latest.loginstead.Project Changes
balancer-velocityfolder