19 lines
360 B
Java
19 lines
360 B
Java
|
package net.limework.gal.utils.config;
|
||
|
|
||
|
import java.util.concurrent.TimeUnit;
|
||
|
|
||
|
public record AntiBot(int maxConnections, long reset, TimeUnit resetUnit) {
|
||
|
|
||
|
public int getMaxConnections() {
|
||
|
return maxConnections;
|
||
|
}
|
||
|
|
||
|
public long getReset() {
|
||
|
return reset;
|
||
|
}
|
||
|
|
||
|
public TimeUnit getResetUnit() {
|
||
|
return resetUnit;
|
||
|
}
|
||
|
}
|