0

Created basic ban functionality (IP bans not yet supported)

This commit is contained in:
David Panić
2019-04-07 19:55:48 +02:00
parent afc5c65761
commit e74a959d74
11 changed files with 598 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
package com.redstoner.bungeeBans.json;
public class IPBan extends Ban {
private String ip;
public IPBan(String ip, String created, String source, String expires, String reason) {
super(created, source, expires, reason);
this.ip = ip;
}
@Override
public String getIdentifier() {
return ip;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
}