aboutsummaryrefslogtreecommitdiff
path: root/features/eventsGUI/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-16 07:57:55 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-16 07:57:55 +0800
commitfad405ad83014a09426aaceb1ef06fd0b01b2c82 (patch)
tree9f453b89ea54e319fb27fc4d1b47ed963de8fa81 /features/eventsGUI/index.js
parent3de1a8f0ca5b69ed4b4e1aa227b02932b0da38a7 (diff)
downloadSoopyV2-fad405ad83014a09426aaceb1ef06fd0b01b2c82.tar.gz
SoopyV2-fad405ad83014a09426aaceb1ef06fd0b01b2c82.tar.bz2
SoopyV2-fad405ad83014a09426aaceb1ef06fd0b01b2c82.zip
changed some hud element formatting
Diffstat (limited to 'features/eventsGUI/index.js')
-rw-r--r--features/eventsGUI/index.js6
1 files changed, 6 insertions, 0 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)