aboutsummaryrefslogtreecommitdiff
path: root/features/eventsGUI/index.js
diff options
context:
space:
mode:
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)