diff --git a/CloudStorage/DefaultGame.ini b/CloudStorage/DefaultGame.ini index 75d311d..9b13be1 100644 --- a/CloudStorage/DefaultGame.ini +++ b/CloudStorage/DefaultGame.ini @@ -9,4 +9,13 @@ bIsAthenaGlobalChatEnabled=true # Battle royale global chat. [/Script/FortniteGame.FortTextHotfixConfig] +TextReplacements=(Category=Game, Namespace="", bIsMinimalPatch=True, Key="D5ECE3CD484655CBAE1DB6922C1D87C7", NativeString="Getting Started", LocalizedStrings=(("ar","مرحبًا بك في LawinServer!"),("en","Welcome to LawinServer!"),("de","Willkommen bei LawinServer!"),("es","¡Bienvenidos a LawinServer!"),("es-419","¡Bienvenidos a LawinServer!"),("fr","Bienvenue sur LawinServer !"),("it","Benvenuto in LawinServer!"),("ja","LawinServerへようこそ!"),("ko","LawinServer에 오신 것을 환영합니다!"),("pl","Witaj w LawinServerze!"),("pt-BR","Bem-vindo ao LawinServer!"),("ru","Добро пожаловать в LawinServer!"),("tr","LavinServer'a Hoş Geldiniz!"))) -+TextReplacements=(Category=Game, Namespace="", bIsMinimalPatch=True, Key="CD9D4C7A4486689DB9D16B8A7E290B08", NativeString="Not bad! So, what you'd call this place?", LocalizedStrings=(("ar","استمتع بتجربة لعب استثنائية!"),("en","Have a phenomenal gaming experience!"),("de","Wünsche allen ein wunderbares Spielerlebnis!"),("es","¡Que disfrutes de tu experiencia de videojuegos!"),("es-419","¡Ten una experiencia de juego espectacular!"),("fr","Un bon jeu à toutes et à tous !"),("it","Ti auguriamo un'esperienza di gioco fenomenale!"),("ja","驚きの体験をしよう!"),("ko","게임에서 환상적인 경험을 해보세요!"),("pl","Życzymy fenomenalnej gry!"),("pt-BR","Tenha uma experiência de jogo fenomenal!"),("ru","Желаю невероятно приятной игры!"),("tr","Muhteşem bir oyun deneyimi yaşamanı dileriz!"))) \ No newline at end of file ++TextReplacements=(Category=Game, Namespace="", bIsMinimalPatch=True, Key="CD9D4C7A4486689DB9D16B8A7E290B08", NativeString="Not bad! So, what you'd call this place?", LocalizedStrings=(("ar","استمتع بتجربة لعب استثنائية!"),("en","Have a phenomenal gaming experience!"),("de","Wünsche allen ein wunderbares Spielerlebnis!"),("es","¡Que disfrutes de tu experiencia de videojuegos!"),("es-419","¡Ten una experiencia de juego espectacular!"),("fr","Un bon jeu à toutes et à tous !"),("it","Ti auguriamo un'esperienza di gioco fenomenale!"),("ja","驚きの体験をしよう!"),("ko","게임에서 환상적인 경험을 해보세요!"),("pl","Życzymy fenomenalnej gry!"),("pt-BR","Tenha uma experiência de jogo fenomenal!"),("ru","Желаю невероятно приятной игры!"),("tr","Muhteşem bir oyun deneyimi yaşamanı dileriz!"))) + +[/Script/FortniteGame.FortGameInstance] +!FrontEndPlaylistData=ClearArray ++FrontEndPlaylistData=(PlaylistName=Playlist_DefaultSolo, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=true, bVisibleWhenDisabled=false, bDisplayAsNew=false, CategoryIndex=0, bDisplayAsLimitedTime=false, DisplayPriority=3)) ++FrontEndPlaylistData=(PlaylistName=Playlist_DefaultDuo, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=true, bVisibleWhenDisabled=false, bDisplayAsNew=false, CategoryIndex=0, bDisplayAsLimitedTime=false, DisplayPriority=4)) ++FrontEndPlaylistData=(PlaylistName=Playlist_Trios, PlaylistAccess=(bEnabled=true, bIsDefaultPlaylist=true, bVisibleWhenDisabled=false, bDisplayAsNew=False, bDisplayAsLimitedTime=false, DisplayPriority=5, CategoryIndex=0)) ++FrontEndPlaylistData=(PlaylistName=Playlist_DefaultSquad, PlaylistAccess=(bEnabled=true, bIsDefaultPlaylist=true, bVisibleWhenDisabled=false, bDisplayAsNew=false, CategoryIndex=0, bDisplayAsLimitedTime=false, DisplayPriority=6)) ++FrontEndPlaylistData=(PlaylistName=Playlist_PlaygroundV2, PlaylistAccess=(bEnabled=true, bIsDefaultPlaylist=false, bVisibleWhenDisabled=false, bDisplayAsNew=false, CategoryIndex=2, bDisplayAsLimitedTime=false, DisplayPriority=16)) ++FrontEndPlaylistData=(PlaylistName=Playlist_Campaign, PlaylistAccess=(bEnabled=true, bInvisibleWhenEnabled=true)) diff --git a/public/images/motd-s.png b/public/images/motd-s.png new file mode 100644 index 0000000..2911415 Binary files /dev/null and b/public/images/motd-s.png differ diff --git a/public/images/motd.png b/public/images/motd.png new file mode 100644 index 0000000..041c9d8 Binary files /dev/null and b/public/images/motd.png differ diff --git a/public/images/playlist_50v50.jpg b/public/images/playlist_50v50.jpg deleted file mode 100644 index 995f37e..0000000 Binary files a/public/images/playlist_50v50.jpg and /dev/null differ diff --git a/public/images/playlist_defaultduo.jpg b/public/images/playlist_defaultduo.jpg deleted file mode 100644 index d6b17d7..0000000 Binary files a/public/images/playlist_defaultduo.jpg and /dev/null differ diff --git a/public/images/playlist_defaultsolo.jpg b/public/images/playlist_defaultsolo.jpg deleted file mode 100644 index eff3398..0000000 Binary files a/public/images/playlist_defaultsolo.jpg and /dev/null differ diff --git a/public/images/playlist_defaultsquad.jpg b/public/images/playlist_defaultsquad.jpg deleted file mode 100644 index 992092f..0000000 Binary files a/public/images/playlist_defaultsquad.jpg and /dev/null differ diff --git a/public/images/playlist_playground.jpg b/public/images/playlist_playground.jpg deleted file mode 100644 index 350f0dd..0000000 Binary files a/public/images/playlist_playground.jpg and /dev/null differ diff --git a/responses/contentpages.json b/responses/contentpages.json index b73a34f..82c259d 100644 --- a/responses/contentpages.json +++ b/responses/contentpages.json @@ -433,6 +433,11 @@ "playlist_name": "Playlist_Unvaulted_Duos", "_type": "FortPlaylistInfo" }, + { + "image": "https://cdn2.unrealengine.com/br06-teamrumble-800x450-800x450-a2265b85af06.jpg", + "playlist_name": "Playlist_Creative_TDM_v1", + "_type": "FortPlaylistInfo" + }, { "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlistinformation/EN_CM09_BeachAssaultCreativeLTM_ContestWinner_ModeTile-1024x512-9cdeb2e0ea37179a37d3384cf73c9949d2d19546.jpg", "playlist_name": "Playlist_Creative_BeachAssault", @@ -640,12 +645,12 @@ "_type": "FortPlaylistInfo" }, { - "image": "https://fortnite-public-service-prod11.ol.epicgames.com/images/playlist_playground.jpg", + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlistinformation/CM_LobbyTileArt-1024x512-fbcd48db36552ccb1ab4021b722ea29d515377cc.jpg", "playlist_name": "Playlist_PlaygroundV2", "_type": "FortPlaylistInfo" }, { - "image": "https://fortnite-public-service-prod11.ol.epicgames.com/images/playlist_playground.jpg", + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR_LTM-Tile_Playground-1024x512-53db8a4b5fb41251af279eaf923bc00ecbc17792.jpg", "playlist_name": "Playlist_Playground", "_type": "FortPlaylistInfo" }, @@ -1137,7 +1142,7 @@ "_type": "FortPlaylistInfo" }, { - "image": "https://fortnite-public-service-prod11.ol.epicgames.com/images/playlist_50v50.jpg", + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/LTM_50v50-1024x512-788bf1a67426f54307c4296123ac2d3ff8cc0d6c.png", "playlist_name": "Playlist_50v50", "_type": "FortPlaylistInfo" }, @@ -1147,14 +1152,14 @@ "_type": "FortPlaylistInfo" }, { - "image": "https://fortnite-public-service-prod11.ol.epicgames.com/images/playlist_defaultsolo.jpg", + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR_LobbyTileArt_Solo-512x512-24446ea2a54612c5604ecf0e30475b4dec81c3bc.png", "playlist_name": "Playlist_DefaultSolo", "hidden": false, "special_border": "None", "_type": "FortPlaylistInfo" }, { - "image": "https://fortnite-public-service-prod11.ol.epicgames.com/images/playlist_defaultduo.jpg", + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR_LobbyTileArt_Duo-512x512-5dea8dfae97bddcd4e204dd47bfb245d3f68fc7b.png", "playlist_name": "Playlist_DefaultDuo", "hidden": false, "special_border": "None", @@ -1166,11 +1171,18 @@ "_type": "FortPlaylistInfo" }, { - "image": "https://fortnite-public-service-prod11.ol.epicgames.com/images/playlist_defaultsquad.jpg", + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR_LobbyTileArt_Squad-512x512-5225ec6ca3265611957834c2c549754fe1778449.png", "playlist_name": "Playlist_DefaultSquad", "hidden": false, "special_border": "None", "_type": "FortPlaylistInfo" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlistinformation/v12/partyroyaleupdated/EN_12PR_In-Game_Launch_ModeTile-1024x512-13cf734f07363d61f6fec3a2f5486a3550035c32.jpg", + "playlist_name": "Playlist_Papaya", + "hidden": false, + "special_border": "None", + "_type": "FortPlaylistInfo" } ] }, @@ -1179,6 +1191,162 @@ "lastModified": "2019-10-29T14:05:17.030Z", "_locale": "en-US" }, + "playlistimages": { + "playlistimages": { + "images": [ + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_SolidGold-1024x512-36e202c36d3ef3bd151a97c060401d33ac6f549a.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_50v50SAU" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_SolidGold-1024x512-36e202c36d3ef3bd151a97c060401d33ac6f549a.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_SolidGold_Duos" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR05_LobbyTile_LTM_ScoreRoyale-1024x512-b608aaf7840cdf6b7a702c5cbe1848a2247516d6.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Score_Squads" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR05_LobbyTile_LTM_ScoreRoyale-1024x512-b608aaf7840cdf6b7a702c5cbe1848a2247516d6.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Score_Duos" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR05_LobbyTile_LTM_ScoreRoyale-1024x512-b608aaf7840cdf6b7a702c5cbe1848a2247516d6.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Score_Solo" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR05_LTM_Soaring50s-1024x512-80762dcc260cc959c11dac2ca2f6ae176eb63ef3.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Soaring_50s" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR05_LobbyTile_LTM-Steady-Storm-1024x512-f38e603ed9c80b6210a25c4737d3d8b675b8d28e.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Steady_Squads" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR05_LobbyTile_LTM-Steady-Storm-1024x512-f38e603ed9c80b6210a25c4737d3d8b675b8d28e.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Steady_Duos" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR05_LobbyTile_LTM-Steady-Storm-1024x512-f38e603ed9c80b6210a25c4737d3d8b675b8d28e.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Steady_Solo" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR05_LTM_FlyExplosives-1024x512-6283e3392b3aa44794dac64423b22606f8773503.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_FlyExplosives_Squads" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR05_LTM_FlyExplosives-1024x512-6283e3392b3aa44794dac64423b22606f8773503.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_FlyExplosives_Duos" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR05_LTM_FlyExplosives-1024x512-6283e3392b3aa44794dac64423b22606f8773503.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_FlyExplosives_Solo" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_SniperShootout-1024x512-bcaf8004961e4e374d0603813f840f4b575d230b.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Snipers_Squads" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_SniperShootout-1024x512-bcaf8004961e4e374d0603813f840f4b575d230b.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Snipers_Duos" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_SniperShootout-1024x512-bcaf8004961e4e374d0603813f840f4b575d230b.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Snipers_Solo" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_5x20-1024x512-451b402db5751c25a1e7616930c5ae37d8b20710.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_5x20" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_Blitz-1024x512-98c63417095442c210177ee9b5f3463d0003cd5a.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Blitz_Solo" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_Blitz-1024x512-98c63417095442c210177ee9b5f3463d0003cd5a.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Blitz_Duos" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_Blitz-1024x512-98c63417095442c210177ee9b5f3463d0003cd5a.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Blitz_Squad" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_CloseEncounters-1024x512-e617b7603adb59353ba81ed392174859c0c6807b.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Close_Solo" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_CloseEncounters-1024x512-e617b7603adb59353ba81ed392174859c0c6807b.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Close_Squad" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_CloseEncounters-1024x512-e617b7603adb59353ba81ed392174859c0c6807b.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Close_Duos" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_SolidGold-1024x512-36e202c36d3ef3bd151a97c060401d33ac6f549a.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_SolidGold_Solo" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR04_LTM_SolidGold-1024x512-36e202c36d3ef3bd151a97c060401d33ac6f549a.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_SolidGold_Squads" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR_LTM-Tile_Playground-1024x512-53db8a4b5fb41251af279eaf923bc00ecbc17792.jpg", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_Playground" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/LTM_50v50-1024x512-788bf1a67426f54307c4296123ac2d3ff8cc0d6c.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_50v50" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR_LobbyTileArt_Solo-512x512-24446ea2a54612c5604ecf0e30475b4dec81c3bc.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_DefaultSolo" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR_LobbyTileArt_Duo-512x512-5dea8dfae97bddcd4e204dd47bfb245d3f68fc7b.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_DefaultDuo" + }, + { + "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/playlisttiles/BR_LobbyTileArt_Squad-512x512-5225ec6ca3265611957834c2c549754fe1778449.png", + "_type": "PlaylistImageEntry", + "playlistname": "Playlist_DefaultSquad" + } + ], + "_type": "PlaylistImageList" + }, + "_title": "playlistimages", + "_activeDate": "2018-08-07T02:14:56.108Z", + "lastModified": "2018-08-28T15:50:37.174Z", + "_locale": "en-US" + }, "tournamentinformation": { "tournament_info": { "tournaments": [ @@ -5950,23 +6118,58 @@ }, "battleroyalenews": { "news": { - "platform_messages": [ + "_type": "Battle Royale News", + "motds": [ { + "entryType": "Website", + "image": "https://fortnite-public-service-prod11.ol.epicgames.com/images/motd.png", + "tileImage": "https://fortnite-public-service-prod11.ol.epicgames.com/images/motd-s.png", + "videoMute": false, "hidden": false, - "_type": "CommonUI Simple Message Platform", - "message": { - "image": "https://cdn2.unrealengine.com/Fortnite/fortnite-game/battleroyalenews/v11/v1101/11BR_EpicGamesAndroidLauncherAssets_MOTD-1024x512-18dd3ddb2b4297abde65e0d898244181f4581326.jpg", - "hidden": false, - "_type": "CommonUI Simple Message Base", - "subgame": "br", - "title": "Epic Games app", - "body": "The Fortnite Installer on Android is now the Epic Games app!\nUse it to download Fortnite on Android and check out all that's new in #FortniteChapter2", - "spotlight": false + "tabTitleOverride": "LawinServer", + "_type": "CommonUI Simple Message MOTD", + "title": { + "ar": "مرحبًا بك في LawinServer!", + "en": "Welcome to LawinServer!", + "de": "Willkommen bei LawinServer!", + "es": "¡Bienvenidos a LawinServer!", + "es-419": "¡Bienvenidos a LawinServer!", + "fr": "Bienvenue sur LawinServer !", + "it": "Benvenuto in LawinServer!", + "ja": "LawinServerへようこそ!", + "ko": "LawinServer에 오신 것을 환영합니다!", + "pl": "Witaj w LawinServerze!", + "pt-BR": "Bem-vindo ao LawinServer!", + "ru": "Добро пожаловать в LawinServer!", + "tr": "LavinServer'a Hoş Geldiniz!" }, - "platform": "android" + "body": { + "ar": "استمتع بتجربة لعب استثنائية!", + "en": "Have a phenomenal gaming experience!", + "de": "Wünsche allen ein wunderbares Spielerlebnis!", + "es": "¡Que disfrutes de tu experiencia de videojuegos!", + "es-419": "¡Ten una experiencia de juego espectacular!", + "fr": "Un bon jeu à toutes et à tous !", + "it": "Ti auguriamo un'esperienza di gioco fenomenale!", + "ja": "驚きの体験をしよう!", + "ko": "게임에서 환상적인 경험을 해보세요!", + "pl": "Życzymy fenomenalnej gry!", + "pt-BR": "Tenha uma experiência de jogo fenomenal!", + "ru": "Желаю невероятно приятной игры!", + "tr": "Muhteşem bir oyun deneyimi yaşamanı dileriz!" + }, + "offerAction": "ShowOfferDetails", + "videoLoop": false, + "videoStreamingEnabled": false, + "sortingPriority": 90, + "websiteButtonText": "Discord", + "websiteURL": "https://discord.gg/KJ8UaHZ", + "id": "61fb3dd8-f23d-45cc-9058-058ab223ba5c", + "videoAutoplay": false, + "videoFullscreen": false, + "spotlight": false } ], - "_type": "Battle Royale News", "messages": [ { "image": "https://fortnite-public-service-prod11.ol.epicgames.com/images/discord.png", @@ -5997,6 +6200,70 @@ "lastModified": "2019-10-31T20:29:39.334Z", "_locale": "en-US" }, + "battleroyalenewsv2": { + "news": { + "motds": [ + { + "entryType": "Website", + "image": "https://fortnite-public-service-prod11.ol.epicgames.com/images/motd.png", + "tileImage": "https://fortnite-public-service-prod11.ol.epicgames.com/images/motd-s.png", + "videoMute": false, + "hidden": false, + "tabTitleOverride": "LawinServer", + "_type": "CommonUI Simple Message MOTD", + "title": { + "ar": "مرحبًا بك في LawinServer!", + "en": "Welcome to LawinServer!", + "de": "Willkommen bei LawinServer!", + "es": "¡Bienvenidos a LawinServer!", + "es-419": "¡Bienvenidos a LawinServer!", + "fr": "Bienvenue sur LawinServer !", + "it": "Benvenuto in LawinServer!", + "ja": "LawinServerへようこそ!", + "ko": "LawinServer에 오신 것을 환영합니다!", + "pl": "Witaj w LawinServerze!", + "pt-BR": "Bem-vindo ao LawinServer!", + "ru": "Добро пожаловать в LawinServer!", + "tr": "LavinServer'a Hoş Geldiniz!" + }, + "body": { + "ar": "استمتع بتجربة لعب استثنائية!", + "en": "Have a phenomenal gaming experience!", + "de": "Wünsche allen ein wunderbares Spielerlebnis!", + "es": "¡Que disfrutes de tu experiencia de videojuegos!", + "es-419": "¡Ten una experiencia de juego espectacular!", + "fr": "Un bon jeu à toutes et à tous !", + "it": "Ti auguriamo un'esperienza di gioco fenomenale!", + "ja": "驚きの体験をしよう!", + "ko": "게임에서 환상적인 경험을 해보세요!", + "pl": "Życzymy fenomenalnej gry!", + "pt-BR": "Tenha uma experiência de jogo fenomenal!", + "ru": "Желаю невероятно приятной игры!", + "tr": "Muhteşem bir oyun deneyimi yaşamanı dileriz!" + }, + "offerAction": "ShowOfferDetails", + "videoLoop": false, + "videoStreamingEnabled": false, + "sortingPriority": 90, + "websiteButtonText": "Discord", + "websiteURL": "https://discord.gg/KJ8UaHZ", + "id": "61fb3dd8-f23d-45cc-9058-058ab223ba5c", + "videoAutoplay": false, + "videoFullscreen": false, + "spotlight": false + } + ], + "_type": "Battle Royale News v2" + }, + "jcr:isCheckedOut": true, + "_title": "battleroyalenewsv2", + "_noIndex": false, + "alwaysShow": false, + "jcr:baseVersion": "a7ca237317f1e7721def6e-9f96-4c43-b429-30c794953b04", + "_activeDate": "2020-01-21T14:00:00.000Z", + "lastModified": "2021-09-14T16:31:00.888Z", + "_locale": "en-US" + }, "dynamicbackgrounds": { "backgrounds": { "backgrounds": [ diff --git a/responses/motdTarget.json b/responses/motdTarget.json new file mode 100644 index 0000000..10fe2cc --- /dev/null +++ b/responses/motdTarget.json @@ -0,0 +1,67 @@ +{ + "contentType": "collection", + "contentId": "motd-default-collection", + "tcId": "634e8e85-e2fc-4c68-bb10-93604cf6605f", + "contentItems": [ + { + "contentType": "content-item", + "contentId": "46874c56-0973-4cbe-ac98-b580c5b36df5", + "tcId": "61fb3dd8-f23d-45cc-9058-058ab223ba5c", + "contentFields": { + "body": { + "ar": "استمتع بتجربة لعب استثنائية!", + "en": "Have a phenomenal gaming experience!", + "de": "Wünsche allen ein wunderbares Spielerlebnis!", + "es": "¡Que disfrutes de tu experiencia de videojuegos!", + "es-419": "¡Ten una experiencia de juego espectacular!", + "fr": "Un bon jeu à toutes et à tous !", + "it": "Ti auguriamo un'esperienza di gioco fenomenale!", + "ja": "驚きの体験をしよう!", + "ko": "게임에서 환상적인 경험을 해보세요!", + "pl": "Życzymy fenomenalnej gry!", + "pt-BR": "Tenha uma experiência de jogo fenomenal!", + "ru": "Желаю невероятно приятной игры!", + "tr": "Muhteşem bir oyun deneyimi yaşamanı dileriz!" + }, + "entryType": "Website", + "image": [ + { + "width": 1920, + "height": 1080, + "url": "https://fortnite-public-service-prod11.ol.epicgames.com/images/motd.png" + } + ], + "tabTitleOverride": "LawinServer", + "tileImage": [ + { + "width": 1024, + "height": 512, + "url": "https://fortnite-public-service-prod11.ol.epicgames.com/images/motd-s.png" + } + ], + "title": { + "ar": "مرحبًا بك في LawinServer!", + "en": "Welcome to LawinServer!", + "de": "Willkommen bei LawinServer!", + "es": "¡Bienvenidos a LawinServer!", + "es-419": "¡Bienvenidos a LawinServer!", + "fr": "Bienvenue sur LawinServer !", + "it": "Benvenuto in LawinServer!", + "ja": "LawinServerへようこそ!", + "ko": "LawinServer에 오신 것을 환영합니다!", + "pl": "Witaj w LawinServerze!", + "pt-BR": "Bem-vindo ao LawinServer!", + "ru": "Добро пожаловать в LawinServer!", + "tr": "LavinServer'a Hoş Geldiniz!" + }, + "videoAutoplay": false, + "videoLoop": false, + "videoMute": false, + "videoStreamingEnabled": false, + "websiteButtonText": "Discord", + "websiteURL": "https://discord.gg/KJ8UaHZ" + }, + "contentSchemaName": "MotdWebsiteNewsWithVideo" + } + ] +} \ No newline at end of file diff --git a/structure/contentpages.js b/structure/contentpages.js index 4411db7..ffb6a85 100644 --- a/structure/contentpages.js +++ b/structure/contentpages.js @@ -8,4 +8,27 @@ express.get("/content/api/pages/*", async (req, res) => { res.json(contentpages) }) +express.post("/api/v1/fortnite-br/surfaces/motd/target", async (req, res) => { + const motdTarget = JSON.parse(JSON.stringify(require("./../responses/motdTarget.json"))); + + var Language = "en"; + + if (req.body.language) { + if (req.body.language.includes("-") && req.body.language != "es-419" && req.body.language != "pt-BR") { + Language = req.body.language.split("-")[0]; + } else { + Language = req.body.language; + } + } + + try { + motdTarget.contentItems.forEach(item => { + item.contentFields.title = item.contentFields.title[Language]; + item.contentFields.body = item.contentFields.body[Language]; + }) + } catch (err) {} + + res.json(motdTarget) +}) + module.exports = express; \ No newline at end of file diff --git a/structure/discovery.js b/structure/discovery.js index 39867d9..8055abc 100644 --- a/structure/discovery.js +++ b/structure/discovery.js @@ -2,7 +2,7 @@ const Express = require("express"); const express = Express.Router(); const discovery = require("./../responses/discovery/discovery_frontend.json"); -express.post("*discovery/surface/*", async (req, res) => { +express.post("*/discovery/surface/*", async (req, res) => { res.json(discovery); }) @@ -11,7 +11,6 @@ express.post("/links/api/fn/mnemonic", async (req, res) => { for (var i in discovery.Panels[0].Pages[0].results) { MnemonicArray.push(discovery.Panels[0].Pages[0].results[i].linkData) - console.log(discovery.Panels[0].Pages[0].results[i].linkData.mnemonic); } res.json(MnemonicArray); @@ -19,7 +18,6 @@ express.post("/links/api/fn/mnemonic", async (req, res) => { express.get("/links/api/fn/mnemonic/*", async (req, res) => { for (var i in discovery.Panels[0].Pages[0].results) { - console.log(discovery.Panels[0].Pages[0].results[i].linkData.mnemonic); if (discovery.Panels[0].Pages[0].results[i].linkData.mnemonic == req.url.split("/").slice(-1)[0]) { res.json(discovery.Panels[0].Pages[0].results[i].linkData); } diff --git a/structure/functions.js b/structure/functions.js index 0a097fb..ad6b271 100644 --- a/structure/functions.js +++ b/structure/functions.js @@ -191,7 +191,7 @@ function getContentPages(req) { var Language = "en"; if (req.headers["accept-language"]) { - if (req.headers["accept-language"].includes("-") && req.headers["accept-language"] != "es-419") { + if (req.headers["accept-language"].includes("-") && req.headers["accept-language"] != "es-419" && req.headers["accept-language"] != "pt-BR") { Language = req.headers["accept-language"].split("-")[0]; } else { Language = req.headers["accept-language"]; @@ -200,6 +200,7 @@ function getContentPages(req) { const modes = ["saveTheWorldUnowned", "battleRoyale", "creative", "saveTheWorld"]; const news = ["savetheworldnews", "battleroyalenews"] + const motdnews = ["battleroyalenews", "battleroyalenewsv2"] try { modes.forEach(mode => { @@ -217,6 +218,15 @@ function getContentPages(req) { } } catch (err) {} + try { + motdnews.forEach(news => { + contentpages[news].news.motds.forEach(motd => { + motd.title = motd.title[Language]; + motd.body = motd.body[Language]; + }) + }) + } catch (err) {} + try { contentpages.dynamicbackgrounds.backgrounds.backgrounds[0].stage = `season${memory.season}`; contentpages.dynamicbackgrounds.backgrounds.backgrounds[1].stage = `season${memory.season}`;