BitAspire Wiki
XenoWorldResetXenoWorldReset

Command Arguments

Use arguments in your commands to set various options and triggers when the reset occurs.

If you use commands before or after the world is reset, you can use arguments to specify some extra options. We also list a few of the message arguments to customize the appearance of messages when you use warnings.

Message Arguments

These are only applied to messages set in the warning section.

ArgumentDescription
[title]The title of the warning message.
[title:fadeIn:stayIn:fadeOut]Title with different fade-in, stay-in, and fade-out durations.
[actionbar]Action bar message.

Examples

Use some examples to demonstrate how to use the arguments.

worlds.yml
- '[global] [actionbar] &c{world} is resetting soon!'
- '[world] [title] &cWarning<n>&7resetting the world {world} in {timeUntilReset}.'

Command Arguments

You can apply these arguments to any command in the commands section.

ArgumentDescription
[after]Trigger command after the world is reset.
[after:<num>]Trigger command after the world is reset after a specified number of ticks.
[during]Trigger command during the world reset.
[during:<num>]Trigger command during the world reset with a specified number of ticks.
[before]Trigger command before the world is reset.
[before:<num>]Trigger command before the world is reset before a specified number of ticks.
ArgumentDescription
[console]Trigger command as console (once).
[console-world]Trigger command in the world as console (once).
[world]Trigger command for every player in the resetting world.
[world:op]Trigger command for every player in the resetting world as op.
[world:console]Trigger command as console for every player in the resetting world.
[global]Trigger command for all online players.
[global:op]Trigger command for all online players as op.
[global:console]Trigger command as console for all online players.

Examples

Use some examples to demonstrate how to use the arguments.

worlds.yml
- '[before] [world] tell {player} this is a test message before the reset!'
- '[during] [global] tell {player} the world {world} is currently being loaded!'
- '[after] [world] tell {player} the world {world} has been reset!'

Last updated on

On this page