mirror of
https://github.com/essentials/Essentials.git
synced 2025-09-30 16:19:11 +02:00
Added a config.yml setting of 'validate_toggle' for those who prefer
'mantogglevalidate' to always be off.
This commit is contained in:
@@ -55,6 +55,20 @@ public class GroupManager extends JavaPlugin {
|
||||
private Map<CommandSender, String> selectedWorlds = new HashMap<CommandSender, String>();
|
||||
private WorldsHolder worldsHolder;
|
||||
private boolean validateOnlinePlayer = true;
|
||||
/**
|
||||
* @return the validateOnlinePlayer
|
||||
*/
|
||||
public boolean isValidateOnlinePlayer() {
|
||||
return validateOnlinePlayer;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param validateOnlinePlayer the validateOnlinePlayer to set
|
||||
*/
|
||||
public void setValidateOnlinePlayer(boolean validateOnlinePlayer) {
|
||||
this.validateOnlinePlayer = validateOnlinePlayer;
|
||||
}
|
||||
|
||||
private boolean isReady = false;
|
||||
private static boolean isLoaded = false;
|
||||
protected GMConfiguration config;
|
||||
|
Reference in New Issue
Block a user