Skip to content

如何实现服务器登录持久化

目前每次重启服务都需要重新验证,操作较为繁琐,麻烦!本指南将解决这一问题

解决方案非常简单,只需在控制台输入以下命令:

auth persistence Encrypted

执行此命令后,服务器会输出这些内容

[2026/02/08 05:34:59   INFO]                 [CommandManager] Console executed command: auth persistence Encrypted
[2026/02/08 05:34:59   INFO]              [ServerAuthManager] Swapped credential store to: EncryptedAuthCredentialStoreProvider
Credential storage changed to: Encrypted

这样就搞定了!后续重启将不会再提示验证了(~ ̄▽ ̄)~

九万字
九万字
黄诗扶