Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ========== Variables ==========
- Variables are set while actions are being executed. You can use them as placeholders in player messages, commands, etc.
- Note that some variables will only be available after their respective action was invoked. This means you sometimes have to put your "message" actions !!after!! the other actions which set the variable used in them.
- The following variables are currently available:
- %plugin-prefix%
- The prefix used by the plugin. Can be used to indicate that messages belong to this plugin.
- It evaluates to "[DeathControl] " (written in gray, followed by white).
- %death-cause%
- The primary death cause involved in this death.
- %death-cause-formatted%
- The formatted text for the primary death cause as defined in the "cause-reasons" section in "messages.yml".
- %victim-name%
- The display name of the victim.
- %world%
- The name of the world where the death happened.
- %killer-name%
- The display name of the player who killed the victim.
- If the death wasn't caused by a player, this variable is empty.
- %death-message%
- The original vanilla death message that was sent (can be used with the "clear-death-message" action).
- %money-paid%
- The formatted amount of money that was last paid.
- Set by the "charge" action.
- %money-paid-raw%
- The amount of money that was last paid as a plain number.
- Set by the "charge" action.
- %items-kept-percent%
- A percentage ("x%") of the items that were kept (in relation to the complete inventory).
- Set by the "keep-items" action.
- %items-dropped-percent%
- A percentage ("x%") of the items that were dropped (basically the counter-part to %items-kept-percent%).
- Set by the "keep-items" action.
- %items-destroyed-percent%
- A percentage ("x%") of the items that were destroyed (in relation to the complete inventory).
- Set by the "destroy-items" action.
- %items-damaged%
- The amount of item stacks that were affected by the durability damage.
- Set by the "damage-items" action.
- %last-command%
- The last command that was executed as an action.
- Set by the "command" action.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement