diff options
author | Soopyboo32 <adam.kemish@gmail.com> | 2022-01-01 15:01:37 +0800 |
---|---|---|
committer | Soopyboo32 <adam.kemish@gmail.com> | 2022-01-01 15:01:37 +0800 |
commit | 3b5ef4996a71209208b2d92ab91980100da1428d (patch) | |
tree | 752108cf40d8c41a1625c42db3a5e0c7a1ec9186 /features/streamsGUI | |
parent | 66b356e8fdb1866293729d6404001facc2820832 (diff) | |
download | SoopyV2-3b5ef4996a71209208b2d92ab91980100da1428d.tar.gz SoopyV2-3b5ef4996a71209208b2d92ab91980100da1428d.tar.bz2 SoopyV2-3b5ef4996a71209208b2d92ab91980100da1428d.zip |
+ add leaderboard to networth gui
+ add buttons to webite version of avalible features
Diffstat (limited to 'features/streamsGUI')
-rw-r--r-- | features/streamsGUI/index.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/features/streamsGUI/index.js b/features/streamsGUI/index.js index 366fbcd..01040cd 100644 --- a/features/streamsGUI/index.js +++ b/features/streamsGUI/index.js @@ -43,7 +43,16 @@ class StreamPage extends GuiPage { this.pages = [this.newPage()] - this.pages[0].addChild(new SoopyTextElement().setText("§0Skyblock Streams").setMaxTextScale(3).setLocation(0.1, 0.05, 0.8, 0.1)) + this.pages[0].addChild(new SoopyTextElement().setText("§0Skyblock Streams").setMaxTextScale(3).setLocation(0.1, 0.05, 0.6, 0.1)) + + let button = new ButtonWithArrow().setText("§0Open in browser").setLocation(0.7, 0.05, 0.2, 0.1) + this.pages[0].addChild(button) + + button.addEvent(new SoopyMouseClickEvent().setHandler(()=>{ + java.awt.Desktop.getDesktop().browse( + new java.net.URI("https://soopymc.my.to/skyblockstreams") + ); + })) this.streamsBox = new SoopyGuiElement().setLocation(0.1, 0.15, 0.8, 0.85) |