samolego / SimpleAuth

Simple authentication mod for Fabric or Forge servers.
https://modrinth.com/mod/SimpleAuth
MIT License
39 stars 15 forks source link
authentication-mod fabric fabric-mod fabricmc forge forge-mod minecraft-server minecraft-server-mod mod

Deprecated

Simple Authentication Mod

License Fabric CI Version Closed Issues Curseforge downloads

Requires Fabric API.

See wiki for more information.

License

Libraries that the project is using:

This project is licensed under the MIT license.

For mod developers

Changing code

  1. Clone the repository. Then run ./gradlew genSources
  2. Edit the code you want.
  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

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