LootLocker
The BasicsGame SystemsContent ManagementPlayer Management
LootLocker
  • 📌The Basics
    • Getting Started
    • What is LootLocker?
    • Core Concepts
      • Players
      • Assets
      • Character Classes
      • API Types
      • Web Console
      • Stage & Live Environments
      • Glossary
    • Unity Quick Start
      • Install the SDK
      • Configure the SDK
      • Authenticate Your First Player
      • Update the SDK
    • Unreal Quick Start
      • Install & Configure the SDK
        • Older versions
      • Authenticate Your First Player
    • Godot Quick Start
      • Install the SDK
      • Configure the SDK
      • Authenticate Your First Player
      • Update the SDK
    • SDKs
    • Samples
      • Authentication Samples
      • Leaderboard Samples
      • Progression Samples
      • Player Samples
    • Launching Your Game
    • Support
      • Error Codes
      • Unreal Marketplace Plugin Support
  • 🎭Players
    • Overview
    • Authentication
      • How To
        • Guest Login
        • Steam
        • Apple
        • Apple Game Center
        • Google
        • Epic Games
        • PlayStation
        • Meta / Oculus
        • Xbox
        • Nintendo Switch
    • Files
      • How To
        • Manage Files in Web Console
        • Work with Files In-Game
    • Inventory
      • How To
        • Work with Player Inventory
    • Messages
      • How To
        • Configure Messages in Web Console
    • Names
      • How To
        • Work with Player Names
    • Player Manager
      • How To
        • Manage Players through Web Console
        • Manage Players In-Game
        • Use Player Operations
    • Unified Player Accounts
      • How To
        • Configure UPA in Web Console
        • Use Remote Login In-Game
        • Connect Identiy Provider to Player
        • External Provider Linking
        • Transition from Guest Login to Other Provider
        • Disconnect Identity Provider from Player
    • White Label Login
      • How To
        • Configure White Label Login
        • Create a New White Label User
        • Request User Verification
        • Handle Returning Users
        • Start a White Label Session
  • 🪙Commerce
    • Overview
    • Catalogs
      • How To
        • Configure Catalogs in LootLocker Console
        • List all Catalogs
        • Use Catalogs In-Game
        • Setup In-Game Store
    • Currencies
      • How To
        • Configure a Currency in Web Console
        • Use Currencies In-Game
    • DLC Management
      • How To
        • Configure DLC in Web Console
        • Use DLC In-Game
    • Entitlements
      • How To
        • Work with Entitlements In-Game
    • Real Money Purchases
      • How To
        • Configure In-App Purchase in Web Console
        • Make Purchases through Google Play Store
        • Make Purchases through Apple Store
        • Make Purchases through Steam Store
    • Virtual Purchases
    • Wallets
      • How To
        • Manage a Wallet in Web Console
        • Use Wallets In-Game
  • ⚔️Content
    • Overview
    • Assets
      • How To
        • Create & Configure an Asset
        • Organize & Search for Assets
        • Retrieve Assets In-Game
        • Set up Asset Storage Template
        • Check Grant Notifications
        • Set up a Game Config Asset
        • Create a Loot Box
        • Work with Loot Boxes In-Game
        • Create a Drop Table
        • Work with Drop Tables In-Game
        • Create a Rental Asset
        • Work with Rental Assets In-Game
    • User Generated Content (UGC)
      • How To
        • Create UGC In-Game
    • Twitch Drops
  • 🕹️Game Systems
    • Overview
    • Classes & Heroes
      • How To
        • Base Classes
        • Hero Classes
        • Implement Classes In-Game
        • Implement Heroes In-Game
    • Leaderboards
      • How To
        • Configure Leaderboard in Web Console
        • Use Player Leaderboards
        • Use Generic Leaderboards
        • Use Metadata to Store Additional Information
        • Use Scheduled Reset with Rewards
        • Use Leaderboards for Time Based Rankings
      • Leaderboard FAQ
      • GameMaker References
    • Feedback
      • How To
        • Manage Feedback Categories
        • Create Player Feedback
        • Create UGC Feedback
        • Create Game Feedback
        • View and Manage Feedback
    • Progressions
      • How To
        • Create a Progression
        • Game Progressions
        • Player Progressions
        • Class Progressions
        • Asset Instance Progressions
    • Triggers
      • How To
        • Setup a trigger in the Web Console
        • Invoke trigger from game
  • ⛓️Shared Systems
    • Overview
    • Metadata
      • How To
        • Add Metadata in Console
        • Fetch a Single Metadata In-Game
        • Fetch Metadata In-Game by Tags
        • Fetch Metadata In-Game from Multiple Sources
    • Notifications
      • How To
        • List Notifications and Mark as Read In-Game
  • 🗝️Admin
    • Settings
    • User Settings
    • Organization Settings
    • CORS Allowlist
  • ⭕️ Legacy
    • Deprecations
      • Unity SDK Deprecation Log
        • Version 2.1.5 - Migration to Open UPM
        • Version 2.0.0
      • Unreal SDK Deprecation Log
        • Version 4.0.0
        • Version 3.0.0
    • Legacy Storage
    • Legacy Triggers
      • Activate a trigger
      • Create a trigger
    • Legacy Progressions
      • Create a Progression System
      • Use a Progression System In-Game
