2021-05-07 12:33:09 +00:00
|
|
|
## Simple Authentication Mod
|
2019-10-24 20:13:52 +00:00
|
|
|
|
2021-06-23 21:41:42 +00:00
|
|
|
Since Samolego deprecated his mod, I consider updating it to the latest version.
|
2021-03-16 17:56:33 +00:00
|
|
|
|
|
|
|
See [wiki](https://github.com/samolego/SimpleAuth/wiki) for more information.
|
|
|
|
|
2020-07-02 08:31:19 +00:00
|
|
|
## License
|
|
|
|
Libraries that the project is using:
|
|
|
|
- `Argon2 (LGPLv3)` https://github.com/phxql/argon2-jvm
|
2020-07-29 12:03:10 +00:00
|
|
|
- `BCrypt (Apache 2)` https://github.com/patrickfav/bcrypt
|
|
|
|
- `Bytes (Apache 2)` https://github.com/patrickfav/bytes-java
|
2020-07-02 08:31:19 +00:00
|
|
|
- `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.
|
|
|
|
|
|
|
|
# For mod developers
|
|
|
|
|
|
|
|
## Changing code
|
2019-10-24 20:13:52 +00:00
|
|
|
|
2020-04-05 18:23:33 +00:00
|
|
|
1. Clone the repository. Then run `./gradlew genSources`
|
2019-10-25 06:57:27 +00:00
|
|
|
2. Edit the code you want.
|
|
|
|
3. To build run the following command:
|
2019-10-24 20:13:52 +00:00
|
|
|
|
|
|
|
```
|
2021-06-23 21:41:42 +00:00
|
|
|
./gradlew clean build
|
2020-07-02 08:31:19 +00:00
|
|
|
```
|
2021-06-23 21:41:42 +00:00
|
|
|
4. Delete `"accessWidener": "simpleauth.accesswidener"` from `fabric.mod.json` in your `.jar`
|