Remove an element from a storage segment. If accessing guild storage, you will need write access to that element, as well as the Delete from Guild Addon Storage permission. This command is throttled by the "storage" throttle type.
Command.Storage.Clear(segment, identifier, callback) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
callback | parameter | callbackfunction | A standard command callback, used for detecting success or failure. See the "callbackfunction" documentation for more details. |
identifier | parameter | string | The identifier of the storage bucket. Must be at least three characters long. |
segment | parameter | string | The storage segment to access. "player" will access the target's per-player storage, "guild" will access the target's guild's per-guild storage. If this function has no target parameter, then the player will be targeted. |