Powered by GitBook
On this page
  • What is a Rental Asset?
  • Configure Contexts
  • Creating the Rental Asset
  • Activate the Asset
  1. Content
  2. Assets
  3. How To

Create a Rental Asset

PreviousWork with Drop Tables In-GameNextWork with Rental Assets In-Game

Last updated 1 month ago

In this guide we will be creating a Rental Asset and implementing it in a game. You can find other guides that explain how to create other types of Assets in the section in the How-to guides of the LootLocker documentation.

What is a Rental Asset?

The Rental Complexity adds the ability to create time-based Assets that grant specific Assets which expire after a certain amount of time.

The Rental Complexity adds the ability to create an Asset that grants specific Assets which expire after a certain amount of time. The Rental Complexity is split across two tabs, Rental Content and Rental Tiers. In Rental Content, you can define the specific Assets that are granted while the Rental Asset is active. In Rental Tiers, you can define the duration of the Asset. This tab also allows you to define variations of the duration in case you want to have the same Asset with different rental durations.

Configure Contexts

Before you create the Asset, you will want to configure a Rental Asset Context, so that LootLocker know what and how you plan on using the Asset in your game.

An Asset Context is a way to group and describe Assets. All Assets must be assigned an Asset Context when being created. Defining the Context of an Asset lets your game know what type of Asset it is, and lets LootLocker know what sort of information or logic will be stored in the Asset and any special relationships it should have, for example with and .

The Context Configuration menu can be found in the Game Settings menu by clicking the Settings icon on the left bar of the Management Interface.

Click on the Context Configuration tab at the top of the Game Settings menu. You should be taken to a menu that looks like this.

You will notice that there is already one context configured, Feature Unlocks. This is by design as this type of Context needs to exist by default in case it is used to unlock other Contexts.

To create a new Context, click the Add Context button. As we want to create a Rental Asset, select Rental Asset from the Complexity dropdown menu.

  • Name: Rental

  • Friendly Name: (can leave this blank if the Friendly Name is the same as the Name)

  • Detachable?: No

  • User Facing?: Yes

  • Depends On: Independent (No Asset)

Click Save Contexts to save this Context. It should now look like this:

You've now set up the Rental Asset Context and are ready to create a Rental Asset!

Creating the Rental Asset

Now lets navigate to the Asset Manager to create the Rental Asset. The Asset Manager can be accessed by clicking the Content button of the side bar and selecting Assets.

To create an Asset, click the Add Asset button in the top right corner of the Asset Manager. Fill in an Asset Name and select the Rental Context from the drop down menu. Click Create to create the Asset.

Once the Asset has been created, you will be taken to the Asset's page where you can see all of it's stored information and data. The most important fields when setting up a Rental Asset are in the Rental Content and Rental Tiers tabs at the top of the Asset's page. This is where we will define the content of the Rental Asset and define the different rental periods available in the game.

To start, we will first navigate to the Rental Content tab and click Add an Asset to add an Asset to this Rental Asset. These are the actual Assets that will be temporarily added o your player's inventory when they own an active Rental Asset.

Next, we will create two rental tiers by navigating to the Rental Tiers tab and clicking Add Rental Tier. Each rental tier requires the following information:

  • Name: The name of this specific tier, which will be displayed in-game

  • Duration: Enter a number and select a corresponding period (Seconds, Minutes, Hours, Days, etc)

  • Price: (Optional) Price in case the Asset is to be sold in-game

  • Sales Price: (Optional) Discount price for the Asset

For the first rental tier we will set a duration of 20 Seconds and for the second rental tier we will create a duration of 2 Minutes. We will not set a Price or Sales Price for this Asset in this tutorial. With everything set up, your rental tiers should look like this:

Activate the Asset

The final step is to activate the Asset so that it is sent to the game and players can access the Asset. To do this, click the Activate button on the right side of the Asset menu. Clicking Activate will automatically Activate and save any changes you have made to the Asset.

Next we will want to fill in the rest of the information about the Context. A detailed explanation about each of the Context options can be found .

⚔️
Working with Assets
Character Classes
Default Loadouts
here