Login System

LoginSystem For offline servers

File Details

loginsystem-1.1.jar

  • B
  • Mar 17, 2025
  • 13.91 KB
  • 762
  • 1.20.1
  • Forge

File Name

loginsystem-1.1.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:loginmod-1217786:6314085")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

🚀 Version 1.1 Changelog 🚀

 

✨ New Features:

 

Database Support via JDBC

 

Now you can store player passwords in a database instead of a file!

The mod automatically loads the correct JDBC driver based on your JDBC URL configuration.

Supports MySQL, SQLite, and PostgreSQL.

External Mods:

MySQL JDBC Mod

SQLite JDBC Mod

 

Waiting Area & Position Restoration

 

When a player joins without logging in or registering, their original position is saved and they’re teleported to a configurable waiting area.

Upon successful registration or login, the player is returned to their original location.

📍 Waiting Area coordinates are configurable in the config file!

 

Inventory Hiding

 

Unlogged players have their inventory hidden until they log in, preventing unwanted interactions.

 

Blindness Effect

 

A blindness effect is applied to players who have not logged in, blocking their view until their identity is confirmed.

The duration is configurable (20 ticks = 1 second).

 

Double Login Prevention

 

Prevents duplicate logins by disconnecting any new connection if a player with the same UUID is already online.

 

Admin Commands

 

/loadmin info <player>: Displays a player's hashed password.

/loadmin delete <player>: Removes a player's password from storage.

 

Enhanced Configuration File

 

The config file now includes detailed comments to help you customize settings to your server's needs.

 

🛠️ Improvements & Bug Fixes:

 

Improved error handling and logging for database connections and driver loading.

Refactored code for enhanced readability and maintainability.

Upgraded password security with SHA-256 hashing.

Enhanced user feedback messages during registration and login.

Minor optimizations in event handling and command processing.

 

🙏 Your Donation Helps Me!

If you enjoy this mod and want to support my work, please consider donating. Your support is truly appreciated and helps me continue improving and adding new features!

 

Enjoy the update, and thank you for your support!