TPStashEvent.PlayStageWithCosmetic

TPStashEvent.PlayStageWithCosmetic(
    userId,
    character_uuid,
    item_slug,
    stage_slug,
    stage_type --[[Optional--]],
    stage_category_slug--[[Optional--]]
)

Description

PlayStageWithCosmetic collects the data of the cosmetic item that the character brings to the stage.

The types of items
  • Equipment: Weapons, armors, accessories, and other gears

  • Consumable: Potion, bandage, and other consumable items

  • Cosmetic: Costumes that do not affect the player or character’s ability and other essential attributes

  • Token: Alternative currency with limited use such as "token for pvp shop" including an entrance ticket

  • Material: Raw materials for gear upgrades, character ranking up, and so on

  • Infrastructure: Fixed assets that affect the whole game indirectly

  • Pet: Pet that a character carries

  • RandomBox: A random box that can be opened whose content varies depending on the probability

Parameters

Name Description Required

UserId

Player’s unique user ID (not a character’s ID) that is given by Roblox: Player.UserId

Required

character_uuid

Player’s character’s unique lD

If there is no character in the game or If you want to use it for the player, not a character, set character_uuid to TentuPlayKeyword._DUMMY_CHARACTER_ID_.

Required

item_slug

Unique identifier of the item (for example, "weapon_sword_dagger" and "shield_kite_rare")

Required

stage_slug

Unique identifier of the stage

Required

stage_type

Stage type

TPStashEvent.StageType.Unknown
TPStashEvent.StageType.PvP
TPStashEvent.StageType.PvE

Optional

stage_category_slug

Category of the stage type

Optional