/* Initialize quests */
SingletonRepository.getStendhalQuestSystem().init();
new ScriptRunner();
final Configuration config = Configuration.getConfiguration();
try {
final String[] extensionsToLoad = config.get("server_extension").split(",");
for (final String element : extensionsToLoad) {
String extension = null;
try {
extension = element;
if (extension.length() > 0) {
StendhalServerExtension.getInstance(config.get(extension)).init();
}
} catch (final RuntimeException ex) {
logger.error("Error while loading extension: " + extension, ex);
}
}