mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 03:54:56 +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;
|
||||
|
|
Loading…
Reference in a new issue