List<String> requirements = getContents().getStringList(path + "REQUIREMENTS.LIST");
String mode = getContents().getString(path + "REQUIREMENTS.MODE", "ALL");
// No requirements? Meets requirements!
if (requirements == null || requirements.isEmpty()) return true;
// Return new RequirementsContext built with info extracted from the ScriptContainer
RequirementsContext context = new RequirementsContext(new RequirementsMode(mode), requirements, this);
context.attachPlayer(player);
context.attachNPC(npc);
return DenizenAPI.getCurrentInstance().getScriptEngine().getRequirementChecker().check(context);
}