MaskAuth

MaskAuth

Best login security using pin code

93 downloads 0 followers

MaskAuth

Minecraft Spigot Java License Version


๐Ÿ” The most stylish authentication plugin for Minecraft. A 6-digit PIN system with a fully interactive GUI numpad, custom number-head skulls, IP tracking, BungeeCord support, and total account security โ€” all in one.


๐Ÿ–ผ๏ธ Preview

๐Ÿ” Login GUI ๐Ÿ“‹ Register GUI โš™๏ธ Change PIN
Number-head numpad with live PIN display Clean 6-slot register flow Two-step old โ†’ new PIN change

โœจ Features

๐Ÿ”ข GUI-Based PIN System

  • Fully interactive 54-slot chest GUI โ€” no chat commands needed
  • Custom player-head skulls for every digit 0โ€“9, each with a unique number skin
  • Live PIN indicator โ€” 6 slot display at the top fills in as you click digits (shown as โ— dots)
  • Auto-confirm when all 6 digits are entered
  • Backspace and Confirm skull buttons
  • GUI re-opens automatically if closed before authentication โ€” no bypass possible

๐Ÿ›ก๏ธ Rock-Solid Security

  • PINs hashed with SHA-256 + UUID salt โ€” never stored in plaintext
  • Movement freeze while unauthenticated
  • Blindness effect on join until authenticated
  • Chat and command blocking until login completes
  • Max attempt limit โ€” too many wrong PINs = kick

๐ŸŒ IP Tracking & Control

  • ๐Ÿ“ Full IP history logged per player with timestamps
  • ๐Ÿšซ IP account limit โ€” configurable max accounts per IP address
  • ๐Ÿ”” Admin alerts when a player logs in from a new IP
  • ๐Ÿ” /maskauth ipinfo <player> to view a player's complete IP history

๐Ÿ•น๏ธ Legacy Player Support

  • Players on older clients or who prefer commands can use:
    • /register <pin> โ€” register with a 6-digit PIN via chat
    • /login <pin> โ€” authenticate via chat command
  • Fully toggleable in config.yml

๐ŸŒ Auth World

  • Unauthenticated players are teleported to a designated auth world/spawn
  • Configurable world name, XYZ coordinates, yaw & pitch

๐Ÿ”— BungeeCord Integration

  • Designate this server as an auth server
  • Automatically forward authenticated players to your lobby/main server
  • Compatible with BungeeCord's IP forwarding

๐Ÿ’ฌ Fully Custom Messages

  • Every single message is configurable in config.yml
  • Full & color code support
  • Custom prefix with color formatting

๐Ÿ“ฆ Installation

1. Download MaskAuth-1.0.0.jar
2. Drop it into your /plugins/ folder
3. Restart your server
4. Configure plugins/MaskAuth/config.yml
5. โœ… Done!

Requirements: Spigot or Paper 1.20.x ยท Java 11+


๐Ÿ”ง Commands

Command Description Permission
/register Open register GUI (or /register <pin> legacy) โ€”
/login Open login GUI (or /login <pin> legacy) โ€”
/changepin Change your PIN via GUI โ€”
/unregister <player> Delete a player's auth data maskauth.admin
/maskauth reload Reload the config maskauth.admin
/maskauth status View live auth status maskauth.admin
/maskauth ipinfo <player> View player IP history maskauth.admin
/maskauth info Plugin version info maskauth.admin

๐Ÿ”‘ Permissions

Permission Description Default
maskauth.admin Full admin access OP
maskauth.bypass Skip authentication entirely false
maskauth.ipbypass Bypass IP account limit false

โš™๏ธ Configuration

๐Ÿ“„ Click to expand config.yml
settings:
  session-timeout: 0          # Seconds to remember login (0 = off)
  max-attempts: 5             # Wrong PIN attempts before kick
  login-timeout: 60           # Seconds to authenticate before kick
  blind-on-join: true         # Apply blindness until authenticated
  freeze-movement: true       # Freeze player until authenticated
  hide-until-auth: true       # Hide player from others until auth

  auth-world:
    enabled: true
    world: "world"
    spawn: { x: 0.5, y: 64.0, z: 0.5 }

  legacy-support:
    enabled: true             # Allow /login <pin> and /register <pin>

