rasper_.

Create a complete, production-ready Minecraft authentication plugin for Paper/Spigot 1.21.x named VoidAuth.

The plugin is designed for cracked/offline-mode servers.

Main idea: When an unauthenticated player joins the server, they are placed into a completely dark void isolation state where:

They cannot move

Cannot execute commands except auth commands

Cannot interact

Cannot chat

Cannot take damage

Cannot see other players

Other players cannot see them

Their real coordinates/location are hidden for security

After successful authentication:

New players use /register <password> <password>

Returning players use /login <password>

Once authenticated:

Restore player to their original world/location

Restore inventory

Restore armor

Restore XP

Restore hunger/health

Allow normal gameplay

If they fail to authenticate within 30 seconds:

Kick them with configurable timeout message

IMPORTANT SYSTEM DESIGN: DO NOT teleport player into the real world before authentication.

Instead:

Create a temporary isolated authentication state

Teleport them to a fake void location such as:

empty custom world

or high Y-level hidden dimension

or packet-based fake world

Must be pitch black using blindness + darkness effects

Player should appear floating in darkness

No fall damage

No movement allowed

No coordinates exposed

No entity interaction

Security requirements:

Use BCrypt password hashing

Never store plain passwords

Use SQLite database

UUID-based storage

Session system optional/configurable

Anti brute-force login attempts

Configurable max attempts

Configurable timeout

Commands:

/register <password> <password>

/login <password>

/changepassword <old> <new>

/logout

/voidauth reload

Permissions:

voidauth.admin

voidauth.changepassword

Technical requirements:

Java 21

Gradle build system

Paper API 1.21.1

Fully async database operations

Clean package structure

Event listeners separated properly

Use Adventure API for messages

Use configurable sounds/titles/actionbars

Block ALL commands except:

/login

/register

while unauthenticated.

Block:

movement

dropping items

inventory access

command tab completion

chatting

item pickup

block breaking

block placing

entity interaction

damage

crafting

portals

Features:

Configurable authentication timeout

Configurable spawn isolation mode

Configurable messages

Configurable sounds

Configurable titles

Configurable actionbars

Configurable join quit messages

Optional auto-login by IP/session

Optional premium UUID support

Optional Floodgate/Geyser support

Reload command

Create the following:

  1. Full source code
  1. plugin.yml
  1. config.yml
  1. messages.yml
  1. Complete package structure
  1. SQL schema
  1. README
  1. Proper comments
  1. Example configs
  1. Gradle build files

Configurable prefix example:

prefix: "&8[&5VoidAuth&8] &7"

Example configurable messages:

register-usage: "%prefix% &cUsage: /register <password> <password>" login-usage: "%prefix% &cUsage: /login <password>"

register-success: "%prefix% &aSuccessfully registered." login-success: "%prefix% &aSuccessfully logged in."

wrong-password: "%prefix% &cWrong password." passwords-not-match: "%prefix% &cPasswords do not match."

already-authenticated: "%prefix% &eYou are already authenticated."

timeout-kick: "&cAuthentication timeout."

join-title: title: "&5&lVOID AUTH" subtitle: "&7Please login or register"

login-actionbar: "&7Authenticate using &d/login &7or &d/register"

movement-blocked: "%prefix% &cYou must authenticate first."

Isolation behavior:

Store player's original location before isolation

If player disconnects before login:

keep last location saved

After login:

teleport back to saved location

First join:

teleport to server spawn after register

Returning players:

teleport to previous logout location

Code quality requirements:

No memory leaks

Proper scheduler cleanup

Proper player cache handling

Safe async handling

Thread-safe database usage

Optimized for large servers

Minimal packet spam

Proper listener unregistering

Extra feature: Add optional “limbo mode” using packets only instead of real teleportation for better security/performance.

The plugin should feel modern, secure, optimized, and similar in quality to premium authentication plugins.

Kodari AI
KodariMay 26 at 3:00 pm 1,620 (v2)

I’ll create a comprehensive, production-ready authentication plugin with void isolation for cracked servers.

VoidAuth
A secure authentication system for cracked Minecraft servers featuring void isolation, BCrypt password hashing, SQLite storage, and session management. Unauthenticated players are placed in a pitch-black void state with complete movement/interaction restrictions until they register or log in. Includes anti-brute-force protection, configurable timeouts, auto-login by IP, and premium UUID support. Built for Paper 1.21.1 with fully async database operations.

[Generation stopped]

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
5 248