Options

Looking into Options.yml

AuthorLimit

Limit of MelodyPlayer is limited per Author(player).

Options:
  Player:
    AuthorLimit:
      Default: 9

Extend limit

By permissions, you can extend limit of MelodyPlayers for player.

Simply create KEY and assign it value.

Options:
  Player:
    AuthorLimit:
      Extension:
        PRINCE: 3
        KING: 9

Default + Extension = Total Limit

Example

Extension with key VIP_GOLD extends limit by 5. In configuration file, it will look like this:

Options:
  Player:
    AuthorLimit:
      Extension:
        VIP_GOLD: 5

Player with permission MelodyPlayer.Player.Author.Limit.VIP_GOLD can create 14 MelodyPlayers. (9 as Default + 5 by extension)

At applying more permissions on the player, only permission with highest value will be used!

Last updated