Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_xI8CFqce.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
LTS Auth - 墨喵 Minecraft 资源
LTS Auth 图标

LTS Auth

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.1+mc1.20.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/lts-auth
资源信息

Minecraft 版本: 1.20.1

平台: forge

标签: management utility

资源介绍

LTS Auth Mod

A server-side authentication mod for Minecraft Forge 1.20.1.

Features

  • Simple Authentication: Players can register and login using simple commands.
  • Player Restrictions: Unauthenticated players are frozen in place and cannot interact with the world.
  • Auto-Kick: Players are automatically kicked if they fail to authenticate within 60 seconds.
  • JSON Storage: Player data is stored in a simple JSON file for easy management.
  • Server-Side Only: Clients do not need to install the mod to join the server.

Commands

  • /register <password>: Register a new account.
  • /login <password>: Login to an existing account.

Configuration

The mod stores player data in config/lts_auth/players.json.

{
  "12345678-1234-1234-1234-123456789012": {
    "uuid": "12345678-1234-1234-1234-123456789012",
    "username": "PlayerName",
    "password": "plaintext_password",
    "registeredAt": 1769890665260
  }
}

Messages in config/lts_auth/messages.yml

messages:
  mod_initialized: "&aLTS Auth Mod initialized!"
  register_success: "&aRegistration successful. You are now logged in."
  login_success: "&aLogin successful."
  login_prompt: "&6Please log in using: /login <password>"
  register_prompt: "&6Please register using: /register <password>"
  login_reminder: "&cPlease log in using: /login <password>"
  register_reminder: "&cPlease register using: /register <password>"
  timeout_kick: "Authentication time has expired!"
  already_registered: "&cYou are already registered!"
  password_too_short: "&cPassword must contain at least 4 characters!"
  not_registered: "&cYou are not registered! Use /register <password>"
  already_logged_in: "&cYou are already logged in!"
  invalid_password: "&cInvalid password!"
  storage_load_failed: "Failed to load player data"
  storage_save_failed: "Failed to save player data"

Installation

  1. Download the mod JAR file.
  2. Place it in the mods folder of your Forge 1.20.1 server.
  3. Restart the server.
下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Sleep Timelapse

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

查看详情
Planes and Parasites

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

查看详情
[BTW Addon] LANPort

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

查看详情
QTable

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

查看详情