Skip to content

Created by Burlone, This is a modded backend, all main backend credits to Lawin

License

Notifications You must be signed in to change notification settings

Project-Reload/Reload-Backend

Repository files navigation

Reload Backend

Imgur

Reload Backend is a universal Fortnite private server backend written in JavaScript

Created by Burlone, This is a modded backend, all main backend credits to Lawin

Features

  • Locker:
    • Changing items.
    • Changing banner icon and banner color.
    • Changing item edit styles.
    • Favoriting items.
    • Marking items as seen.
  • Friends:
    • Adding friends.
    • Accepting friend requests.
    • Removing friends.
    • Blocking friends.
    • Setting nicknames.
    • Removing nicknames.
  • Item Shop:
    • Customizable Item Shop.
    • Purchasing items from the Item Shop.
    • Gifting items to your friends.
    • Working Auto Item Shop.
  • Refunding:
    • Working refunding stuff.
  • Discord Bot:
    • Being able to activate/deactivate the Discord bot.
    • Commands with very useful functions.
  • BattlePass (s2-s20):
    • Possibility to buy the battle pass.
    • Possibility to purchase battle pass levels.
    • Possibility to gift the battle pass (BETA).
  • Challenges (Backend Part):
    • Daily missions worked.
    • Working weekly missions.
    • You can replace daily quests.
    • You can get help from your party to complete missions.
  • In-Game Events:
    • You will be able to activate various events that occurred in the game such as the rift in the sky and much more!
  • Winterfest Event (11.31, 19.01 & 23.10 / BETA):
    • The winterfest event should work with all its rewards!
  • SAC (Support A Creator):
    • It supports a supported creator, you can set it using the /createsac {code} {ingame-username} command on discord.
    • Rewards in vbucks for those who support a creator.
  • Matchmaker:
    • An improved matchmaker.
  • Multiple Gameserver Support:
    • An improved multiple gameserver.
  • Website:
    • A simple website where you can create an account to join the game.
  • XMPP:
    • Parties.
    • Chat (whispering, global chat, party chat).
    • Friends.
  • HTTPS/SSL Support:
    • A working https/ssl system.

TO-DO

  • Differentiate ports between xmpp and matchmaker
  • Create a support with save the world

Discord Bot Commands

User Commands:

  • /create {email} {username} {password} - Creates an account on the backend (You can only create 1 account).
  • /details - Retrieves your account info.
  • /lookup {username} - Retrieves someones account info.
  • /exchange-code - Generates an exchange code for login. (One time use for each code and if not used it expires after 5 mins).
  • /change-username {newUsername} - You can change your username using this command.
  • /change-email {newEmail} - You can change your email using this command.
  • /change-password {newPassword} - You can change your password using this command.
  • /sign-out-of-all-sessions - Signs you out if you have an active session.
  • /vbucksamount - Shows how many vbucks to the user
  • /giftvbucks {username} - Send another user your V-Bucks.
  • /claimvbucks - Claim your daily {idk the default is 250} V-Bucks

Admin Commands:

  • You can only use the admin commands if you are a moderator.
  • /addall {user} - Allows you to give a user all cosmetics. Note: This will reset all your lockers to default
  • /addvbucks {user} {vbucks} - Lets you change a users amount of vbucks
  • /additem {user} {cosmeticname} - The name of the cosmetic you want to give
  • /ban {targetUsername} - Ban a user from the backend by their username.
  • /createsac {code} {ingame-username} - Creates a Support A Creator Code.
  • /delete {username} - Deletes a users account
  • /deletediscord {username} - Deletes a users account
  • /deletesac {username} - Deletes a Support A Creator Code.
  • /kick {targetUsername} - Kick someone out of their current session by their username.
  • /removevbucks {user} {vbucks} - Lets you change a users amount of vbucks
  • /removeitem {user} {cosmeticname} - Allows you to remove a cosmetic (skin, pickaxe, glider, etc.) from a user
  • /unban {targetUsername} - Unban a user from the backend by their username.