ip-settings:
  max-accounts-per-ip: 3
  track-ip-history: true
  alert-admins-on-new-ip: true

bungeecord:
  enabled: false
  is-auth-server: false
  forward-server: "lobby"

gui:
  register-title: "&8๐Ÿ” &bMask&3Auth &8ยป &7Register"
  login-title: "&8๐Ÿ” &bMask&3Auth &8ยป &7Login"
  mask-display: true          # Show โ— instead of actual digits

๐ŸŽจ GUI Layout

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  [โ—] [โ—] [โ—] [โ—‹] [โ—‹] [โ—‹]   โ† PIN display (6 slots) โ”‚
โ”‚โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”‚
โ”‚  [ 7 ] [ 8 ] [ 9 ] [ โŒซ ]   โ† Number skulls         โ”‚
โ”‚  [ 4 ] [ 5 ] [ 6 ] [   ]                            โ”‚
โ”‚  [ 1 ] [ 2 ] [ 3 ] [ โœ” ]   โ† Confirm                โ”‚
โ”‚  [       0       ] [   ]                            โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  Each number is a custom player head with digit skin

๐Ÿ”’ How Security Works

Player enters PIN via GUI
         โ†“
SHA-256( UUID + "::maskauth::" + PIN )
         โ†“
Stored hash compared โ€” raw PIN never saved
         โ†“
โœ… Match โ†’ Authenticated   โŒ No match โ†’ Attempt recorded

Salting with the player's UUID means two players with the same PIN have completely different stored hashes.


๐Ÿ—‚๏ธ Data Storage

Player data is stored in plugins/MaskAuth/data/players.yml:

players:
  <uuid>:
    name: "Steve"
    hashed-pin: "a3f5c8..."   # SHA-256 hash โ€” never plaintext
    registered-ip: "192.168.1.1"
    registered-at: 1700000000000
    ip-history:
      192_168_1_1: 1700000000000
      10_0_0_5:    1700005000000

๐ŸŒ BungeeCord Setup

  1. Enable bungeecord.enabled: true in config.yml
  2. Set is-auth-server: true on your auth server
  3. Set forward-server: "lobby" to your main server name
  4. Players authenticate โ†’ automatically forwarded to lobby

๐Ÿ“‹ Compatibility

Platform Status
Spigot 1.20.x โœ… Supported
Paper 1.20.x โœ… Supported
BungeeCord โœ… Supported
Velocity โš ๏ธ Untested
Spigot 1.18โ€“1.19 โš ๏ธ May work

๐Ÿ› Issues & Support

Found a bug or have a feature request?

GitHub Issues Discord

๐Ÿ’ฌ Discord: allay_gaming_x ๐Ÿ™ GitHub: @ALLAY-XD-20


๐Ÿ“œ License

Copyright ยฉ 2024 Pawan (ALLAY-XD-20)
All Rights Reserved.

This software and its source code are the exclusive property of Pawan.
Unauthorized copying, modification, distribution, sublicensing, or
commercial use of this software, in whole or in part, is strictly
prohibited without express written permission from the author.

You may NOT:
  โ€ข Redistribute this plugin or its source code
  โ€ข Modify and re-upload as your own
  โ€ข Use in commercial products without permission
  โ€ข Claim authorship or ownership

You MAY:
  โ€ข Use this plugin on your personal or public Minecraft server
  โ€ข Report issues and suggest features via GitHub

For licensing inquiries, contact via Discord: allay_gaming_x

โš ๏ธ ALL RIGHTS RESERVED (ARR) โ€” Pawan ยฉ 2024


Made with โค๏ธ by Pawan

GitHub ย  Discord

๐Ÿ” Keeping Minecraft servers secure, one PIN at a time.

Version Minecraft Loader Download

MaskAuth 1.0.0

1.0.0

1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2
bukkit, bungeecord, paper, purpur, spigot
Download