OptionController () { return super.getOptionController() .onPrefix("adv", bindId -> options.getOrDefault(bindId, true), (bindId, value) -> options.put(bindId, (Boolean)value)) .onValue("valueDouble", () -> valueDouble / 2, val -> valueDouble = 2 * val); }