ItemStack and Base64 (string) conversion library for Spigot.
repositories {
mavenCentral()
}
dependencies {
implementation("dev.s7a:base64-itemstack:1.0.0")
}
repositories {
mavenCentral()
}
dependencies {
implementation "dev.s7a:base64-itemstack:1.0.0"
}
String base64 = Base64ItemStack.encode(itemStack);
ItemStack itemStack = Base64ItemStack.decode(base64);