Skip to content

Latest commit

 

History

History
1051 lines (971 loc) · 64.9 KB

README.md

File metadata and controls

1051 lines (971 loc) · 64.9 KB

A Discord bot for all of your Fortnite: Save the World needs


Auto-claim daily rewards, manage research points, llamas, and more!


Commands

There are two ways to use most commands with STW Daily:

  1. Mentioning the bot:
  2. @STW Daily {command} {parameters}
  3. Using slash commands:
  4. /{command}

To use a command you want, replace {command} with the name of the command, and {parameters} with any parameters needed.

Click on the names of commands below to see examples of how to use them.

Auth

    This command will log you in with Epic Games and start an authentication session with STW Daily. This will keep you logged in for ~8 hours

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily cmd {token} {opt-out}
    3. Using slash commands:
    4. /auth token:{token}

    Replace {token} with your auth code. You can find out more about this here. This parameter is optional—if you do not give an auth code the bot will return links needed for getting an auth code.

    Examples:

    @STW Daily auth
    This will provide you with links to get an auth code.

    @STW Daily auth a51c1f4d35b1457c8e34a1f6026faa35
    This will log you in and authenticate you for ~8 hours.
Auth command example

back to top

Kill

    This command will end your active authentication session. If you have setup device, this will not remove your linked accounts.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily kill
    3. Using slash commands:
    4. /kill

Kill command example

back to top

Help

    This command provides an interactive interface to view all available commands, and help for how to use each command.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily help {command}
    3. Using slash commands:
    4. /help command:{command}

    Replace {command} with the name (or alias) of the specific command you want to view help for. This parameter is optional—not providing one will return all available commands.

    Examples:

    @STW Daily help
    This will return a list of available commands, and allow you to choose commands to view detailed help for.

    @STW Daily help auth
    This will return detailed help for the auth command, and allow you to choose other commands to view detailed help for.

    @STW Daily how2
    This will return an easy to understand quick tutorial on getting an auth code, along with a GIF.
Help command example

This image does not represent all available commands

back to top

