From 5c26e2568591a40eb4a53d3faa0c9b558d902c4d Mon Sep 17 00:00:00 2001 From: Burlone <108557545+burlone0@users.noreply.github.com> Date: Wed, 24 Jul 2024 02:44:45 +0200 Subject: [PATCH] Added Challenges (Backend Part) --- Config/DefaultProfiles/common_core.json | 2 +- Config/DefaultProfiles/profile0.json | 2 +- DiscordBot/commands/Admin/delete.js | 2 +- routes/mcp.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Config/DefaultProfiles/common_core.json b/Config/DefaultProfiles/common_core.json index 09dbb4b..4730024 100644 --- a/Config/DefaultProfiles/common_core.json +++ b/Config/DefaultProfiles/common_core.json @@ -12,7 +12,7 @@ "attributes": { "platform": "EpicPC" }, - "quantity": 5000 + "quantity": 0 }, "Token:FounderChatUnlock": { "templateId": "Token:FounderChatUnlock", diff --git a/Config/DefaultProfiles/profile0.json b/Config/DefaultProfiles/profile0.json index bb3065a..6037bf9 100644 --- a/Config/DefaultProfiles/profile0.json +++ b/Config/DefaultProfiles/profile0.json @@ -12,7 +12,7 @@ "attributes": { "platform": "Shared" }, - "quantity": 50000 + "quantity": 0 }, "HomebaseBannerColor:DefaultColor1": { "templateId": "HomebaseBannerColor:DefaultColor1", diff --git a/DiscordBot/commands/Admin/delete.js b/DiscordBot/commands/Admin/delete.js index 554f1fa..119cef3 100644 --- a/DiscordBot/commands/Admin/delete.js +++ b/DiscordBot/commands/Admin/delete.js @@ -45,6 +45,6 @@ module.exports = { }) .setTimestamp(); await interaction.reply({ embeds: [embed], ephemeral: true }); - await interaction.options.getUser('username').send({ content: "Your account has been deleted by an **administrator**" }); + await interaction.options.getUser('username').send({ content: `Your account has been deleted by <@${interaction.user.id}>` }); } } \ No newline at end of file diff --git a/routes/mcp.js b/routes/mcp.js index 1a6f374..adb234f 100644 --- a/routes/mcp.js +++ b/routes/mcp.js @@ -380,6 +380,7 @@ app.post("/fortnite/api/game/v2/profile/*/client/ClientQuestLogin", verifyToken, }]; } + res.json({ profileRevision: profile.rvn || 0, profileId: req.query.profileId, @@ -388,7 +389,6 @@ app.post("/fortnite/api/game/v2/profile/*/client/ClientQuestLogin", verifyToken, notifications: Notifications, profileCommandRevision: profile.commandRevision || 0, serverTime: new Date().toISOString(), - //multiUpdate: MultiUpdate, responseVersion: 1 }); });