Giftoin Docs
  • 👋INTRODUCTION
    • Welcome to Giftoin
    • Overview
    • Quick Start
    • FAQs
    • Key Features
  • 🧩API REFERENCE
    • Standards and Conventions
    • Orders API
      • Tokens/Points
      • Collectibles/Cards
      • Collectibles/Random Cards
    • Users API
      • Inventory
      • Progress
    • Error Handling
  • 💻PLATFORM GUIDES
    • Roblox
      • Why use Giftoin?
      • Basic Usage
      • Developer Access
      • Installation
      • Additional Example / Use-Cases
        • Point Reward
        • Daily Reward
        • Advanced Point Distribution System
        • Managed Codes & In-Game Rewards (Coming Soon)
          • Registering Reward Types
      • Tools and Scripts
        • Rotating Script
        • Floating Script
        • Quest System (Coming Soon)
    • Discord
      • Introduction
      • Getting Started
      • Command Reference
      • Role System
      • User Guides
      • Troubleshooting
      • FAQs
    • Wordpress
  • 📚Resources
    • Use Cases
      • Basic
      • eCommerce
      • Games
    • Support
Powered by GitBook
On this page

Was this helpful?

  1. PLATFORM GUIDES
  2. Roblox
  3. Additional Example / Use-Cases

Advanced Point Distribution System

PreviousDaily RewardNextManaged Codes & In-Game Rewards (Coming Soon)

Was this helpful?

Step-by-Step Setup Guide

1. Import the Collectible Point Part

The ready to use part contains:

  1. Point part with mesh & texture

  2. Sound to be played when user collide with the part (collect it)

  3. Server-side script to handle the collision & sending of point to the player

  4. Part's customer attributes to be used when sending the point on the Giftoin Platform the the player

2. Set Up Custom Attributes

  1. Select your "CandyPoint" part in the Explorer.

  2. In the Properties window, scroll down to the Attributes section.

  3. Set values for each attribute:

    • PointQuantity: Enter the number of points this collectible is worth (e.g., 10)

    • PointId: Enter a unique identifier for this type of point (e.g., "candy_point")

    • CampaignId: Enter the campaign identifier (e.g., "halloween_2024")

3. Test and Replicate

  1. Play test your game to ensure the point collection works as expected.

  2. Once confirmed, you can duplicate the "CandyPoint" part and distribute it throughout your game.

  3. Adjust the attributes for each instance as needed (e.g., different point values or IDs for different locations).

4. Final Considerations

  • Ensure the GiftoinModule is properly set up with the correct API endpoints and authentication.

  • Consider creating a system to dynamically spawn these points in your game.

  • Implement a user interface to display collected points to players.

  • Set up proper error handling and logging for the API calls.

💻
30KB
demo-point-candy-part.rbxm