Delete Profile Action
Deletes a specific profile
Action to delete a profile by ID.
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
profileId | String | — | The profile ID to delete. Supports placeholders.占位符 |
successMessage | String | <red>Profil supprimé. | Message to send on success.占位符 |
failureMessage | String | <red>Impossible de supprimer ce profil. | Message to send on failure (e.g., profile is active or not found).占位符 |
TypeWriter 通用字段(triggers, criteria, modifiers)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
How to use it
profileId is the id of a profile of the triggering player. The active profile cannot be deleted: switch to another one first. The deletion is asynchronous, and successMessage and the Profile Deleted Event fire when it has completed.