How to change place name & description using developer console or script?

Hello,
Is it possible to change your game name and description using developer console/script?
Thanks

1 Like

Stop making up such things
image

To my knowledge, there isn’t a way to do this.
You might think using HTTPService is a way but HTTPService is mostly used to receive data and send data but not do such things as changing game’s title and description. There probably even isn’t an API for this.

1 Like

For now i can only print the game description. But somehow it should be possible to set it…

print(game:GetService("MarketplaceService"):GetProductInfo(id).Description)

Just searched, no APIs found for this so I’m 100% sure this isn’t possible.

In addition to the responses, what would be your purpose for doing this?

I want to change my game description where it display something for example: “New Update added …”

I saw someone actually did this but i am not sure how they managed to do this.
Since the GetProductInfo() displays the game description, there must be a way to do that.

You could do it with HttpService and a proxy, plus your login cookies or API key or whatever it is nowadays. Generally more hassle than it’s worth unless you’re familiar with web stuff.

1 Like

Time to bump this topic: There isn’t an actual user friendly API to do update a games name and description, but you can use the same API the Roblox system uses. The endpoint is https://develop.roblox.com/v2/universes/{universe_id}/configuration. Here is a quick code snippet of this in Python:

def updateGameNameAndDescription(new_name,new_description,xcsrf_token):
    url = f'https://develop.roblox.com/v2/universes/{universe_id}/configuration'
    data = {'name': new_name,'description':new_description}
    headers = {
        'Cookie': f'.ROBLOSECURITY={roblox_cookie}',
        'X-CSRF-TOKEN': xcsrf_token
    }

    response = requests.patch(url, data=data, headers=headers) 

    print("Updating game name & description result: "+str(response.status_code))
    print(response.content)

Hopefully someone finds this useful


UPDATE:
There is indeed a (kind of) user friendly API to do this.

  1. Make an Open Cloud API key, give it the “universe.place:write” and “universe:write” permission for the game you want to update.
  2. The code snippet below (Python, but can be used from anywhere, including Roblox (using a proxy like RoProxy)), used in my game: This game has 25 visits - Roblox
apiKey = "your open cloud api key"
def updateGameData(universeId,placeId,visits):
    new_name = f"This game has {visits} visits"
    new_description = f"This game has {visits} visits!"

    url = f"https://apis.roblox.com/cloud/v2/universes/{universeId}/places/{placeId}?updateMask=displayName,description"

    headers = {
        "x-api-key": apiKey
    }

    data = {
        "displayName": new_name,
        "description": new_description
    }

    response = requests.patch(url,headers=headers, json=data)

    if response.status_code == 200:
        print("Place updated successfully!")
    else:
        print(f"Error updating place: {response.status_code} - {response.text}")


updateGameData(5943217070,17367209816,25) # replace with the games UniverseId and PlaceId
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.