public Settings(JsonObject options) {
this.origins = options.getString("origins", this.origins);
this.log = options.getBoolean("log", this.log);
String store = options.getString("store");
if(store != null) {
if(store.equals("redis")) this.store = new RedisStore();
}
this.Static = options.getString("Static", this.Static);
this.heartbeats = options.getBoolean("heartbeats", this.heartbeats);
this.namespace = options.getString("namespace", this.namespace);
this.transports = options.getString("transports", this.transports);