Fortnite Battle Royale stats in your chat

!commands add !solo -cd=5 -ul=everyone $(urlfetch https://2g.be/twitch/Fortnite/command/query=solowins USERNAME PLATFORM&noranks)

Just replace the username and platform with yours the &noranks at the end will hide the part top x% part.

2 Likes

Thank you so much!

I’m not gonna lie, I thought thats what I had :confused: hahah but I deleted my old one and copy pasted yours, made edits and works a treat! Your the best :heart:

2 Likes

I just checked my duo before I deleted it, its the same but the generator made it as “%20USERNAME%20%20PLATFORM” and adding it to the end of that didn’t work. (that’s only thing I can think of anyway)

Now I know in future haha :slight_smile:

2 Likes

Hey! This is awesome work and what I’ve been looking for!
I have a question though. Is it possible to just get !wins from only the current session being played?

Thank you!!

2 Likes

Heya! I dont have an automatic way to detect the current gaming session, however you could set this up with the tracker profiles: https://2g.be/twitch/Fortnite/tracker
You can select an automatic reset daily/weekly/monthly, but you can also turn off the automatic reset and just reset your stats with a reset command after your gaming session (select ‘Reset stats when’ - ‘Never’).
Let me know if you need help setting it up.

1 Like

Thanks!! Could you help set it up? ^^’’ sorry kind of a noob with programming.

2 Likes

@Shabangin In case you missed it, I DMed you, since the command contains personal tokens.

1 Like

Hello, Is it possible to also exclude the “jonaman5678’s Wins:” from the command response “jonaman5678’s Wins: 24 [Solo]”? So that only 24[Solo] is left when i type this command
“!command add !solo ${customapi.https://2g.be/twitch/Fortnite/command/query=solowins%20jonaman5678%20pc&bot=streamelements&user=$(queryencode)&channel=$(queryencode ${channel}) PLATFORM&noranks}”

2 Likes

End the url with &notext, that’s the shortest reponse, it will remove the username, but will still have the Wins: part.

1 Like

Thankyou very much!
But is there an option to make it so like i can have a command that looks like this “Wins: 24 solo, 56 duo , 100 squad”?

2 Likes

Not yet, for now you can request them individually, but I’ll add an option to get all playlists at once soon.

1 Like

Allright thanks alot for helping me out!

2 Likes

Not sure if you did this already, but I’m trying to use this command and only display the wins from this specific season. Does that just pull from overall or just season? Also, I can’t seem to get it to work but everything else has been working.

!commands add !solo -cd=5 -ul=everyone $(urlfetch https://2g.be/twitch/Fortnite/command/query=solowins USERNAME PLATFORM&noranks)

2 Likes

Heya, solowins gives you total wins, all seasons. Start the command with a c to get the current season stats, so in this case: csolowins.

1 Like

Is this available for mixer through obs or chatbot?

2 Likes

If there is a mixer chatbot that allows for Custom APIs then this should work just fine.

1 Like

I’m trying to combine my PS4 account stats with my PC account stats, is this possible? Even if it only includes my win count.

2 Likes

Unfortunately this is not possible at the moment.

1 Like

Thanks for suggestion!!!

2 Likes

Hi, very anxious to try this out in a channel I mod for, but have a couple questions:

  1. I will use setplayer to default the channel’s streamer. I want the !fortnite command to be available to use by everyone, but I don’t want them to be able to change the setplayer setting. How to lock down setplayer usage without locking down the overall !fortnite usage?

  2. Any way to use the !fortnite command to show the streamer’s wins for that calendar day? It should be a total of Solo, Duo, and Squad wins, but should automatically reset back to 0 at midnight. Also don’t want this reset to impact other !fortnite query results.

Thanks!

2 Likes