mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-22 22:14:57 +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 String lastLoginName;
|
||||
private final String loginMessage;
|
||||
private String loginMessage;
|
||||
private final boolean isSeniorAdmin;
|
||||
private final boolean isTelnetAdmin;
|
||||
private final List<String> consoleAliases;
|
||||
|
@ -115,6 +115,11 @@ public class Admin
|
|||
ips.clear();
|
||||
}
|
||||
|
||||
public void setCustomLoginMessage(String newLoginMessage)
|
||||
{
|
||||
this.loginMessage = newLoginMessage;
|
||||
}
|
||||
|
||||
public Date getLastLogin()
|
||||
{
|
||||
return lastLogin;
|
||||
|
@ -124,7 +129,7 @@ public class Admin
|
|||
{
|
||||
return loginMessage;
|
||||
}
|
||||
|
||||
|
||||
public boolean isSeniorAdmin()
|
||||
{
|
||||
return isSeniorAdmin;
|
||||
|
|
Loading…
Reference in a new issue