Right now, I am working on a game where users can find other high quality games. Kind of like the roblox website but way better and just more easy to use. Is it possible that somehow other games (not my places) could access my game’s data store to retrieve such info?
Learn how to stand up a web service to expose an API.
Wait, Is there are secure way of sending teleport data over? I was going to do this at first until I realized that it wouldn’t be correct 100% if exploiters can spoof it.
You could set up an API on another website or GitHub. I’m not sure if you can access the DataStore of other games currently (though I’m pretty sure if the two places are part of the same game you may be able to – or by the same developer)
I feel like this isn’t needed though. Is there a way to secure teleport data by using some sort of password? Otherwise I am out luck. I kind of realize now that it’s somewhat of a dumb question, but I may setup a simple API with a very harsh rate limit while using the datastore API cuz I ain’t paying for a server.
I’m not sure. The web-run API could use an API key (which could be generated for each user who visits your game to make it more secure). I’ve seen games like Royal High implement something similar to what you are talking about (tracking progress throughout different games) but all of the games were created by the same developer. If you are trying to do it with two different games by different developers, this may be impossible without an external API.
What I am basically trying to do is this:
- Player makes an account on my game
- Said player teleports to a game from my game called ‘My Fun Game’
- When player joins ‘My Fun Game’, the game can get account info that was created on my game, such as name, or membership status.
This is why I was thinking of using teleport data but I forgot that exploiters can change it.
Also, if I really need to set up and external API, are there any simple tutorials to do so?
Let’s call ‘My Amazing Game’ the first game:
Let’s say ‘My Fun Game’ is an alternative place in your experience, ‘My Amazing Game’ – (for example Royal High and its place called “Earth”)
You may be able to have DataStores for both games saved in one game (though I’m not sure if it uses an API or DataStores.)
If the games are by entirely different developers though, you will definitely have to use an external API hosted on GitHub or a web domain.
I know that services like RapidAPI allow you to create your own API, so you may be able to set it up using RapidAPI (though I only know how to use APIs, not make them: don’t take my advice seriously about making an API)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.