[Beta] GetFriendsWhoPlayed API: Build Scalable Friend Leaderboards and Social Engagement Loops
Robloxは、ゲームをプレイ済みのフレンドのみを抽出できる「GetFriendsWhoPlayed API」のベータ版を公開しました。このAPIにより、DataStoreへのアクセス負荷を抑えながら、スケーラブルなフレンドリーダーボードやソーシャル機能を効率的に構築することが可能になります。
Roblox has launched the GetFriendsWhoPlayed API in beta, enabling developers to efficiently retrieve a list of friends who have previously played their game. This new tool significantly reduces DataStore read requirements, facilitating the creation of high-performance friend leaderboards and social features.
Vibe スコア
-100 〜 +100
順序付きデータストア(Ordered Data Store)を刷新する予定はありますか?個人的には制限が多いと感じているのですが、他の方々はどう思っているのでしょうか。
Are there any plans to overhaul ordered data stores? They are kind of limiting, idk if other people agree
このトピックは10分後に自動的に公開されました。
This topic was automatically opened after 10 minutes.
フレンドリストからランダムにユーザーを選んで招待するように促すゲームをプレイしたことがある。今やゲーム側は誰が過去にプレイしたかを知ることができるから、友達を招待させてプレイヤー数を増やそうと、罪悪感に訴えかけるような使い方もできてしまう。今後は、どの友達を自分の「フレンドリスト」から引っ張り出してくるかまで特定されてしまうだろう。
I have played games that take a random user from my friend list and tells me to invite them. Now games will know who has played the game before and now it can be used to guilt trip people into inviting their friends to increase the player count! Now they can figure out which friends to throw in my f
便利でかっこいいですね。ただ、UserIdだけでなく、初回プレイ日時や最終プレイ日時といった他のデータも取得できるようになりませんか?
Useful and cool but can we get more data besides just a UserId, like first time played and last time played?
これ、実はかなりいいですね。Steamのフレンドのステータス更新みたいな感じで、このAPIを使って面白いことがいろいろできそうです。sammy: […] UserIdだけでなく、初回プレイ日時や最終プレイ日時といったデータも取得できませんか?それには保存が必要になると思いますが。
This is pretty cool, actually. I could see a lot of cool things being done with this API, kinda like the friend status updates on Steam or what have you. sammy: […] can we get more data besides just a UserId, like first time played and last time played? I think you would probably need to save that y
paracosm daemon:それはご自身でデータストアに保存する必要があるかと思います。ただ、開発者が情報を取得するたびにデータストアの予算を無駄に消費しなくて済むよう、API側で提供してもらえると非常に効率的ですね。
paracosm daemon: I think you would probably need to save that yourself in a datastore It’d be much more efficient if this was provided by the API instead so that developers don’t need to burn through even more of the datastore budget whenever they need this information.
PMRoblox_1190:このAPIは既存のプライバシー設定やブロックルールを尊重する仕様であり、ポリシーで許可されている以上のソーシャルデータを公開するようには設計されていません。しかし、実際にこのAPIをテストしたところ、そうではないことが分かりました。このAPIは、相手がすべてのプライバシー設定をオフにしていても、そのフレンドのUserIdを公開してしまいます。
PMRoblox_1190: The API respects existing privacy and blocking rules. It is not designed to expose additional social data beyond what policies already allow. I just tested this API and this is not the case. The API exposes your friend’s UserId even if they have all of these privacy settings turned of
まあ、いいんじゃないかな。ただ、まずはRobloxをまだ遊んでる友達が必要だから、このアップデートはちょっと遅すぎた気がする。
Cool I guess We need friends who still play on Roblox first though, so I think this update came just a little too late.
PMRoblox_1190:グローバルリーダーボードは年内に実装予定です。何か見落としていたら申し訳ないのですが、これは具体的にどういうものなのでしょうか?
PMRoblox_1190: Global leaderboards will come later this year Forgive me if I’ve missed something, what exactly is this?
いいですね。でも、新規開発者が信頼できる友人を探すという面倒な手間をかけずにこれをテストできないという点はどうなんですか?R$や500人の成人認証の要件を撤廃するか、新規開発者向けにもっと緩和してください、お願いします。
cool, but what about the fact that new devs cant even test this without going through the tedius effort of setting up trusted friends? just remove the R$ and 500 adult requiremtns, or make them smaller for new devs PLZ
ドキュメントにはAPIがUserIDの配列を返すと記載されていますが、提示された例ではUserIDのエントリを持つオブジェクトの配列になっています。実際にはどちらが正しいのでしょうか?
The documentation says that the API returns an array of UserIDs, but in your provided example it returns an array of objects with an entry for the UserID. So which one is it?
これは非常に有益な概念ですね。誰もが直面していながら、誰も気づいていなかった問題を解決してくれます。
This is such a useful concept. It solves a problem everyone was facing but nobody was noticing.
UserIDの配列である必要があります。上記の例も更新しておきました。ご質問ありがとうございます!
It should be an array of UserIDs, the above example has also been updated. Thanks for asking!
このGetFriendsWhoPlayed API、最高ですね!ソーシャル機能の実装にすごく役立ちそうです!追伸:今、激しい雷雨警報が出ています。何事もなく通り過ぎてくれるといいのですが。追記:嵐は去りました。
I love this GetFriendsWhoPlayed API! It will really help with social features! P.S. I’m under a severe thunderstorm warning right now. Hopefully this storm passes for me without any trouble! edit: the storm is over
なんでこれが解決済みになってるの??笑 画像 1170×1851 422 KB
why is this marked as the solution?? lol image 1170×1851 422 KB
なんでこれが答えなの、泣けてくる。
why is this the solution im crying
Inkthirsty:昔の友人と再会し、かつて参加していたことすら忘れているようなゲームで彼らに挑戦するには最高の手段だね。それに、自分のプレイするゲームに友人が足を踏み入れたと知れば、からかうこともできる。さて、と……
Inkthirsty: This will be a great way to reconnect with old friends and challenge them through games that they forgot they once joined. I can also make fun of my friends knowing that they stepped foot in the games I play. Now I c W SOLUTION SONION FRUIT SONCH SONBRERO
草、これが解決済みになってるんだけど IMG_1786 1179×2556 346 KB 冗談はさておき、今回のアップデートは「フレンドのアクティビティ」をオフにするプライバシー設定を反映しているのでしょうか?もしそうでないなら、対応をお願いします。
LMAOOO this is marked as the solution IMG_1786 1179×2556 346 KB jokes aside, does this update respect the privacy setting that lets you disable the friends activity update? if no please implement it
どのプライバシー設定のことか分からないという方のために補足しておくと、私が言っているのはこのスイッチのことです。IMG_1788 1179×394 33.9 KB
for thoses that mabye don’t know what privacy toggle im talking about, i’m talking about this specific toggle. IMG_1788 1179×394 33.9 KB
そのフレンドが現在ゲームに参加しているかどうかを知る方法はありますか?現在TeleportService:GetPlayerPlaceInstanceAsync()を使用していますが、レスポンスが非常に遅く、時には誤った情報が返ってくることがあります。
Is there a way to get information on whether that friend is currently in the game? I use this API but it’s quite slow to give responses (sometimes incorrect ones). TeleportService:GetPlayerPlaceInstanceAsync()
プレイヤーがゲームのどこにいるかを記録するMemoryStoreを作ってみてはどうでしょうか?
Maybe try making a MemoryStore that keeps track of where in your game each player is?
https://create.roblox.com/docs/ja-jp/reference/engine/classes/Player#GetFriendsOnlineAsync
https://create.roblox.com/docs/reference/engine/classes/Player#GetFriendsOnlineAsync