Closed HappyAreaBean closed 12 months ago
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 :))
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 paste
command/balancer paste bungee
replaced with/balancer paste velocity
velocity.toml
inPasteHelper
/balancer paste logs
will now directly upload the server log (logs/latest.log
)description
is now Component instead of Stringping
method in Velocity return Component in description,StatusResponse
have a methodfromJson
to handle description correctlyStyles Changes
Click me for info
→Click me for info of <parent section>
BungeeCord
text toVelocity
in messages/logClick me for info
→Click me for info of section <section name>
New Features
same-section
message 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.log
log file/balancer paste logs
since it will upload thelogs/latest.log
instead.Project Changes
balancer-velocity
folder