Skip to content

azalea-rs/azalea-viaversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azalea-viaversion

Add multiversion support to your Azalea bots, powered by ViaProxy.

Usage

To use this plugin, simply add the dependency with cargo add azalea-viaversion --git=https://github.com/azalea-rs/azalea-viaversion and then add .add_plugins(azalea_viaversion::ViaVersionPlugin::start("version name here").await) to your ClientBuilder or SwarmBuilder.

Note that this plugin depends on the Git (unstable) version of Azalea, so make sure you're using that.

SwarmBuilder::new()
    .set_handler(handle)
    .add_plugins(azalea_viaversion::ViaVersionPlugin::start("1.19.4").await)
    .add_account(account.clone())
    .start("localhost")
    .await;

How it works

The plugin will automatically download ViaProxy to ~/.minecraft/azalea-viaversion. It then starts up ViaProxy in the background and changes the connection address for the bots to the proxy. It also implements OpenAuthMod so it can keep using Azalea's normal auth mechanisms.

Releases

No releases published

Packages

No packages published

Languages