forked from sorceress/EasyAuth
1c15f9ea98
# Conflicts: # common/src/main/java/org/samo_lego/simpleauth/event/AuthEventHandler.java # common/src/main/java/org/samo_lego/simpleauth/mixin/MixinServerPlayNetworkHandler.java # common/src/main/java/org/samo_lego/simpleauth/mixin/MixinServerPlayerEntity.java # common/src/main/java/org/samo_lego/simpleauth/storage/PlayerCache.java |
||
---|---|---|
.github | ||
common | ||
fabric | ||
forge | ||
gradle/wrapper | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
pt_br.json | ||
settings.gradle |
README.md
Deprecated
Simple Authentication Mod
See wiki for more information.
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