Delete Profile Action
Deletes a specific profile
Action to delete a profile by ID.
Campos
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
profileId | String | — | The profile ID to delete. Supports placeholders.Placeholders |
successMessage | String | <red>Profil supprimé. | Message to send on success.Placeholders |
failureMessage | String | <red>Impossible de supprimer ce profil. | Message to send on failure (e.g., profile is active or not found).Placeholders |
Campos comunes de TypeWriter (triggers, criteria, modifiers)
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
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.