1092166973 | ||
---|---|---|
.github | ||
gradle/wrapper | ||
src/main | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
settings.gradle |
README.md
Simple Authentication Mod
License
Libraries that the project is using:
Argon2 (LGPLv3)
https://github.com/phxql/argon2-jvmBCrypt (Apache 2)
https://github.com/patrickfav/bcryptBytes (Apache 2)
https://github.com/patrickfav/bytes-javaleveldb (BSD-3-Clause)
https://github.com/google/leveldbJNA (Apache 2 || LGPLv3)
https://github.com/java-native-access/jna
This project is licensed under the MIT
license.
For mod developers
Changing code
- Clone the repository. Then run
./gradlew genSources
- Edit the code you want.
- To build run the following command:
./gradlew build
Adding the mod to your buildscript (to ensure compatibility)
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