Skip to content

FakePlayer-CE.Build9

Choose a tag to compare

@EndlessPixel EndlessPixel released this 11 Sep 13:10
· 107 commits to master since this release

FakePlayer-CE.Build9

Fake Player Auto-Login & Password Management
This release introduces automatic login (auto-login) for fake players, a built-in password database, and the /fp password / /fp changepassword commands, plus a forced-execution switch to bypass the version check.

Highlights

  • Auto-Login for Fake Players: When enabled, a fake player automatically runs the configured register/login commands after spawn, with the password stored in the plugin database — solving the long-standing issue of AuthMe-style plugins kicking fake players for being "not logged in".
  • Password Database & /fp password: Store a login password per fake player via /fp password <name> <password>; no more plaintext passwords in self-commands.
  • /fp changepassword with Optional Old Password: Change a fake player's password and sync it to the auth plugin. The old password can be omitted — when omitted, the stored password is used directly, so a forgotten random password can still be reset.
  • Random Password Generation: random-password charset and random-password-length config; when auto-login is on and no password was set, a strong random password is generated and used to register/login automatically.
  • forced-execution Switch: Ignore the NMSBridge version check and force the plugin to run on unsupported Minecraft versions (falls back to the first available NMSBridge implementation; NMS incompatibility risk is on you).

Critical Fixes

  • Fixed missing permission nodes in plugin.yml: added fakeplayer.command.password, fakeplayer.command.changepassword, and fakeplayer.command.say, and folded them into the fakeplayer.* aggregate permission.
  • Updated README.md / README_zh.md command tables to document the two new commands.

Important Notes

  • The auto-login feature itself is version-agnostic: commands are dispatched via Player.performCommand, so it is unaffected by the 1.19.3+ chat signing changes.
  • The core (NMSBridge) currently covers only 1.20.1 ~ 26.2 and does NOT include 1.19.x. To run on 1.19.x you must provide a matching NMS adapter module, or enable forced-execution at your own risk.
  • Vanilla native /kick cannot affect fake players by design; use /fp kill or /fp killall instead.

Usage

  • Java: 21+ (Java 25 recommended for 26.x support)
  • Server: Paper / Leaf 1.20.1+ (Purpur compatible)
  • API: CommandAPI 12.0.0+ (Mandatory dependency)

Credits


FakePlayer-CE.Build9 —— 假人自动登录与密码管理

假人自动登录、密码库与 forced-execution 版本强制开关
本次更新为假人引入自动登录(auto-login)能力,新增插件内密码库与 /fp password、/fp changepassword 命令,并提供 forced-execution 开关以忽略版本检查强制运行。

核心特性

  • 假人自动登录:开启后,假人生成即自动执行配置的 register/login 命令,密码统一存于插件数据库,彻底解决 AuthMe 等登录插件因「长时间未登录」踢出假人的问题。
  • 密码库与 /fp password:通过 /fp password <名称> <密码> 为指定假人设置登录密码并持久化到插件数据库,无需在 self-commands 中明文写密码。
  • /fp changepassword 旧密码可省略:修改假人密码并同步登录插件账户;省略旧密码时直接用库内密码执行改密,忘记随机密码也能重置。
  • 随机密码生成:新增 random-password 字符集与 random-password-length 配置,auto-login 开启且未手动设密码时自动生成高强度随机密码并完成注册/登录。
  • forced-execution 开关:忽略 NMSBridge 版本检查,强制在不被原生支持的版本运行(以首个可用实现兜底,NMS 不兼容风险自负)。

关键修复

  • 补全 plugin.yml 缺失权限节点:fakeplayer.command.password、fakeplayer.command.changepassword、fakeplayer.command.say,并纳入 fakeplayer.* 聚合权限。
  • 更新 README.md / README_zh.md 命令表,补充上述两个新命令说明。

重要说明

  • 自动登录功能本身跨版本无碍:命令通过 Player.performCommand 派发,不受 1.19.3+ 聊天签名影响。
  • 插件核心(NMSBridge)当前仅覆盖 1.20.1 ~ 26.2,不含 1.19.x。如需在 1.19.x 运行,请先提供对应版本的 NMS 适配模块,或开启 forced-execution 自行承担兼容风险。
  • 原版原生 /kick 依设计无法影响假人,请改用 /fp kill 或 /fp killall。

使用要求

  • Java: 21+(26.x 建议 Java 25)
  • 服务端: Paper / Leaf 1.20.1+(兼容 Purpur)
  • 前置依赖: CommandAPI 12.0.0 及以上(必需)

鸣谢