Simple authentication mod for Fabric or Forge servers.
See wiki for more information.
Libraries that the project is using:
Argon2 (LGPLv3)
https://github.com/phxql/argon2-jvm
BCrypt (Apache 2)
https://github.com/patrickfav/bcrypt
Bytes (Apache 2)
https://github.com/patrickfav/bytes-java
leveldb (BSD-3-Clause)
https://github.com/google/leveldb
JNA (Apache 2 || LGPLv3)
https://github.com/java-native-access/jna
This project is licensed under the MIT
license.
./gradlew genSources
./gradlew build
Add following text to your build.gradle
repositories {
maven {
url 'https://jitpack.io'
}
}
dependencies {
// By version tag
modImplementation 'com.github.samolego:SimpleAuth:${project.simpleauth_version}'
// Or by branch
modImplementation 'com.github.samolego:SimpleAuth:${project.simpleauth_branch}-SNAPSHOT'
}
And this to your gradle.properties
# By tag (version)
# SimpleAuth version (this might not be the latest version)
simpleauth_version = 1.4.8
# Or this (by branch)
# SimpleAuth branches
# master branch (the latest version for stable minecraft release)
simpleauth_branch = master
# snapshot branch (branch for minecraft snapshots)
simpleauth_branch = latest-snapshot