Restricted server support

This commit is contained in:
ajgeiss0702
2020-06-29 09:29:51 -07:00
parent f5394de98d
commit f143e42a93
4 changed files with 77 additions and 9 deletions
@@ -76,6 +76,11 @@ public class Server {
}
public boolean canAccess(ProxiedPlayer ply) {
return info.canAccess(ply);
}
boolean whitelisted = false;
List<String> whitelistedplayers = new ArrayList<>();
public void setWhitelisted(boolean b) {