Fortnite Battle Royale stats in your chat


#1

Data provided by https://fortnitetracker.com <3

Usage
!fortnite action username platform

Examples
!fortnite kd xgerhard pc
xgerhard: xgerhard’s K/d: 0.95 (Top 63%) [Solo].

!fortnite time xgerhard pc
xgerhard: xgerhard’s Time Played: 1 hours and 53 minutes (1.88 hours) (Top 81%) [Solo].

!fortnite stats xgerhard pc
xgerhard: xgerhard’s stats summary: [Wins: 0, Matches: 20, K/d: 0.95, Kills: 19, Kills Per Match: 0.95] [Solo].

!fortnite duo xgerhard pc
xgerhard: xgerhard’s stats summary: [Wins: 3, Matches: 53, K/d: 2.14, Kills: 107, Kills Per Match: 2.02] [Duo].

Platforms
Available regions: pc, xbox, ps (Default = OC)

Playlists
Available playlists: Solo, Duo, Squad (Default = Solo)

Get playlist stats by adding the playlist name before the action, for example:
!fortnite duokd xgerhard pc (K/D ration in duo playlist)
!fortnite squadwins xgerhard pc (Wins in the squad playlist)
!fortnite duotime xgerhard pc (Time played in duo playlist)

Tip!
Use the setplayer command to link your Fortnite account, for example:
!fortnite setplayer xgerhard pc
Now when I use !fortnite kd it will take my stats without entering the username.

Commandlist:

  • setplayer (Link your Fortnite username to your chat account)
  • help (Link to this page)

Summary (Summary includes: score, kd, kills, matches, wins, kpg)

  • stats (Summary of current playlist)
  • solo (Summary of solo playlist)
  • duo (Summary of duo playlist)
  • squad (Summary of squad playlist)

Stats

  • score (Fortnite score)
  • kd (K/d ratio)
  • kills (Total kills)
  • wins (Total wins)
  • matches (Matches played)
  • kpm (Kills per minute)
  • kpg (Kills per game)
  • top3 (Top 3 finishes)
  • top5 (Top 5 finishes)
  • top6 (Top 6 finishes)
  • top10 (Top 10 finishes)
  • top12 (Top 12 finishes)
  • top25 (Top 25 finishes)

For the full list check here: https://2g.be/twitch/Fortnite/#command-list


Installation is simple
Copy - Paste the following code in your chat:
!commands add -cd=5 -ul=everyone !fortnite $(urlfetch https://2g.be/twitch/Fortnite/command/query=$(querystring))

Optional parameters:

  • default_platform - Set a default paltform for your users (xbox, pc, ps), when no platform is specified this platform will be used.

For example &default_platform=xbox, when a user types !fortnite solo xgerhard the command will now check the solo xbox stats.
You can still force the command to check a different platform, by typing for example !fortnite solo xgerhard ps to check the solo playstation stats.

  • default_playlist - Set a default playlist for your users (solo, duo, squad), when no playlist is specified this playlist will be used.

For example &default_playlist=squad, when a user types !fortnite stats xgerhard the command will now check the squad stats.
You can still force the command to check a different playlist, by typing for example !fortnite duostats xgerhard to check the duo playlist stats.


Need help? Post here, or contact @gerhardoh on twitter.


Custom CODWWII API
#2

How do i make it so that each person in chat doesn’t have to set the player ?


Fortnite Winstreak
#3

Heya! Nobody has to use the ‘setplayer’ command. It’s just an feature to remember your username.
For example the following command will work just fine without setplayer.
!fortnite duokd xgerhard pc

But if you don’t want to type your username everytime you use the command you can use setplayer to remember your username.
!fortnite setplayer xgerhard pc
From now on you can just use:
!fortnite duokd
And it will now take the stats of xgerhard pc.


#4

what would the command sequence look like if i just wanted a command that said !fortnitestats and it would just bring up the stats for one person. (the streamer)


#5

Hello, first you would need to choose which playlist you want to show, or have just 3 commands for each, for example:

Solo:
!commands add !solostats $(urlfetch https://2g.be/twitch/Fortnite/command/query=solo xgerhard pc)

Duo:
!commands add !duostats $(urlfetch https://2g.be/twitch/Fortnite/command/query=duo username platform)

Squad:
!commands add !squadstats $(urlfetch https://2g.be/twitch/Fortnite/command/query=squad username platform)

Just replace the username and platform with the player you want.


An other option would be to make one command, with the playlist as parameter:
!commands add !fortnitestats $(urlfetch https://2g.be/twitch/Fortnite/command/query=$(querystring) xgerhard pc)

Again replace the username and platform, the usage will be !fortnitestats and the playlist you want the stats from:
!fortnitestats solo
!fortnitestats duo
!fortnitestats squad


#6

how is possible make this?Screenshot_2 every win he does on fortnite, the bot update the command automatically


#7

You sure that’s updated automatic, the streamer must be using a different custom API then. I’m working on some daily tracking commands, but that’s not live yet. I’ll post it here whenever its ready.


#8

ye sorry i check better and is a simply command updated everytime by the mods… really sorry


#9

Is it possible to only get stats from the current season?


#10

Yes, add a C in front of the command for current season stats. For example !fortnite csolo xgerhard