Table of Contents
The Challenge
As a Roblox developer, it is currently too hard determine if two players can play together or not.
Two players cannot play together if one player has cross-platform disabled and the other is on a different platform, for example a xbox and pc player.
This can result in buggy behaviors such as the one below:
Use Cases
There are many systems that would benefit from being able to determine if two players can play together.
- Matchmaking systems
- As there is no way to distinguish if players can play together, matchmaking with console players is impossible. For example, if you match cross-platform enabled and disabled users together, they will become separated and result in buggy behavior as described above.
- Queue / Party systems
- Similar to the issue above, teleporting a party or group of players which cannot play together will result in the group being split upon arrival.
- Visiting systems
- A lot of popular games have visiting features where you can visit other people’s island, creations, houses, etc. from other servers. Upon teleporting, some players would be in separate servers, which could result in some buddy behavior, such as duplication bugs, data corruption, and more.
The Solution
To fix this problem, there simply needs to be an API to check if two players can play together. That way, it’s future-proof, and not built on just the platform.
This already exists for things like chatting - see Chat:CanUsersChatAsync(id1, id2) for example. An API like Players:CanUsersPlayAsync(id1, id2) wouldn’t be that different.
Ideally, unlike CanUsersChatAsync
, this should work even if two players are not in the same server, as the most common usage would be for pairing players into the same server from different ones.
However, it’s ultimately up to the engineers to decide what API works best.
If Roblox is able to address this issue, it would improve my development experience because systems could respect this value and avoid numerous buggy behaviors as described above.
Final Notes
Thank you for spending your time reading this.
If you’re a Roblox Engineer, please consider adding this feature. It would help promote the idea of the metaverse that Roblox is trying to create.
If you’re a Developer, please like this post to show how important this feature is. Additionally, if you have any additional use cases, leave them below or message me and I’ll add them to the list.
Thanks again,
-@ThatTimothy
Poll
Started 2022-05-06T11:19:00Z
- Yes
- No
0 voters
If you said no, please send the reason below. I’m always open to any suggestions!