aboutsummaryrefslogtreecommitdiff
path: root/featureClass/featureManager.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-11 05:03:00 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-11 05:03:00 +0800
commit1ecfecc53f68a9ee371bf105eb8a656e0a98c5b3 (patch)
tree1c8436eda071169a5bb89d902bee091985edfa49 /featureClass/featureManager.js
parent5a018f398d2de5351778af35306f387eadcceb68 (diff)
downloadSoopyV2-1ecfecc53f68a9ee371bf105eb8a656e0a98c5b3.tar.gz
SoopyV2-1ecfecc53f68a9ee371bf105eb8a656e0a98c5b3.tar.bz2
SoopyV2-1ecfecc53f68a9ee371bf105eb8a656e0a98c5b3.zip
+ Warning message when cannot connect to soopy server
+ Museum gui performance improvements + HUD api stat thingo + Settings for slayer features actually toggle things + Stat next to name loading time optimisations (should help if you are in a party)
Diffstat (limited to 'featureClass/featureManager.js')
-rw-r--r--featureClass/featureManager.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/featureClass/featureManager.js b/featureClass/featureManager.js
index 6a9df4c..70c2cc6 100644
--- a/featureClass/featureManager.js
+++ b/featureClass/featureManager.js
@@ -69,6 +69,13 @@ class FeatureManager {
this.featureSettingsData = {}
new Thread(()=>{
+
+ try{
+ FileLib.getUrlContent("http://soopymc.my.to/api/soopyv2/ping")
+ }catch(e){
+ ChatLib.chat(this.messagePrefix + "&cError: Could not connect to Soopy's server. This may cause issues with features breaking but will (hopefully) be back soon.")
+ }
+
this.loadFeatureMetas()
this.loadFeatureSettings()