9️NFT Sensor

The NFT Sensor Component is a powerful tool to detect one or more NFTs in the player's wallet and send a success or failure message to create a variety of results.

NEW GAMER MAKER 0.9 FEATURE

For the first version of this new component, you may use up to one NFT URL and one NFT collection from a dropdown list in an AND/OR requirement.

Shown: The NFT Sensor component's success message triggers a popup window created in Rules to inform the player of the perks gained from holding the required NFTs. It also triggers a Rule to add 150 to the player's Play Coins mechanic.

If the player does not have all of the required NFTs in their wallet, a window can be set to pop up and show which NFT(s) are required to trigger a success message, including a Marketplace link.

Note: The window does not filter out which NFTs the player already owns.

There are two methods to detect NFTs:

  • Specify Sandbox NFTs (using the Asset URL from The Sandbox website)

  • Select NFT collections

Use the condition toggle to require ownership of all NFTs/collections specified or at least one of them.

Send a message to trigger various logic to reward NFT holders.

PERFORMANCE TIP In multiplayer Experiences, there are two layers of logic that will not communicate with each other: singleplayer [SP] and multiplayer [MP]. For best performance, only apply [MP] behaviours and components to objects that MUST be synchronised to all players (or communicate on that layer), and maximise use of the [SP] (Client Only) layer.

USAGE TIP This component will not communicate with Quests or [SP] behaviours or components. It can be used in singleplayer Experiences.

SECRET BENEFITS FOR NFT HOLDERS To give players access to secret areas, hidden quests, and other bonuses for owning a specified NFT, use the Teleport component to move players who trigger the success message in the [MP] NFT Sensor component.

Common Uses

Monetise premium content in your Experience by gating access to it through NFT ownership.

Grant holders of the NFTs you specify special access to:

  • Exclusive areas of an Experience

  • Unlocked quests or narratives

  • Bonus Power Ups

  • Perks via game mechanics created in Game Rules

  • and more

Communications

Input: one message

Output: success message or fail message (customisable)

More Information

Click on NFT Token ID. Open an Asset's page on The Sandbox website (from your inventory or by searching the Marketplace) and copy the URL and paste it in the Asset URL box. Click Validate and then Continue. Add more and set the AND/OR condition as you wish.

Find the Asset URL on The Sandbox website.

Last updated

Logo

Copyright Β© 2012- 2023 The Sandbox. All Rights Reserved.

Change request #15: 0.9 Draft - DO NOT MERGE UNTIL LAUNCH