Flow reference: Plugins
Edit XP
Add or remove XP, set XP or a level, or reset a member (Leveling plugin).
Add or remove XP, set XP or a level, or reset a member (Leveling plugin).
When and how to use it
Connect the input from the preceding step on the path that should perform this operation.
Fill the fields with data available in the trigger's context.
Connect the needed outputs; an unconnected path cannot run later blocks.
Configuration fields
Member — user
Choose the target user. {user} may be a command's selected user; {author} is the caller. Use an ID or the variable picker rather than a display name.
Input: Text with variable suggestions.
Default:
{member}.Action — mode
Choose the operating mode before other fields. Update versus create, acknowledgement mode and punishment mode have different consequences.
Input: Fixed choice.
Default:
add.Available choices (preserve the exact value):
add — Add XPremove — Remove XPset-xp — Set XPset-level — Set levelreset — ResetAmount — amount
Numeric quantity for this operation. Check the unit in the label; count, money and XP are different quantities.
Input: Text with variable suggestions.
Default:
100.Outputs and next steps
out: Continue to the next step.Test and troubleshoot
Install the corresponding plugin and configure its required accounts, channels and secrets. Test an API read before a write operation. An external-service error is not a reason to recreate the whole bot.
Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).
Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).