[功能] 添加隐藏自动登录时发送登录成功消息

This commit is contained in:
Sattera
2023-06-02 20:06:49 +08:00
parent d25949fc3b
commit 7e5d9ed1e8
40 changed files with 50 additions and 51 deletions
@@ -20,6 +20,12 @@ public final class PluginSettings implements SettingsHolder {
public static final Property<Boolean> SESSIONS_ENABLED =
newProperty("settings.sessions.enabled", true);
@Comment({
"Do you want to hide login success message to player?"
})
public static final Property<Boolean> HIDE_SESSIONS_LOGIN =
newProperty("settings.sessions.hidelogin", true);
@Comment({
"After how many minutes should a session expire?",
"A player's session ends after the timeout or if his IP has changed"