diff --git a/README.md b/README.md index 943aef9..6ad4877 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ There's also a few optional values for fine-tuning. I'll add more over time [string] **demonList:** The URL of the server's Demon List API, if it has one (e.g. `http://pointercrate.com/` - make sure it ends with a slash!) -[bool] **downloadsDisabled:** Greys out all forms of downloading on the frontend (daily, weekly, analysis, etc). I love you too RobTop <3 +[array] **disabled:** An array of menu buttons to "disable" (mappacks, gauntlets, daily, weekly, etc). They appear greyed out but are still clickable. [bool] **onePointNine:** Makes a bunch of fancy changes to better fit 1.9 servers. (removes orbs/diamonds, hides some pointless buttons, etc) diff --git a/assets/gdps/vps_icon.png b/assets/gdps/vps_icon.png new file mode 100644 index 0000000..938f666 Binary files /dev/null and b/assets/gdps/vps_icon.png differ diff --git a/assets/gdps/vps_logo.png b/assets/gdps/vps_logo.png new file mode 100644 index 0000000..2f3e627 Binary files /dev/null and b/assets/gdps/vps_logo.png differ diff --git a/index.js b/index.js index 0547591..4313363 100644 --- a/index.js +++ b/index.js @@ -235,7 +235,7 @@ app.get("/", function(req, res) { } if (req.onePointNine) onePointNineDisabled.forEach(x => { html = html.replace(`menu-${x}`, 'menuDisabled') }) if (req.server.disabled) req.server.disabled.forEach(x => { html = html.replace(`menu-${x}`, 'menuDisabled') }) - if (req.server.downloadsDisabled) { + if (req.server.downloadsDisabled && process.platform == "linux") { downloadDisabled.forEach(x => { html = html.replace(`menu-${x}`, 'menuDisabled') }) html = html.replace('id="dl" style="display: none', 'style="display: block') .replace('No active daily level!', '[Blocked by RobTop]') diff --git a/servers.json b/servers.json index c1f9812..79d04d6 100644 --- a/servers.json +++ b/servers.json @@ -8,6 +8,7 @@ "endpoint": "http://boomlings.com/database/", "timestampSuffix": " ago", "demonList": "https://pointercrate.com/", + "downloadsDisabled": true, "pinned": true }, @@ -59,8 +60,8 @@ { "name": "GDPS Editor 2.2", "link": "https://discord.gg/4n8n98AkSk", - "author": "NicknameGG", - "authorLink": "https://www.youtube.com/channel/UCINrRsYwXSZ1nvs-IkxzvQg", + "author": "iAndy_HD3", + "authorLink": "https://www.youtube.com/channel/UCleHhypAuPn2o09N4ISyBxw", "id": "gdpseditor", "pinned": true, "endpoint": "http://ps.fhgdps.com/GDPSEditor22/" @@ -186,6 +187,15 @@ "endpoint": "http://newgdpsneon.7m.pl/database/" }, + { + "name": "VPS", + "link": "https://discord.gg/WVVZPCsGQV", + "author": "Vultra", + "authorLink": "https://www.youtube.com/channel/UC6q0dlnMosjajrkSfSsOklQ", + "id": "vps", + "endpoint": "http://ps.fhgdps.com/VGDPSNEW6942/" + }, + { "name": "Rob's Abandoned Server", "link": "http://robtopgames.com/",