Skip to content

azalea-rs/azalea-viaversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azalea ViaVersion

An Azalea plugin using ViaProxy to support connecting to every Minecraft server version.

Usage

Add the ViaVersionPlugin to your ClientBuilder or SwarmBuilder.

use azalea::prelude::*;
use azalea_viaversion::ViaVersionPlugin;

#[tokio::main]
async fn main() {
    ClientBuilder::new()
        .add_plugins(ViaVersionPlugin::start("1.21.4").await)
        .start(Account::offline("Azalea"), "localhost")
        .await
        .unwrap();
}

Compatibility

This plugin depends on the main branch of Azalea.

Important

If you want use a different branch or fork you must patch your project's Cargo.toml file!

[dependencies]
azalea = { git = "https://github.com/azalea-rs/azalea" }
azalea-viaversion = { git = "https://github.com/azalea-rs/azalea-viaversion" }

# Note: You can also use this to pin Azalea to a specific commit.
# [patch.'https://github.com/azalea-rs/azalea']
# azalea = { git = "https://github.com/azalea-rs/azalea", branch = "1.21.4" }

Matrix/Discord

If you'd like to chat about Azalea, you can join the Matrix space at #azalea:matdoes.dev (recommended) or the Discord server at discord.gg/FaRey6ytmC (they're bridged so you don't need to join both).

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.

About

Multiversion for Azalea

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages