mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2025-01-09 00:07:01 +00:00
Add setCustomLoginMessage method
This commit is contained in:
parent
13154f7ac9
commit
f8973dd11f
1 changed files with 7 additions and 2 deletions
|
@ -12,7 +12,7 @@ public class Admin
|
||||||
{
|
{
|
||||||
private final UUID uuid;
|
private final UUID uuid;
|
||||||
private String lastLoginName;
|
private String lastLoginName;
|
||||||
private final String loginMessage;
|
private String loginMessage;
|
||||||
private final boolean isSeniorAdmin;
|
private final boolean isSeniorAdmin;
|
||||||
private final boolean isTelnetAdmin;
|
private final boolean isTelnetAdmin;
|
||||||
private final List<String> consoleAliases;
|
private final List<String> consoleAliases;
|
||||||
|
@ -115,6 +115,11 @@ public class Admin
|
||||||
ips.clear();
|
ips.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setCustomLoginMessage(String newLoginMessage)
|
||||||
|
{
|
||||||
|
this.loginMessage = newLoginMessage;
|
||||||
|
}
|
||||||
|
|
||||||
public Date getLastLogin()
|
public Date getLastLogin()
|
||||||
{
|
{
|
||||||
return lastLogin;
|
return lastLogin;
|
||||||
|
@ -124,7 +129,7 @@ public class Admin
|
||||||
{
|
{
|
||||||
return loginMessage;
|
return loginMessage;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isSeniorAdmin()
|
public boolean isSeniorAdmin()
|
||||||
{
|
{
|
||||||
return isSeniorAdmin;
|
return isSeniorAdmin;
|
||||||
|
|
Loading…
Reference in a new issue