mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-07 04:53:11 +00:00
Implement max mute time feature (#2807)
This commit is contained in:
parent
347179373d
commit
338b371e4c
5 changed files with 32 additions and 11 deletions
|
@ -1133,6 +1133,11 @@ public class Settings implements net.ess3.api.ISettings {
|
|||
return permissionsLagWarning;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getMaxMute() {
|
||||
return config.getLong("max-mute-time", -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getMaxTempban() {
|
||||
return config.getLong("max-tempban-time", -1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue