diff options
-rw-r--r-- | features/eventsGUI/index.js | 6 | ||||
-rw-r--r-- | features/globalSettings/index.js | 4 | ||||
-rw-r--r-- | features/lockedFeatures/index.js | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/features/eventsGUI/index.js b/features/eventsGUI/index.js index f7d20ed..1bbbae0 100644 --- a/features/eventsGUI/index.js +++ b/features/eventsGUI/index.js @@ -167,6 +167,12 @@ class EventsPage extends GuiPage { sideBarElm.addChild(new SoopyTextElement().setText("§0Event Settings").setMaxTextScale(3).setLocation(0.1, 0, 0.8, 0.2)) + if (Player.getUUID().toString().replace(/-/g, "") === data.admin) { + sideBarElm.addChild(new ButtonWithArrow().setText("§0Change").setMaxTextScale(3).setLocation(0.1, 0.2, 0.8, 0.2).addEvent(new SoopyMouseClickEvent().setHandler(() => { + + }))) + } + sideBarElm.addChild(new SoopyMarkdownElement().setLocation(0.05, 0.2, 0.9, 1).setText("# Tracking: \n" + data.settings.tracking.map(a => firstLetterCapital(a.replace(/\w+?_/, "").replace(/_/g, " "))).join("\n"))) this.openSidebarPage(sideBarElm) diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js index c9861ec..671f59a 100644 --- a/features/globalSettings/index.js +++ b/features/globalSettings/index.js @@ -62,7 +62,7 @@ class GlobalSettings extends Feature { this.thunderBottleElement = new HudTextElement() .setText("") .setToggleSetting(this.thunderBottle) - .setLocationSetting(new LocationSetting("Thunder Bottle Progress location", "Allows you to change location of this display", "thunder_bottle_location", this, [20, 100, 1, 1]).requires(this.thunderBottle).editTempText(`&5Thunder Bottle &7Charge: &e49,999&6/&e50,000`)); + .setLocationSetting(new LocationSetting("Thunder Bottle Progress location", "Allows you to change location of this display", "thunder_bottle_location", this, [20, 100, 1, 1]).requires(this.thunderBottle).editTempText(`&6Thunder Charge&7> &f49,999&7/&750,000`)); this.hudElements.push(this.thunderBottleElement); this.thunderBottleFull = new ToggleSetting("Thunder Bottle Full Alert", "Alert when your thunder bottle is fully charged", false, "thunder_bottle_full", this); @@ -332,7 +332,7 @@ class GlobalSettings extends Feature { if (thunder) { if (ItemName.removeFormatting().includes("Empty Thunder Bottle")) { let charges = i?.getNBT()?.getCompoundTag("tag")?.getCompoundTag("ExtraAttributes")?.getDouble("thunder_charge") - thunderText.push("&5Thunder Bottle Charges: &e" + numberWithCommas(charges) + "&6/&e50,000") + thunderText.push(`&6Thunder Charge&7> &f${numberWithCommas(charges)}&7/&750,000`) } } } diff --git a/features/lockedFeatures/index.js b/features/lockedFeatures/index.js index 9314105..bea9e53 100644 --- a/features/lockedFeatures/index.js +++ b/features/lockedFeatures/index.js @@ -79,7 +79,7 @@ class LockedFeatures extends Feature { text += "§6#" + (i + 1) text += "§7 - " text += "§e" + u.username - text += "&7: §r" + numberWithCommas(Math.round(parseFloat(u.startingAmount))) + text += "&7: §f" + numberWithCommas(Math.round(parseFloat(u.startingAmount))) if (u.progress) text += " §7(" + (u.progress > 0 ? "+" : "-") + Math.abs(Math.round(u.progress)) + "/h)" text += "\n" } |