NeoLogin 图标

NeoLogin

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/neologin
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

标签: game-mechanics management utility

资源介绍

NeoLogin - Mod Description

NeoLogin is a lightweight, high-performance, and secure authorization mod for Minecraft servers running on NeoForge 1.21.1. The mod protects player accounts on offline-mode (cracked) servers by requiring authentication upon joining.

It is designed with a focus on stability under load, log security, and ease of administration.

Key Features
Flexible Database Storage: Out-of-the-box support for local SQLite storage (does not require any configuration) and remote MySQL database support for multi-server networks.
Database Backup and Migration: Built-in commands to export and import player databases in JSON format. This allows easy backups and seamless migration between SQLite and MySQL when scaling up the server.
Pre-auth Player Locking: Unauthenticated players are temporarily switched to Spectator mode and their movement is fully restricted. They cannot move, send chat messages, execute commands, interact with the world, or take damage.
Console Log Security: Automatic filtering of player passwords in console logs. During authentication or registration commands, passwords in console outputs are replaced with a secure mask (***).
Offline Player Management: Ability to reset passwords or unregister accounts even when the target player is not currently online.
Automatic Config Migrator: Internal version tracking automatically updates the structure of the configuration file upon mod updates, preventing broken configurations and duplicate parameter bugs.

Mod Commands

Player Commands

  • /register - Register a new account.
  • /login - Authenticate upon joining the server.
  • /changepassword - Change your current account password.

    Admin Commands (Requires permission neologin.admin or OP Level 2)

  • /neologin backup - Export the entire player database to a JSON backup file.
  • /neologin backups - List all available backup files on the server.
  • /neologin restore "filename" - Import player accounts from a selected backup file.
  • /neologin unregister - Delete a player account, resetting their registration status.
  • /neologin setpassword - Forcefully set a new password for a player.
  • /neologin reload - Reload configuration file settings without restarting the server.
    Database Configuration
    The configuration file is located at config/neologin-server.toml. You can configure the database type and connection parameters in the database block:
  [Database]
    Type of database to use. Allowed values: 'sqlite' or 'mysql'.
    databaseType = "sqlite"
    Connection parameters (only used when databaseType is 'mysql')
    mysqlHost = "localhost"
    mysqlPort = 3306
    mysqlDatabase = "neologin"
    mysqlUsername = "root"
    mysqlPassword = "password"
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
MCBrowser

价格:0 墨喵币
下载量:0

查看详情
Guidebook.md

价格:0 墨喵币
下载量:0

查看详情
Bedrock Coordinates

价格:0 墨喵币
下载量:0

查看详情
Easy Hardcore

价格:0 墨喵币
下载量:0

查看详情