Skip to content

plasmoapp/mc-slib

Repository files navigation

slib

Universal Minecraft server/proxy library for Plasmo Voice.

Maven repository

repositories {
    maven("https://repo.plasmoverse.com/snapshots")
}

API

Common

Shared API for server and proxy

implementation("su.plo.slib:api-common:$libVersion")

Server

API for server platforms: Spigot/Fabric/Forge

implementation("su.plo.slib:api-server:$libVersion")

Proxy

API for proxy platforms: Velocity/BungeeCord

implementation("su.plo.slib:api-proxy:$libVersion")

Platforms

Fabric

build.gradle.kts

modImplementation("su.plo.slib:fabric-$mcVersion:$libVersion")

You also need to add

Initialization: FabricMod.kt

Forge

implementation("su.plo.slib:forge-$mcVersion:$libVersion")

Initialization: ForgeMod.kt

Spigot

implementation("su.plo.slib:spigot:$libVersion")

Initialization: SpigotPlugin.kt

Minestom

implementation("su.plo.slib:minestom:$libVersion")

Initialization: MinestomExtension.kt

BungeeCord

implementation("su.plo.slib:bungee:$libVersion")

Initialization: BungeePlugin.kt

Velocity

implementation("su.plo.slib:velocity:$libVersion")

Initialization: VelocityPlugin.kt

Version

version

Fabric/Forge minecraft versions

There is not all minecraft versions for Fabric/Forge platforms, so you need to use older/newer supported minecraft version

slib minecraft version Supported minecraft versions
1.16.5 1.16.5
1.17.1 1.17.1
1.19.3 1.18.2-1.19.4
1.20.1 1.20.1
1.20.2 1.20.2+

For instance, with minecraft 1.18.2, you need to use 1.19.3:

implementation("su.plo.slib:$platform-1.19.3:$libVersion")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •