mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-27 16:02:32 +00:00
[FEATURE] Add configurable max nick length
This commit is contained in:
parent
aa65a2b349
commit
2ad346e84c
21 changed files with 85 additions and 53 deletions
|
@ -743,7 +743,7 @@ public class Settings implements ISettings
|
|||
{
|
||||
return config.getBoolean("economy-log-enabled", false);
|
||||
}
|
||||
// #easteregg
|
||||
// #easteregg
|
||||
private boolean economyLogUpdate = false;
|
||||
|
||||
@Override
|
||||
|
@ -1099,4 +1099,10 @@ public class Settings implements ISettings
|
|||
{
|
||||
return config.getLong("max-tempban-time", -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxNickLength()
|
||||
{
|
||||
return config.getInt("max-nick-length", 16);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue