diff --git a/m/resources/levlr/index.md b/m/resources/levlr/index.md index 14287b3..22adfad 100644 --- a/m/resources/levlr/index.md +++ b/m/resources/levlr/index.md @@ -26,7 +26,7 @@ type: resources

← back

- Resource Image + Resource Image

Levlr

A global leveling bot that combines your levels across all the servers Levlr is in.
diff --git a/m/resources/resources.json b/m/resources/resources.json index f56f710..100e97c 100644 --- a/m/resources/resources.json +++ b/m/resources/resources.json @@ -12,7 +12,7 @@ "resourceUrl": "jujus-better-wynncraft" }, { - "imageUrl": "https://cdn.scyted.tv/website-assets/resource-portal/logos/levlr.jpg", + "imageUrl": "https://cdn.scyted.tv/website-assets/resource-portal/logos/levlr.png", "title": "Levlr", "description": "A global leveling bot that combines your levels across all the servers Levlr is in.", "resourceUrl": "levlr" diff --git a/resources/levlr/index-script.js b/resources/levlr/index-script.js index 8e29167..ad08ef3 100644 --- a/resources/levlr/index-script.js +++ b/resources/levlr/index-script.js @@ -20,18 +20,18 @@ document.addEventListener("DOMContentLoaded", function () { // Display bot info and user info on the dashboard displayContents(userData); displayUserInfo(userData); - displayLevlrInfo(userData, 'userInfoBox5', 'https://api.scyted.tv/levlr/userdata.json', 'Season 5: June 2024'); - displayLevlrInfo(userData, 'userInfoBox4', 'https://api.scyted.tv/levlr/userdata-season4.json', 'Season 4: May 2024'); - displayLevlrInfo(userData, 'userInfoBox3', 'https://api.scyted.tv/levlr/userdata-season3.json', 'Season 3: March-April 2024'); - displayLevlrInfo(userData, 'userInfoBox2', 'https://api.scyted.tv/levlr/userdata-season2.json', 'Season 2: February 2024'); - displayLevlrInfo(userData, 'userInfoBox1', 'https://api.scyted.tv/levlr/userdata-season1.json', 'Season 1: January 2024'); - displayLevlrInfo(userData, 'userInfoBox0', 'https://api.scyted.tv/levlr/userdata-season0.json', 'Season 0: 2023'); + displayLevlrInfo(userData, 'userInfoBox6', `https://api.scyted.tv/levlr/userdata.json?timestamp=${new Date().getTime()}`, 'Season 5: November 2024 (Revival)'); + displayLevlrInfo(userData, 'userInfoBox5', `https://api.scyted.tv/levlr/userdata-season5.json?timestamp=${new Date().getTime()}`, 'Season 5: June 2024'); + displayLevlrInfo(userData, 'userInfoBox4', `https://api.scyted.tv/levlr/userdata-season4.json?timestamp=${new Date().getTime()}`, 'Season 4: May 2024'); + displayLevlrInfo(userData, 'userInfoBox3', `https://api.scyted.tv/levlr/userdata-season3.json?timestamp=${new Date().getTime()}`, 'Season 3: March-April 2024'); + displayLevlrInfo(userData, 'userInfoBox2', `https://api.scyted.tv/levlr/userdata-season2.json?timestamp=${new Date().getTime()}`, 'Season 2: February 2024'); + displayLevlrInfo(userData, 'userInfoBox1', `https://api.scyted.tv/levlr/userdata-season1.json?timestamp=${new Date().getTime()}`, 'Season 1: January 2024'); + displayLevlrInfo(userData, 'userInfoBox0', `https://api.scyted.tv/levlr/userdata-season0.json?timestamp=${new Date().getTime()}`, 'Season 0: 2023'); const loggedInUserId = userData.id; - // Fetch the list of user IDs from the JSON file - fetch('https://api.scyted.tv/wave-development/dashboard/access/scytedtv-user-access.json') - // fetch('https://api.scyted.tv/website/dashboard/access/dashboard-access.json') + // Fetch the list of user IDs from the JSON file with cache busting + fetch(`https://api.scyted.tv/wave-development/dashboard/access/scytedtv-user-access.json?timestamp=${new Date().getTime()}`) .then(response => response.json()) .then(userIds => { // Check if the logged-in user's ID is in the list diff --git a/resources/levlr/index.md b/resources/levlr/index.md index 47f2636..ab395f4 100644 --- a/resources/levlr/index.md +++ b/resources/levlr/index.md @@ -33,7 +33,7 @@ type: resources

← back

- Resource Image + Resource Image

Levlr

A global leveling bot that combines your levels across all the servers Levlr is in.
diff --git a/resources/levlr/insert-scripts.js b/resources/levlr/insert-scripts.js index 1c6cd9b..056e211 100644 --- a/resources/levlr/insert-scripts.js +++ b/resources/levlr/insert-scripts.js @@ -40,6 +40,9 @@ function displayContents(userData) {
+ diff --git a/resources/resources.json b/resources/resources.json index f56f710..100e97c 100644 --- a/resources/resources.json +++ b/resources/resources.json @@ -12,7 +12,7 @@ "resourceUrl": "jujus-better-wynncraft" }, { - "imageUrl": "https://cdn.scyted.tv/website-assets/resource-portal/logos/levlr.jpg", + "imageUrl": "https://cdn.scyted.tv/website-assets/resource-portal/logos/levlr.png", "title": "Levlr", "description": "A global leveling bot that combines your levels across all the servers Levlr is in.", "resourceUrl": "levlr"