{ "projectName": "webserver-framework", "serverFilePath": "./server/Server.js", "shardOptions": { "respawn": true }, "shardCount": 1, "serverOptions": { "serveFiles": "./files", "callbackURL": "/api/login", "http": { "port": 4000 }, "validUserTypes": [ "user", "service", "system" ], "registrationEnabled": true, "requireCodeForRegister": false, "OAuthProviders": [ { "name": "Discord", "authoriseURL": "https://discord.com/oauth2/authorize", "tokenURL": "https://discord.com/api/v10/oauth2/token", "profileURL": "https://discord.com/api/v10/users/@me", "iconURL": "https://assets-global.website-files.com/6257adef93867e50d84d30e2/636e0a69f118df70ad7828d4_icon_clyde_blurple_RGB.svg" } ], "discord": { "scope": [ "identify" ], "version": 10 } }, "logger": { "customTypes": [ "access", "unauthorised" ], "customStreams": [ "access", "debug", "unauthorised" ], "customTypeMapping": { "access": "access", "debug": "debug", "unauthorised": "unauthorised" }, "customColours": { "access": "#32a852", "unauthorised": "#ba3240" }, "logLevel": 0, "logLevelMapping": { "access": 3, "unauthorised": 3 }, "webhook": { "url": "https://discord.com/api/webhooks/1093874668886294548/uDMRD6g1lmq_2EZynsbKytzWoMM-0N4te0m61r_cv1BsSnDKDxG3fvI6sxSoG5t5b_xn" } }, "databases": { "mariadb": { "load": false, "client": { "waitForConnections": true, "connectionLimit": 20, "supportBigNumbers": true, "bigNumberStrings": false, "multipleStatements": true, "collation": "utf8mb4_general_ci" }, "cluster": { "canRetry": true, "removeNodeErrorCount": 5, "restoreNodeTimeout": 30000, "defaultSelector": "RR" }, "loggerOptions": { "logLevel": 0 } }, "mongodb": { "load": true, "client": {}, "loggerOptions": { "logLevel": 0 } } } }