diff --git a/creator/.gitbook/assets/TipIcon.png b/creator/.gitbook/assets/TipIcon.png new file mode 100644 index 0000000..96c1bf2 Binary files /dev/null and b/creator/.gitbook/assets/TipIcon.png differ diff --git a/creator/.gitbook/assets/creator-wallet-address.png b/creator/.gitbook/assets/creator-wallet-address.png new file mode 100644 index 0000000..7e5ad37 Binary files /dev/null and b/creator/.gitbook/assets/creator-wallet-address.png differ diff --git a/creator/.gitbook/assets/tipping-modal.png b/creator/.gitbook/assets/tipping-modal.png new file mode 100644 index 0000000..25d35de Binary files /dev/null and b/creator/.gitbook/assets/tipping-modal.png differ diff --git a/creator/scene-editor/configure/scene-settings.md b/creator/scene-editor/configure/scene-settings.md index cb19271..762315a 100644 --- a/creator/scene-editor/configure/scene-settings.md +++ b/creator/scene-editor/configure/scene-settings.md @@ -24,7 +24,9 @@ The following fields are available: * **Description** * **Thumbnail** - \{% hint style="info" %\} **💡 Tip**: If no thumbnail is provided, it uses the automatic capture you see on the scene's card. We recommend uploading a more attractive image \{% endhint %\} + {% hint style="info" %\} + **💡 Tip**: If no thumbnail is provided, it uses the automatic capture you see on the scene's card. We recommend uploading a more attractive image + {% endhint %\} * **Age rating** * **Categories** * **Author** @@ -34,6 +36,25 @@ The thumbnail should be a .png image of a recommended size of 228x160 pixels. Th See [scene metadata](../../sdk7/projects/scene-metadata.md) for more details on these fields. + +### Tipping + +You can receive tips from players who visit your scene. To enable tipping, got to the **Details** tab on the scene settings and provide an Ethereum address under **Creator wallet address**. + +![](../../../.gitbook/assets/creator-wallet-address.png) + + +When a player visits your scene, they will see a piggy bank icon on the top-left of the screen. Clicking on it opens a modal where they can send you a tip. This menu can also be accessed by opening your scene's info on the map. + +![](../../../.gitbook/assets/Tipicon.png) + +The tip modal allows the player to select the amount of MANA they want to send. The player must own MANA in their wallet to send a tip. If the address you provided is linked to a Decentraland NAME, this modal will show the name of the wallet owner besides the Ethereum address. + +![](../../../.gitbook/assets/tipping-modal.png) + + +You will receive a notification on the Decentraland notifications tab whenever a player sends you a tip. + ## Layout You can edit the size of your scene by clicking the _pencil icon_ and then changing the number or rows and columns. diff --git a/creator/sdk7/projects/scene-metadata.md b/creator/sdk7/projects/scene-metadata.md index 3c5d3db..6c9343c 100644 --- a/creator/sdk7/projects/scene-metadata.md +++ b/creator/sdk7/projects/scene-metadata.md @@ -148,6 +148,30 @@ On the `scene.json` file, these toggles are managed under `featureToggles`. The If a `featureToggles` property doesn't exist in your `scene.json` file, create it at root level in the json tree. +### Tipping + +You can receive tips from players who visit your scene. To enable tipping, got to the **Details** tab on the scene settings and provide an Ethereum address under **Creator wallet address**. + +![](../../../.gitbook/assets/creator-wallet-address.png) + + +You can also provide your scene's tipping address on the `scene.json` file, under the `creator` field. + +```json + "creator": "0x1234567890123456789012345678901234567890" +``` + +When a player visits your scene, they will see a piggy bank icon on the top-left of the screen. Clicking on it opens a modal where they can send you a tip. This menu can also be accessed by opening your scene's info on the map. + +![](../../../.gitbook/assets/Tipicon.png) + +The tip modal allows the player to select the amount of MANA they want to send. The player must own MANA in their wallet to send a tip. If the address you provided is linked to a Decentraland NAME, this modal will show the name of the wallet owner besides the Ethereum address. + +![](../../../.gitbook/assets/tipping-modal.png) + + +You will receive a notification on the Decentraland notifications tab whenever a player sends you a tip. + ## Spawn location The **Spawn Settings** in the **Settings** tab define where players spawn when they access your scene directly, either by directly typing in the coordinates into the browser or teleporting.