Player Invite Prompts

This is awesome, I can’t wait to start using this in my games, an efficient way to gather people into games, and that I am thankful for, and especially when we can customize the invite prompts.

You can’t accept the prompt for singular player prompts using a controller (but you can use B to close the pop up.) There are no controller hints, and no button does anything except for B which presses Cancel.


On the purchase UI, they’re controller hints and can both accept and cancel the UI:

8 Likes

Awesome, I wanted a feature like this.

1 Like

I love seeing how Roblox is rolling out many updates and new features lately! I just stumbled upon this and I already see great opportunitys to boost my game player rate etc. Thanks ROBLOX! :grin:

I’m getting this error:

 Unhandled Promise rejection:

-- Promise.Error(ExecutionError) --

The Promise at:

CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Thunks.ApiFetchUsersFriends:42
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:15
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:14
CorePackages.Packages._Index.roblox_rodux.rodux.Store:98
CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Thunks.FetchUserFriends:18
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:15
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:14
CorePackages.Packages._Index.roblox_rodux.rodux.Store:98
CorePackages.Packages._Index.RoactRodux.RoactRodux.connect:134 function dispatch
CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Components.ShareGameContainer:56 function reFetch
CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Components.ShareGameContainer:31 function init
CorePackages.Packages._Index.React-a406e214-4230f473.React.ReactBaseClasses:259 function __ctor
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberClassComponent.new:742 function constructClassInstance
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberBeginWork.new:1051 function updateClassComponent
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberBeginWork.new:3592 function beginWork
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:240
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:1908
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:1891
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:1834
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:877
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:825
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.Scheduler:304
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.Scheduler:259
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.forks.SchedulerHostConfig.default:82 function doWork
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.forks.SchedulerHostConfig.default:105 function performWorkUntilDeadline

...Rejected because it was chained to the following Promise, which encountered an error:


The Promise at:

CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Thunks.ApiFetchUsersFriends:37
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:15
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:14
CorePackages.Packages._Index.roblox_rodux.rodux.Store:98
CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Thunks.FetchUserFriends:18
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:15
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:14
CorePackages.Packages._Index.roblox_rodux.rodux.Store:98
CorePackages.Packages._Index.RoactRodux.RoactRodux.connect:134 function dispatch
CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Components.ShareGameContainer:56 function reFetch
CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Components.ShareGameContainer:31 function init
CorePackages.Packages._Index.React-a406e214-4230f473.React.ReactBaseClasses:259 function __ctor
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberClassComponent.new:742 function constructClassInstance
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberBeginWork.new:1051 function updateClassComponent
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberBeginWork.new:3592 function beginWork
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:240
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:1908
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:1891
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:1834
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:877
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:825
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.Scheduler:304
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.Scheduler:259
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.forks.SchedulerHostConfig.default:82 function doWork
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.forks.SchedulerHostConfig.default:105 function performWorkUntilDeadline

...Rejected because it was chained to the following Promise, which encountered an error:

CorePackages.AppTempCommon.LuaChat.Utils.getFriendsActiveGamesPlaceIdsFromUsersPresence:13: attempt to index nil with '2703792278'
CorePackages.AppTempCommon.LuaChat.Utils.getFriendsActiveGamesPlaceIdsFromUsersPresence:13
CorePackages.AppTempCommon.LuaApp.Thunks.ApiFetchUsersPresences:21
CorePackages.Packages._Index.Promise330.Promise330:154 function runExecutor
CorePackages.Packages._Index.Promise330.Promise330:163

Promise created at:

CorePackages.AppTempCommon.LuaApp.Thunks.ApiFetchUsersPresences:17
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:15
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:14
CorePackages.Packages._Index.roblox_rodux.rodux.Store:98
CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Thunks.ApiFetchUsersFriends:41
CorePackages.Packages._Index.Promise330.Promise330:154 function runExecutor
CorePackages.Packages._Index.Promise330.Promise330:163


CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Thunks.ApiFetchUsersFriends:42
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:15
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:14
CorePackages.Packages._Index.roblox_rodux.rodux.Store:98
CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Thunks.FetchUserFriends:18
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:15
CorePackages.Packages._Index.roblox_rodux.rodux.thunkMiddleware:14
CorePackages.Packages._Index.roblox_rodux.rodux.Store:98
CorePackages.Packages._Index.RoactRodux.RoactRodux.connect:134 function dispatch
CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Components.ShareGameContainer:56 function reFetch
CoreGui.RobloxGui.Modules.Settings.Pages.ShareGame.Components.ShareGameContainer:31 function init
CorePackages.Packages._Index.React-a406e214-4230f473.React.ReactBaseClasses:259 function __ctor
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberClassComponent.new:742 function constructClassInstance
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberBeginWork.new:1051 function updateClassComponent
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberBeginWork.new:3592 function beginWork
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:240
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:1908
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:1891
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:1834
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:877
CorePackages.Packages._Index.ReactReconciler-a406e214-4230f473.ReactReconciler.ReactFiberWorkLoop.new:825
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.Scheduler:304
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.Scheduler:259
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.forks.SchedulerHostConfig.default:82 function doWork
CorePackages.Packages._Index.Scheduler-a406e214-4230f473.Scheduler.forks.SchedulerHostConfig.default:105 function performWorkUntilDeadline
  -  Client - Promise330:1302
2 Likes

That was an old issue from the past that was still not patched Multiple SocialService Features Broken

I’m sure they will be getting around to it. I hope it is relatively soon though.

1 Like

just replying because the topic will be closed tomorrow since this topic has been marked as solved. also any eta for the custom notifications?

3 Likes

Seems like they haven’t been updating it recently to work on stuff like generative AI. Also,

image
I’d say the expectations for a solved topic are quite misleading.

I’d say the expectations for a solved topic are fine for posts in #help-and-feedback, or #bug-reports but here in announcements.

For some reason, player invitations are not working. When I invite someone to a game, Roblox never sends a message to my friend telling them to join the game through the Roblox chat. This is happening for SocialService and Invite Friends in the settings.

3 Likes

I’m just throwing out suggestions maybe the message was bad or you didn’t save the setting correctly?

This has been happening to my friend as well. I’ve tried inviting multiple people through multiple games and none of them would send messages telling them to join the game.

Its now thru notification bell…

1 Like

Thanks for letting me know. I think that Roblox should still have an option for games to send game invites through chat because I never check notifications on Roblox. On the other hand, Roblox will automatically open up chat whenever someone messages you which is more likely to get people’s attention.

1 Like

Prompts is not working there’s no notification at all what is the cause

Ye, the chat pops up with the invitation, while notifications only show (1), which is unnoticable.

Hey Developers,

We wanted to update you on our recently launched Player Invite Prompts feature which has now been adopted by over 7000 experiences! Personalizing experience invites has never been easier!

In January, we revamped Player Invite Prompts to enable more personalized invitation flows for your experiences. Please reference the original post down below to find the easy-to-follow tutorial and all the necessary technical docs.

Today, we are excited to share 2 updates to the feature:

  1. Players will now be able to see the custom invite notifications you’ve implemented for your experiences. Please note that users will be able to report any abusive notifications, so please ensure that your notifications comply with our Community Standards.

  2. We have also added auto-translation support for custom notifications, which enables automatic translation of your custom notifications to a subset of other languages. With over 50% of Roblox users speaking languages other than English, translations can increase your experiences’ engagement and retention, especially for new players. We highly recommend enabling auto-localization for your custom notifications - the easy-to-follow steps can be referenced on the Accessing Localization Settings page.

In case you’re looking for inspiration on how to implement personalized Player Invite Prompts, we’d like to showcase a creative example we saw from the community. We saw a neat implementation from Boxing Beta where players walk to the boxing ring and if no opponent is waiting, they are prompted to invite their friends. After implementing this, Boxing Beta saw a ~10x increase in players joining their friends through invite notifications!

What’s next?

We are actively working on building Notification Analytics for Developers, new notification channels, and other exciting features! Stay tuned!


We look forward to seeing the new and innovative experiences you create with Player Invite Prompts.

Thank you.

4 Likes

Good. I’m glad Roblox did this.

Is this feature working at all at the moment, in any regard? I had some working code with this, and it since has began acting as if no ExperienceInviteOptions are being provided at all. No prompt message is shown, the target user ID is not respected, and the InviteMessageId is unused, showing a default notification on the target user device. Code example:

local Players = game:GetService("Players");
local SocialService = game:GetService("SocialService");

local localPlayer = Players.LocalPlayer;

if (localPlayer == nil) then
    localPlayer.CharacterAdded:Wait();
end

local inviteOptions: ExperienceInviteOptions = Instance.new("ExperienceInviteOptions");

inviteOptions.PromptMessage = "a prompt message";

SocialService:PromptGameInvite(localPlayer, inviteOptions);
4 Likes