|
|
@ -1,15 +1,6 @@ |
|
|
|
# *Deprecated* |
|
|
|
|
|
|
|
## Simple Authentication Mod |
|
|
|
|
|
|
|
[](https://github.com/samolego/SimpleAuth/blob/master/LICENSE) |
|
|
|
[](https://samolego.github.io/projects/ci/SimpleAuth/latest) |
|
|
|
[](https://github.com/samolego/SimpleAuth/releases/latest) |
|
|
|
[](https://github.com/samolego/SimpleAuth/issues?q=is%3Aissue+is%3Aclosed) |
|
|
|
[](https://www.curseforge.com/minecraft/mc-mods/simpleauth) |
|
|
|
|
|
|
|
[<img src="https://i.imgur.com/Ol1Tcf8.png" alt="Requires Fabric API." width="200px" href="https://www.curseforge.com/minecraft/mc-mods/fabric-api">](https://www.curseforge.com/minecraft/mc-mods/fabric-api) |
|
|
|
|
|
|
|
Since Samolego deprecated his mod, I consider updating it to the latest version. |
|
|
|
|
|
|
|
See [wiki](https://github.com/samolego/SimpleAuth/wiki) for more information. |
|
|
|
|
|
|
@ -32,40 +23,6 @@ This project is licensed under the `MIT` license. |
|
|
|
3. To build run the following command: |
|
|
|
|
|
|
|
``` |
|
|
|
./gradlew build |
|
|
|
``` |
|
|
|
## Adding the mod to your buildscript (to ensure compatibility) |
|
|
|
|
|
|
|
Add following text to your `build.gradle` |
|
|
|
|
|
|
|
```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` |
|
|
|
```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 |
|
|
|
./gradlew clean build |
|
|
|
``` |
|
|
|
4. Delete `"accessWidener": "simpleauth.accesswidener"` from `fabric.mod.json` in your `.jar` |