mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-06-07 20:32:20 +00:00
1.5.1
- Added ip exemptions in addition to the existing player exemptions./ - Fixing System.out usage warnings that some users were experiencing. - Fixing MySQL drivers not loading on some servers. - Fixing bug that would make whitelisted players not load for awhile after server starts
This commit is contained in:
@@ -14,14 +14,22 @@ public interface VPNDatabase {
|
||||
|
||||
boolean isWhitelisted(UUID uuid);
|
||||
|
||||
boolean isWhitelisted(String ip);
|
||||
|
||||
void setWhitelisted(UUID uuid, boolean whitelisted);
|
||||
|
||||
void setWhitelisted(String ip, boolean whitelisted);
|
||||
|
||||
List<UUID> getAllWhitelisted();
|
||||
|
||||
List<String> getAllWhitelistedIps();
|
||||
|
||||
void getStoredResponseAsync(String ip, Consumer<Optional<VPNResponse>> result);
|
||||
|
||||
void isWhitelistedAsync(UUID uuid, Consumer<Boolean> result);
|
||||
|
||||
void isWhitelistedAsync(String ip, Consumer<Boolean> result);
|
||||
|
||||
void alertsState(UUID uuid, Consumer<Boolean> result);
|
||||
|
||||
void updateAlertsState(UUID uuid, boolean state);
|
||||
|
||||
Reference in New Issue
Block a user