From b33a75b2eba88c60280fcd441a5dd974cf763ab4 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 6 Nov 2021 18:15:47 +0800 Subject: Added update notif, cosmetics, and unfinished museum overlay --- features/globalSettings/index.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'features/globalSettings') diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js index 5b459f9..422754f 100644 --- a/features/globalSettings/index.js +++ b/features/globalSettings/index.js @@ -3,6 +3,7 @@ import Feature from "../../featureClass/class"; import ButtonSetting from "../settings/settingThings/button"; import TextSetting from "../settings/settingThings/textSetting"; +import ToggleSetting from "../settings/settingThings/toggle"; class Hud extends Feature { constructor() { @@ -20,6 +21,8 @@ class Hud extends Feature { this.apiKeySetting = new TextSetting("Api Key", "Your hypixel api key", "", "api_key", this, "Run /api new to load", true) this.verifyApiKey = new ButtonSetting("Verify api key", "Click this to make sure the api key is working", "verify_key", this, "Click!", this.verifyKey, undefined) + this.notifyNewVersion = new ToggleSetting("Notify when there is a new update", "Will notify you when there is a new version of soopyv2 avalible for download", true, "notify_update", this) //TODO: Make false by default when uploaded on ct website + this.registerChat("&aYour new API key is &r&b${key}&r", this.newKey) } -- cgit