Configuration

Configuration file: levels.yml

# #################################################################
# ┌─────────────────────────────────────────────────────────────┐ #
# │                         Chat levels                         │ #
# └─────────────────────────────────────────────────────────────┘ #
# #################################################################

options:
  # Enable/disable full module
  enabled: true
  # Min XP per message
  min: 3
  # Max XP per message
  max: 7

# Per group multiplier (you can use two decimals)
multiplier:
  # (Group): (multiplier)
  op: 2.0
  # Add more groups
  #default: 2.0

levels:
  1:
    xp: 200
    rewards:
      - "give %player% dirt 1"
      - "say %player% raised to level 1"
  2:
    xp: 500
    rewards:
      - "give %player% dirt 2"
      - "say %player% raised to level 2"

General options

  • Enabled: Enable/disable the full levels module

  • Min: Min XP per message (without XP multipliers)

  • Max: Max XP per message (without XP multipliers)

Multipliers

Format: (Group): (multiplier

Examples:

multiplier:
  vip: 2.5
  admin: 5.2
  • The group VIP has x2.5 XP multiplier per message

  • The group Admin has x5.2 XP multiplier per message

For the multipliers, the groups in the groups.yml file are used

Levels

levels:
  # Level
  1:
    # XP requeriment
    xp: 200
    # Rewards (commands executed in console)
    rewards:
      - "give %player% dirt 1"
      - "say %player% raised to level 1"
  • Level: The chat level, if you want to have for example level 5, you need to have configured also 1, 2, 3 and 4.

  • xp: The XP requeriment (must be higher than the previous level)

  • rewards: The commands that are executed in the console when a player reaches that level

Last updated