beep beep more private servers

starting to think i should gitignore the servers json, hm maybe
This commit is contained in:
Colon 2021-08-01 21:37:22 -04:00
parent 0b1437dcc4
commit 6e0207b5b4
5 changed files with 14 additions and 4 deletions

View file

@ -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)

BIN
assets/gdps/vps_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

BIN
assets/gdps/vps_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View file

@ -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 <span id="noLevel">daily</span> level!', '[Blocked by RobTop]')

View file

@ -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/",