Homebase

    This command allows you to view / change the name of your Homebase in STW. You don't need STW to use, but the command is effectively useless without it.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily homebase {name} {token} {opt-out}
    3. Using slash commands:
    4. /homebase name:{name} token:{token} auth_opt_out:{opt-out}

    Replace {name} with the new name for your homebase. If your new name has spaces, wrap the name in " quotes (see examples below). This parameter is optional—if you leave it empty, the bot will display your current homebase name. Your new homebase name must:

    • Be between 1-16 characters
    • Only contain alphanumerics (0-9, a-z) + additional characters ('-._~) + spaces


    Replace {token} with your auth code. You can find out more about this here. This parameter is optional—if you do not give an auth code the bot will return links needed for getting an auth code.

    Replacing {opt-out} with any text will opt you out of the authentication system. Learn more about authentication sessions by checking out the auth command.

    Examples:

    @STW Daily homebase
    This will return your current homebase name (provided you are authenticated)

    @STW Daily hbrn "cool name" a51c1f4d35b1457c8e34a1f6026faa35
    This will change your homebase name to cool name, and start an authentication session
Homebase rename command example

back to top

V-Bucks

    This command will display your total V-Bucks, provide a breakdown on the source(s) of those V-Bucks, and additionally display how many X-Ray tickets you have.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily vbucks {token} {opt-out}
    3. Using slash commands:
    4. /vbucks token:{token} auth_opt_out:{opt-out}

    Replace {token} with your auth code. You can find out more about this here. This parameter is optional—if you do not give an auth code the bot will return links needed for getting an auth code.

    Replacing {opt-out} with any text will opt you out of the authentication system. Learn more about authentication sessions by checking out the auth command.

    Examples:

    @STW Daily vbucks a51c1f4d35b1457c8e34a1f6026faa35
    This will start an authentication session and display your V-Bucks

    @STW Daily v
    This will display your V-Bucks if authenticated, otherwise it will prompt you to authenticate.
V-Bucks command example

back to top

Research

    This command allows you to claim your available research points, view your FORT research levels, and upgrade those levels. Press the button corresponding with the stat you wish to upgrade to upgrade it.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily research {token} {opt-out}
    3. Using slash commands:
    4. /research token:{token} auth_opt_out:{opt-out}

    Replace {token} with your auth code. You can find out more about this here. This parameter is optional—if you do not give an auth code the bot will return links needed for getting an auth code.

    Replacing {opt-out} with any text will opt you out of the authentication system. Learn more about authentication sessions by checking out the auth command.

    Examples:

    @STW Daily res
    This will claim your available research points and then allow you to spend them, if you are authenticated. If not, the bot will provide you with links to authenticate.

    @STW Daily research a51c1f4d35b1457c8e34a1f6026faa35 yes
    This will claim your available research points and then allow you to spend them. An authentication session will not be created
Research command example

back to top

Power

    This command allows you to view your current power level, and individual FORT stats.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily power {token} {opt-out}
    3. Using slash commands:
    4. /power token:{token} auth_opt_out:{opt-out}

    Replace {token} with your auth code. You can find out more about this here. This parameter is optional—if you do not give an auth code the bot will return links needed for getting an auth code.

    Replacing {opt-out} with any text will opt you out of the authentication system. Learn more about authentication sessions by checking out the auth command.

    Examples:

    @STW Daily pow
    This will display your current power level and FORT stats, if you are authenticated. If not, the bot will provide you with links to authenticate.

    @STW Daily power a51c1f4d35b1457c8e34a1f6026faa35 yes
    This will display your current power level and FORT stats. An authentication session will not be created
Power level command example

This command is still experimental, and does not support supercharged survivors.

back to top

Daily XP

    This command allows you to view your shared STW & BR daily XP cap.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily dailyxp {token} {opt-out}
    3. Using slash commands:
    4. /dailyxp token:{token} auth_opt_out:{opt-out}

    Replace {token} with your auth code. You can find out more about this here. This parameter is optional—if you do not give an auth code the bot will return links needed for getting an auth code.

    Replacing {opt-out} with any text will opt you out of the authentication system. Learn more about authentication sessions by checking out the auth command.

    Examples:

    @STW Daily dxp
    This will display your current daily XP usage, if you are authenticated. If not, the bot will provide you with links to authenticate.

    @STW Daily dailyxp a51c1f4d35b1457c8e34a1f6026faa35 yes
    This will display your current daily XP usage. An authentication session will not be created
Daily XP command example

This command is still experimental, and may be inaccurate.

back to top

Llamas

    This command allows you to view the current X-Ray Llama store, the items you'll receive, and allows you to purchase Llamas.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily llamas {token} {opt-out}
    3. Using slash commands:
    4. /llamas token:{token} auth_opt_out:{opt-out}

    Replace {token} with your auth code. You can find out more about this here. This parameter is optional—if you do not give an auth code the bot will return links needed for getting an auth code.

    Replacing {opt-out} with any text will opt you out of the authentication system. Learn more about authentication sessions by checking out the auth command.

    Examples:

    @STW Daily llamas
    This will display the current Llama store and allow you to choose a llama to purchase, if you are authenticated. If not, the bot will provide you with links to authenticate.

    @STW Daily llamas a51c1f4d35b1457c8e34a1f6026faa35 yes
    This will display the current Llama store and allow you to choose a llama to purchase. An authentication session will not be created
Llamas command example

This command is still experimental, and may display incorrect item emojis.

back to top

News

    This command will fetch and display the latest news from the game. You can switch between viewing Save the World or Battle Royale news by pressing the corresponding buttons. Cycle between pages by pressing the left/right arrow buttons.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily news {page} {mode}
    3. Using slash commands:
    4. /news page:{page} mode:{mode}

    Replace {page} with a page number to view. This parameter is optional—leaving it blank will show page one.
    Replace {mode} with either stw, or br to view the news for the respective game mode. This parameter is optional—leaving it blank will show STW news.

    Examples:

    @STW Daily news
    This will display page 1 of the news for Save the World. Interact with the buttons to change pages / modes.

    @STW Daily news 1 br
    This will show page 1 of the news for Battle Royale. Interact with the buttons to change pages / modes.
News command example

back to top

Reward

    This command returns information about a specific day's reward, and the rewards that follow.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily reward {day} {future-days}
    3. Using slash commands:
    4. /reward day:{day} limit:{future-days}

    Replace {day} with the day you want to view the reward of. If you have an authentication session active, the day will be your current day unless you specify a day.

    Replace {future-days} with the amount days you would like to see.

    Examples:

    @STW Daily reward
    This will display the reward for your current day and 7 days after, if authenticated. If you aren't authenticated, you must specify a day.

    @STW Daily rwrd 336 21
    This will display the reward for day 336, and additionally the rewards for day 337-358 (21 days).
Reward command example

back to top

Battle Breakers Reward

    This command returns information about a specific day's reward, and the rewards that follow for Battle Breakers.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily bbreward {day} {future-days}
    3. Using slash commands:
    4. /bbreward day:{day} limit:{future-days}

    Replace {day} with the day you want to view the reward of. If you have an authentication session active, the day will be your current day unless you specify a day.

    Replace {future-days} with the amount days you would like to see.

    Examples:

    @STW Daily bbreward
    This will display the reward for your current day and 7 days after, if authenticated. If you aren't authenticated, you must specify a day.

    @STW Daily bbr 336 21
    This will display the reward for day 336, and additionally the rewards for day 337-358 (21 days).
Batle breakers reward command example

Battle Breakers was shut down on 30th December 2022. To continue playing after the shutdown, check out the Battle Breakers private server project

back to top

Profile Dump

    This command allows you to create a complete dump of your Fortnite profiles in JSON format, so you can have a backup of your game data and progression.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily profiledump {token} {opt-out}
    3. Using slash commands:
    4. /profiledump token:{token} auth_opt_out:{opt-out}

    Replace {token} with your auth code. You can find out more about this here. This parameter is optional—if you do not give an auth code the bot will return links needed for getting an auth code.

    Replacing {opt-out} with any text will opt you out of the authentication system. Learn more about authentication sessions by checking out the auth command.

    Examples:

    @STW Daily profiledump a51c1f4d35b1457c8e34a1f6026faa35
    This will dump your Fortnite profiles, and create an authentication session.

    @STW Daily profiledump
    This will dump your Fortnite profiles if authenticated, otherwise it will prompt you to authenticate.
Profile dump command example

back to top

Info

    This command will return various bits of information about the bot, which you may find interesting as a developer.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily info
    3. Using slash commands:
    4. /info

    The info command also provides a convenient way to verify the authenticity of the bot you are using. If the bot does not have a verified bot tag, or contains a message other than "✅Official Verified Deployment", DO NOT use that bot. The bot may have been tampered with, or may be a skid. Use of that bot may put your account at risk/inhibit the development of STW Daily. Learn more here.

Info command example

back to top

Invite Invite command example

back to top

Profile

    This command allows you to manage your STW Daily profiles. These profiles allow you to have multiple accounts / preferences that you can quickly switch between

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily profile {profile}
    3. Using slash commands:
    4. /profile profile:{profile}

    Replace {profile} with the ID (number) of the profile you want to switch to. This parameter is optional—not providing one will start the profile command as normal.

    Examples:

    @STW Daily p
    This will start the profile command, and allow you to switch / manage your profiles.

    @STW Daily profile 3
    This will start the profile command as normal, but will switch your active profile to profile 3.
Profile command example

back to top

Settings

    This command allows you to manage your STW Daily settings. These settings are specific to your active profile.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily settings {setting} {value} {profile}
    3. Using slash commands:
    4. /settings setting:{setting} value:{value} profile:{profile}

    Replace {setting} with the name of the setting you want to change. This parameter is optional—not providing one will start the settings command as normal.

    Replace {value} with the value you want to change the setting to. This parameter is optional—not providing one will start the settings command on the specified setting / as normal.

    Replace {profile} with the ID (number) of the profile you want to change the setting on. This parameter is optional—not providing one will change the setting on your current profile / start the command as normal.

    Examples:

    @STW Daily settings
    This will start the settings command, and allow you to view / change your settings.

    @STW Daily settings lang
    This will start the settings command on the language setting.

    @STW Daily settings lang spanish
    This will start the settings command on the language setting, and change STW Daily's language to spanish for your current profile.

    @STW Daily settings lang spanish 2
    This will start the settings command on the language setting, and change STW Daily's language to spanish for profile 2.
Settings command example

back to top

Device

    This command allows you to link an Epic games account to a STW Daily profile. Once you complete setup, you'll never need to manually authenticate with a new code again.
    This command also allows you to opt in to our Auto-claim trial period, where we're testing Auto-claim. This trial will last until approximately April 2023, after which we'll announce how we plan to continue on our support server.

    There are two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily device
    3. Using slash commands:
    4. /device

    Examples:

    @STW Daily device
    This will start the device command, and allow prompt you to set up and link an account. If you already have an authentication session, you can use this to link your account.
Device command example

back to top


Upcoming commands
    This is a partial list of potential commands coming to STW Daily in future updates:
    • Daily Quests
      • View, get and re-roll your daily quests
    • Survivor Squad Management
      • View your survivors, and create presets to switch between at any time
    • Item Shop
      • View the current BR Item shop
    • Collection Book
      • View your collection book
    • Expeditions
      • View and manage your expeditions

    Please note that this information is subject to change without notice at anytime. Some or all of these features may already be present and/or functional on STW Daily, or may be removed at any time. For a more detailed list, check out our trello board.

Disabled Commands

Battle Breakers Daily command example

Daily

    This command would have claimed your daily reward in Fortnite: Save the World, if available. To use this command, you needed Fortnite: Save the World on the account you wanted to claim with.

    There were two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily daily {token} {opt-out}
    3. Using slash commands:
    4. /daily token:{token} auth_opt_out:{opt-out}

    Replace {token} with your auth code. You can find out more about this here. This parameter was optional—if you did not give an auth code the bot would have returned links needed for getting an auth code.

    Replacing {opt-out} with any text would have opted you out of the authentication system. Learn more about authentication sessions by checking out the auth command.

    Examples:

    @STW Daily daily a51c1f4d35b1457c8e34a1f6026faa35
    This would have claimed your daily reward, and would have automatically started an authentication session.

    @STW Daily d a51c1f4d35b1457c8e34a1f6026faa35 yes
    This would have claimed your daily reward, and would have not created an authentication session.
Daily command example

The daily rewards system was removed from Fortnite in 25.10. Learn more about this change in Epic's blog post.

back to top

Battle Breakers Daily

    This command would have claimed your daily reward in Battle Breakers.

    There were two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily bbd {token} {opt-out}
    3. Using slash commands:
    4. /bbdaily token:{token} auth_opt_out:{opt-out}

    Replace {token} with your auth code. You can find out more about this here. This parameter was optional—if you did not give an auth code the bot would have returned links needed for getting an auth code.

    Replacing {opt-out} with any text would have opted you out of the authentication system. Learn more about authentication sessions by checking out the auth command.

    Examples:

    @STW Daily bbdaily a51c1f4d35b1457c8e34a1f6026faa35
    This would have claimed your Battle Breakers daily reward, and created an authentication session.

    @STW Daily bbd
    This would have claimed your Battle Breakers daily reward if authenticated, otherwise it would have prompted you to authenticate.
Battle Breakers Daily command example

Battle Breakers was shut down on 30th December 2022. To continue playing after the shutdown, check out the Battle Breakers private server project

back to top

Battle Breakers Profile Dump

    This command allowed you to create a complete dump of your Battle Breakers profile in JSON format, so you could save your profile before the game shut down on 30th December 2022. The files you saved with this command may allow you to continue playing on a private server in the future.

    There were two ways to use this command:
    1. Mentioning the bot:
    2. @STW Daily bbdump {token} {opt-out}
    3. Using slash commands:
    4. /bbdump token:{token} auth_opt_out:{opt-out}

    Replace {token} with your auth code. You can find out more about this here. This parameter was optional—if you did not give an auth code the bot would have returned links needed for getting an auth code.

    Replacing {opt-out} with any text would have opted you out of the authentication system. Learn more about authentication sessions by checking out the auth command.

    Examples:

    @STW Daily bbdump a51c1f4d35b1457c8e34a1f6026faa35
    This would have dumped your Battle Breakers profile, and created an authentication session.

    @STW Daily bbdump
    This would have dumped your Battle Breakers profile if authenticated, otherwise it would have prompted you to authenticate.
Batle breakers profile dump command example

Battle Breakers was shut down on 30th December 2022. To continue playing after the shutdown, check out the Battle Breakers private server project

back to top


How to use STW Daily

Adding the bot

You can invite STW Daily to your server, or join the STW Daily Discord server to use the bot. Please ensure you only invite the bot if it is verified.

Running commands

@STW Daily {command} method

To interact with STW Daily, start your message by mentioning the bot (STW Daily), followed by the command you wish to use. For example, to use the daily command, with an authcode, you would type:

@STW Daily daily a51c1f4d35b1457c8e34a1f6026faa35

You can learn more about all the new features and interactions STW Daily can provide by using @STW Daily help.

/ Slash command method

To get started with slash commands, start by typing /. You can learn more about slash commands here.

Getting an Auth Code

To get an auth code, just visit this link.

Note If you need to switch accounts, you can use this link instead.

You will then be redirected to a page that looks like this:

{
    "redirectUrl": "https://accounts.epicgames.com/fnauth?code=a51c1f4d35b1457c8e34a1f6026faa35",
    "authorizationCode": "a51c1f4d35b1457c8e34a1f6026faa35",
    "sid": null
}

Copy the authorisation code (you can double-click it in most browsers), and then add that to your command, where required.

Note You don't need to copy just the code, you can copy the entire JSON object.

@STW Daily daily a51c1f4d35b1457c8e34a1f6026faa35

The auth code will expire shortly after issued. When STW Daily uses it, it will immediately expire. If you require a new code, you can simply refresh the page to get a new code.

Auth Code GIF

Authentication Sessions

Your authentication session will be saved for ~8 hours, allowing you to claim a daily, claim your research points and spend them without needing a new code each time. You will still need to provide a new code when the authentication session expires.

You can opt out of automatically starting an authentication session by specifying any text after your auth code, e.g. @STW Daily d a51c1f4d35b1457c8e34a1f6026faa35 no. You can end an authentication session with @STW Daily kill

Linking accounts

Linking your accounts allows you to automatically authenticate, without needing to get an auth code each time. To get started, check out the device command.

Self hosting the bot

Skids

Super easy 1-click hosting method

Normal people

Self hosting the bot is not recommended, as it requires a lot of setup and configuration. Instructions for self hosting will be provided in the future.

In the meantime, you can invite STW Daily to your server, or join the STW Daily Discord server to use the bot.

STW Dailies Discord Invite

Support

If you require help, just want to chat, or would prefer to use the bot in a different server to your own, you can join the STW Daily discord. Feel free to reach out directly to us via the server.

FAQ

You can read some commonly asked questions about the bot on the STW Daily website, or in the STW Daily Wiki (under construction).

Credits

Contributors to STW Daily - Dippyshere, jean1398reborn, PRO100KatYT, Meiniac, TeaDoc
Name Contribution
Dippyshere STW Daily Dev Team
jean1398reborn STW Daily Dev Team
PRO100KatYT Maintaining items.py :D
Meiniac Reminder embed + Mod
FF-TeaDoc Homebase rename endpoint
Londiuh Inspiration, Original auth + claim script
MixV2 Epic Research
LeleDerGrasshalmi FortniteEndpointsDocumentation

Info

Note Valid auth codes may allow an attacker to compromise your account. Read more here

Portions of the materials used are trademarks and/or copyrighted works of Epic Games, Inc.

All rights reserved by Epic.

This material is not official and is not endorsed by Epic.

All badges/icons (except the "Llama Calendar", and some emoji icons) are original copyrighted works by the author.

Join STW Dailies Repository Size badge Code size badge Lines of code
open issues badge closed issues badge gpl 3 license badge
🫡Lines of code🔫