GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TuxCoding/FastLogin: Checks if a Minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)

BranchesTags
Open more actions menu

Latest commit

 

History

1,140 Commits
1,140 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
bukkit
bukkit
 
 
bungee
bungee
 
 
core
core
 
 
velocity
velocity
 
 
.gitignore
.gitignore
 
 
.java-version
.java-version
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
checkstyle.xml
checkstyle.xml
 
 
pom.xml
pom.xml
 
 

Repository files navigation

FastLogin

A shield-shaped emblem with a bold lightning bolt on the left, resembling Minecraft blocks. To the right, "FastLogin" is written in teal, with the tagline: "Automatically detect and login premium Minecraft players"

Checks if a Minecraft player has a paid account (premium). If so, they can skip offline authentication (auth plugins). So they don't need to enter passwords. This is also called auto login (auto-login).

Features

  • Detect paid accounts from others
  • Automatically login paid accounts (premium)
  • Support various of auth plugins
  • Premium UUID support
  • Forward skins
  • Detect username changed and will update the existing database record
  • BungeeCord/Velocity support
  • Auto register new premium players
  • No client modifications needed
  • Good performance by using async operations
  • Locale messages
  • Support for Bedrock players proxies through FloodGate

Issues

Please use issues for bug reports, suggestions, questions and more. Please check for existing issues. Existing issues can be voted up by adding up vote to the original post. Closing issues means that they are marked as resolved. Comments are still allowed and it could be re-opened.

Development builds

Development builds contain the latest changes from the Source-Code. They are bleeding edge and could introduce new bugs, but also include features, enhancements and bug fixes that are not yet in a released version. If you click on the left side on Changes, you can see iterative change sets leading to a specific build.

You can download them from here: CodeMC(Jenkins)


Technical Authentication

sequenceDiagram
    autonumber
    participant C as Client
    participant S as Server
    participant M as Mojang

    C->>S: LOGIN_START (name)
    Note over S: DB: check if username is saved as premium
    S->>C: ENCRYPTION_REQUEST
    Note right of C: Offline clients terminates connection here
    Note right of C: In Offlinemode: LOGIN_SUCCESS is sent directly

    rect rgb(240, 240, 240)
        C->>M: POST /session/minecraft/join
        C->>S: ENCRYPTION_RESPONSE
        Note right of C: Client starts encrypting
    end

    Note over S: Decrypt and verify token
    S->>M: GET /hasJoined (async)
    M->>S: {uuid, name, skin}

    Note over S: Server encrypts traffic
    Note over S: Inject skin and premium UUID
    S->>S: Re-inject LOGIN_START(name)

    S->>C: LOGIN_SUCCESS
Loading

Commands

/premium [player] Label the invoker or the argument as paid account
/cracked [player] Label the invoker or the argument as cracked account

Permissions

fastlogin.bukkit.command.premium
fastlogin.bukkit.command.cracked

fastlogin.command.premium.other
fastlogin.command.cracked.other

Placeholder

This plugin supports PlaceholderAPI on Spigot. It exports the following variable %fastlogin_status%. In BungeeCord environments, the status of a player will be delivered with a delay after the player already successful joined the server. This takes about a couple of milliseconds. In this case the value will be Unknown.

Possible values: Premium, Cracked, Unknown

Requirements

  • Java: 21+ recommended for improved multi-threading code by FastLogin
    • Spigot: 8+
    • BungeeCord and Velocity: 17+
  • Server software in offlinemode:
    • Spigot (or a fork e.g. Paper) 1.8.8+
      • Protocol plugin:
        • ProtocolLib 5.3+ with development build above 720 or
        • ProtocolSupport
    • Latest BungeeCord (or a fork e.g. Waterfall) or Velocity proxy
  • An auth plugin.

Supported auth plugins

Spigot/Paper

  • AdvancedLogin (Paid)
  • AuthMe (5.X)
  • CrazyLogin
  • LoginSecurity
  • LogIt
  • UltraAuth
  • UserLogin
  • xAuth

BungeeCord/Waterfall

  • BungeeAuth

Network requests

This plugin performs network requests to:

  • https://api.mojang.com - retrieving uuid data to decide if we should activate premium login
  • https://sessionserver.mojang.com - verify if the player is the owner of that account

How to install

Spigot/Paper

  1. Download and install ProtocolLib/ProtocolSupport
  2. Download and install FastLoginBukkit
  3. Set your server in offline mode by setting the value onlinemode in your server.properties to false

BungeeCord/Waterfall or Velocity

Install the plugin on both platforms, that is proxy (BungeeCord or Velocity) and backend server (Spigot).

  1. Activate proxy support in the server configuration
    • This is often found in spigot.yml or paper.yml
  2. Restart the backend server
  3. Now there is allowed-proxies.txt file in the FastLogin folder of the restarted server
    • BungeeCord: Put your stats-id from the BungeeCord config into this file
    • Velocity: On plugin startup the plugin generates a proxyId.txt inside the plugins folder of the proxy
  4. Activate ip forwarding in your proxy config
  5. Check your database settings in the config of FastLogin on your proxy
    • The proxies only ship with a limited set of drivers where Spigot supports more. Therefore, these are supported:
    • BungeeCord: mysql for MySQL/MariaDB
    • Velocity: mariadb for MySQL/MariaDB
    • Note the embedded file storage SQLite is not available
    • MySQL/MariaDB requires an external database server running. Check your server provider if there is one available or install one.
  6. Set proxy and Spigot in offline mode by setting the value onlinemode in your config.yml to false
  7. You should always configure the firewall for your Spigot server so that it's only accessible through your proxy
    • This is also the case without this plugin
    • https://www.spigotmc.org/wiki/bungeecord-installation/#post-installation

About

Checks if a Minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)

www.spigotmc.org/resources/fastlogin.14153

Topics

autologinbungeecordminecraftmixed-onlinemodeoffline-modepluginpremiumpremium-uuidspigot-plugin

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

647 stars

Watchers

18 watching

Forks

172 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.