Commands - AlonsoAliaga/AlonsoLevels GitHub Wiki

Commands

There is only one command: /alonsolevels

Aliases available are:
/alevels
/alevel
/alvl
/alvls

Some commands supports <no-output> argument to mute output when using a command correctly.
This is useful if you want to add the command as a reward command for a minigame, this will prevent
your console being spammed by messages like: "You added 1000 experience points to AlonsoAliaga."
Some commands supports <hide-notification> argument to mute notification sent to target.
This is useful if you want to add the command as a reward command for a minigame and you don't
want to notify the player he's receiving experience like: "+1000 Network Experience"

Example: /alonsolevels addexp AlonsoAliaga 1000 true true

Note

A new syntax for message behavior was introduced in new versions. Since 2.3-BETA-PRO ๐Ÿ”ฐ
ALL COMMANDS WITH THIS SYMBOL ๐Ÿงช SUPPORTS THIS NEW SYNTAX!
/alonsolevels addexp <target> <nooutput=true/false> <hidenotification=true/false>
๐Ÿ”Ž Target can be: (This is NOT SUPPORTED by command to set exp/level, only playername)
* All connected players in the current server with player data loaded.
world= All players in specified world(s). Multiple worlds supported using commas.>
playername Player with the speficied name if connected with player data loaded.
๐Ÿ“š No output option can be:
true No message is sent in console (or player executing the command). Prevent spams.
false Message is sent normally. (Might spam console and create big log files)
๐Ÿ”– Hide notification can be:
true No message is sent the the player(s) receiving the experience/money. (Doesn't apply for third economy plugins' messages)
false Message is sent normally to player(s). Economy plugins will send also their own messages.
Example:
/alonsolevels addrandomexp world=event,resources nooutput=true hidenotification=false

Sub commands

/alonsolevels rewards <player>

Description: Open rewards gui for player
Permission: alonsolevels.admin

/alonsolevels rewards

Description: Open rewards gui
Permission: No permission.

/alonsolevels stats <player>

Description: Check others statistics
Permission: alonsolevels.stats.others

/alonsolevels stats

Description: Check self statistics
Permission: No permission.

/alonsolevels reset

Description: Reset player data (Console only)
Permission: alonsolevels.admin

/alonsolevels addexp <player> <amount> <no-output> <hide-notification> ๐Ÿงช

Description: Add experience to player
Permission: alonsolevels.admin

/alonsolevels addrandomexp <player> <min> <max> <no-output> <hide-notification> ๐Ÿงช

Description: Add random experience to player
Permission: alonsolevels.admin

/alonsolevels removeexp <player> <amount> <no-output> <hide-notification> ๐Ÿงช

Description: Remove experience from player
Permission: alonsolevels.admin

/alonsolevels setexp <player> <experience> <no-output> <hide-notification> ๐Ÿงช

Description: Set player's experience
Permission: alonsolevels.admin

/alonsolevels addlevel <player> <amount> <no-output> <hide-notification> ๐Ÿงช

Description: Add levels to player
Permission: alonsolevels.admin

/alonsolevels removelevel <player> <amount> <no-output> <hide-notification> ๐Ÿงช

Description: Remove levels from player
Permission: alonsolevels.admin

/alonsolevels setlevel <player> <level> <no-output> <hide-notification> ๐Ÿงช

Description: Set player's level
Permission: alonsolevels.admin

/alonsolevels addmoney <player> <money> <no-output> <hide-notification> <messagetype=CHAT> <currency=VAULT> (๐Ÿ”ฐ PREMIUM ONLY) ๐Ÿงช

Description: Adds money directly to player's balance according to multipliers for that player.
๐Ÿ’  Option currency= can be VAULT/PLAYER_POINTS/TOKEN_MANAGER. Only applies if required plugin is installed.
If not selected it will use default value. (By default it's VAULT). (Option since 2.1-BETA-PRO โœ”๏ธ)
๐Ÿ’  Option messagetype= can be CHAT/ACTION_BAR/SUBTITLE. By default it's CHAT.
Permission: alonsolevels.admin

/alonsolevels addrandommoney <player> <min> <max> <no-output> <hide-notification> <messagetype=CHAT> <currency=VAULT> (๐Ÿ”ฐ PREMIUM ONLY) ๐Ÿงช

Description: Adds random money directly to player's balance according to multipliers for that player.
๐Ÿ’  Option currency= can be VAULT/PLAYER_POINTS/TOKEN_MANAGER. Only applies if required plugin is installed.
If not selected it will use default value. (By default it's VAULT). (Option since 2.1-BETA-PRO โœ”๏ธ)
๐Ÿ’  Option messagetype= can be CHAT/ACTION_BAR/SUBTITLE. By default it's CHAT.
Permission: alonsolevels.admin

/alonsolevels reload

Description: Reload messages and some checks. (Restart recommended)
Permission: alonsolevels.admin

โš ๏ธ **GitHub.com Fallback** โš ๏ธ