How to set up moderators?

  1. Go to Config/config.json in the directory you extracted Reload Backend into.
  2. Open it, you should see a "moderators" section in the file.
  3. You have to get your discord id and replace discordId with it.
  4. You can set multiple moderators like this ["discordId","discordId2"].

How to setup multiple gameservers

  1. Go to Config/config.json in the directory you extracted Reload Backend into.
  2. Open it, you should see a "gameServerIP" section in the file.
  3. To add more gameservers you will have to do it like this "gameServerIP": ["127.0.0.1:7777:playlist_defaultsolo", "127.0.0.1:7777:playlist_defaultduo"],
  4. You have now added solos and duos to your matchmaking

How to start Reload Backend

  1. Install NodeJS and MongoDB.
  2. Download and Extract Reload Backend to a safe location.
  3. Run "install_packages.bat" to install all the required modules.
  4. Go to Config/config.json in the directory you extracted Reload Backend into.
  5. Open it, set your discord bot token (DO NOT SHARE THIS TOKEN) and save it. The discord bot will be used for creating accounts and managing your account (You can disable the discord bot by entering "bUseDiscordBot" to false in "Config/config.json").
  6. Run "start.bat", if there is no errors, it should work.
  7. Use something to redirect the Fortnite servers to localhost:8080 (Which could be fiddler, ssl bypass that redirects servers, etc...)
  8. When Fortnite launches and is connected to the backend, enter your email and password (or launch with an exchange code) then press login. It should let you in and everything should be working fine.

Caldera Service

Recreates a service that is used for the startup of newer Fortnite builds.

For login

You need to use the FortniteLauncher.exe and with that also the Anti Cheat

If you use Fiddler you can use this script:

import Fiddler;

class Handlers
{
    static function OnBeforeRequest(oSession: Session) {

        if (oSession.PathAndQuery.Contains("/caldera/api/v1/launcher/racp"))
        {
            if (oSession.HTTPMethodIs("CONNECT"))
            {
                oSession["x-replywithtunnel"] = "ServerTunnel";
                return;
            }
            oSession.fullUrl = "http://127.0.0.1:5000" + oSession.PathAndQuery
        }
        if (oSession.hostname.Contains("epicgames"))
        {
            if (oSession.HTTPMethodIs("CONNECT"))
            {
                oSession["x-replywithtunnel"] = "ServerTunnel";
                return;
            }
            oSession.fullUrl = "http://127.0.0.1:3551" + oSession.PathAndQuery
        }
    }
}

if u change Caldera Service port modify this string on fiddler script: oSession.fullUrl = "http://127.0.0.1:urport" + oSession.PathAndQuery if u change Backend port modify this string on fiddler script: oSession.fullUrl = "http://127.0.0.1:urport" + oSession.PathAndQuery

For more information on how it works, join the discord server: https://discord.gg/ogfncenter

Tested versions:

Right now the only tested version is 27.11, if you test version, have questions or anything please make a ticket or a pull request In the official repo.

License

This project/backend is licensed under the BSD 3-Clause License.

Credits

Credits to:

  • Lawin - For the backend base (LawinServerV2)
  • Momentum - For some files
  • Burlone - For having modded most things, let's say he modded everything
  • NotTacos - For adding the working challenges (Backend Part)
  • zvivsp - For creating the graphics
  • joaco - For helping with CloudStorage and responses stuff
  • VoxyB89 - For adding https/ssl support
  • xLoigi - For helping with some files and support a creator stuff and for creating Caldera Service
  • PRO100KatYT - For helping with some .json files
  • Marvelco - For helping with Battle passes (s11 - s14, s16) and for camp fire xp on 11.31
  • ironweb10 - For helping with Battle passes (s15, s19 and s20)
  • nade - For creating the base of the Auto Item Shop (Even if Burlone solved many problems heheheh)

Reload Backend is under continuous development and there may be errors of any kind, if you want to give advice on what to add and how to improve the project or report any errors you can do so via our Discord server