Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the Game Settings permissions system #116

Open
guidojw opened this issue Jan 20, 2022 · 2 comments
Open

Add support for the Game Settings permissions system #116

guidojw opened this issue Jan 20, 2022 · 2 comments
Labels
missing configuration Missing support for Roblox configuration

Comments

@guidojw
Copy link

guidojw commented Jan 20, 2022

I use the Permissions tab in Game Settings to allow group roles/specific users to play my game's staging environment. It would be nice if this can be handled with Mantle too.

API:

@guidojw guidojw changed the title Add support for the Game Setting permissions system Add support for the Game Settings permissions system Jan 20, 2022
@blake-mealey blake-mealey added the missing configuration Missing support for Roblox configuration label Jan 20, 2022
@blake-mealey
Copy link
Owner

blake-mealey commented Jan 21, 2022

Interesting. I had not seen this before because it's behind Team Create and I had assumed that users of Mantle would not be interested in Team Create since you're editing with Git. However it looks like you can use these permissions to give both Play and Edit access. What permissions exactly does Edit give users? Just the ability to join Team Create?

I am open to adding support for this but to be honest I'm not sure what the right config API is for it. Maybe something like this?

target:
  experience:
    teamCreate:
      enabled: true
      permissions:
        - userId: 1
          level: edit
        - groupId: 1
          level: play
        - roleId: 1
          groupId: 1
          level: edit

Also note this will need to enable/disable team create:

  • Create: POST https://develop.roblox.com/v1/universes/:experienceId/teamcreate with { "isEnabled": boolean }
  • Update: POST https://develop.roblox.com/v1/universes/:experienceId/teamcreate with { "isEnabled": boolean }
  • Delete: Update to disable it
  • Import: GET https://develop.roblox.com/v1/universes/:experienceId/teamcreate returns { "isEnabled": boolean }

@autonordev
Copy link

What permissions exactly does Edit give users? Just the ability to join Team Create?

@blake-mealey - On personal places, it provides access to team create as well as permissions for things like shutting down servers. It gives incredibly limited access to game settings. On group games, the option is not avaliable AFAIK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing configuration Missing support for Roblox configuration
Projects
None yet
Development

No branches or pull requests

3 participants