Using the inventory API to access your private inventory?

I am currently working on a plugin which requires the inventory of the player who is using the plugin. I am using the inventory API and a public proxy server to achieve this, however, the difficulty I am having is that I am not granted access to my own inventory since it is set to private. I did come across the authorization API but I am not sure how to use it and if it is the solution towards this problem.

Any thoughts?

2 Likes

Once an inventory is private , it is private, period. The API will not return anything that has to do with their inventory once its private.

2 Likes

So there is no way for me to grant myself access to my own inventory apart from setting my inventory to public?

1 Like

You could access your own inventory if you are in your account while looking at the API and your inventory is public. If you are going to use a proxy route for the API you cannot.

If you pass your ROBLOSECURITY cookie with a request to check your inventory, you should be able to see it.

Don’t pass it through a public proxy server though. lol

1 Like

Good to know, I guess I shall resort to having my inventory set to public.

1 Like