Level Commands

Commands are defined per-progression in levels/<id>.yml under the commands section. The examples below use the default sword-level progression (/swordlevel).


Player Commands

Command
Permission
Description

/swordlevel

Opens the linked-inventory menu if configured, otherwise shows the BALANCE message.

/swordlevel balance [player]

phantom.swordlevel.balance

Shows your current level. Add a player name to check someone else (requires check-others-permission).

/swordlevel help

Shows the help message.


Admin Commands

Command
Permission
Description

/swordlevel give <player> <amount>

phantom.swordlevel.give

Add levels to a player. Works on offline players if require-online-player: false.

/swordlevel set <player> <level>

phantom.swordlevel.set

Set a player's level directly.

/swordlevel remove <player> <amount>

phantom.swordlevel.remove

Remove levels from a player (clamped to starting-level).


Notes

  • The command name and aliases are fully configurable in levels/<id>.yml

  • Each node (balance, give, set, remove) can be individually disabled.

  • require-online-player: false on admin nodes means data is written to the database and applied when the player next joins.

Last updated