decentraland / decentraland/creator-hub

CLI Multi-scene deploy

Open
#1,225 1 comment 0 reactions 1 assignee Claimed by @alejandralevy View on GitHub
1-high dev exp
Dominant language
TypeScript
Stars
7
Forks
14
Avg merge
2d 8h
Merged PRs (30d)
44

Description

When publishing to a world via the CLI, we're always assuming the world behaves as a multi-scene world
This can have unexpected results: if I publish a scene with different coordinates, instead of overwriting that scene, I end up with two scenes in my world, and can't control my spawn position in the world from the CLI

We should make the default behavior of `npm run deploy` the same as when you publish via the Creator Hub and keep the "Multi Scene World" checkbox unchecked. In that case if I already had a scene in my world in other coords, that scene gets removed.
Ideally the output text of the command line should warn you about this.

We should also add a new paramete: `npm run deploy --multi-scene`, if you pass that parameter, then it will behave the same as if the "Multi Scene World" checkbox in the creator hub was checked. In that case, if the parcels don't overlap with existing scenes, they will all stay.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.