promotional bannermobile promotional banner

Login System

LoginSystem For offline servers
Back to Files

loginsystem-1.1.jar

File nameloginsystem-1.1.jar
Uploader
notch99notch99
Uploaded
Mar 17, 2025
Downloads
875
Size
13.9 KB
Mod Loaders
Forge
File ID
6314085
Type
B
Beta
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:loginmod-1217786:6314085")

Learn more about Curse Maven

What's new

🚀 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!

This mod has no additional files