PvPLevels config.yml - Historical

Applied By MathiasMC: Sep 7, 2018 at 9:43 PM

PvPLevels config.yml
Code (Text):
#                                                                     #
#                             PvPLevels                               #
#                            Version: 77                              #
#                                by                                   #
#                             MathiasMC                               #
#               Any ideas for the plugin or need help?                #
#                        contact me on spigot                         #
#                                                                     #
# Permission List:                      Placeholders:                 #
#                                                                     #
#                                                                     #
# pvplevels.command.use                 {pvplevels_player}            #
# pvplevels.command.help                {pvplevels_kills}             #
# pvplevels.command.reload              {pvplevels_deaths}            #
# pvplevels.command.set                 {pvplevels_xp}                #
# pvplevels.command.add                 {pvplevels_level}             #
# pvplevels.command.remove              {pvplevels_kdr}               #
# pvplevels.command.pvpstats            {pvplevels_killstreak}        #
# pvplevels.command.pvpstats.target     {pvplevels_xp_required}       #
# pvplevels.command.pvptop              {pvplevels_xp_progress}       #
# pvplevels.command.pvptop.kills        {pvplevels_xp_progress_style} #
# pvplevels.command.pvptop.deaths                                     #
# pvplevels.command.pvptop.level                                      #
# pvplevels.command.message                                           #
#                                                                     #

# Check for updates when the plugin is enabled (Recommended to leave as default)
update-check: true

# Data settings
mysql:
  use: false
  host: localhost
  port: 3306
  database: database
  username: username
  password: password
 
# KillSession
kill-session:
  use: true
  # player kills to get in the killsession
  amount: 2
  # time in seconds when the player gets removed from the killsession
  time: 120
 
# Here you can customize the placeholder {pvplevels_xp_progress_style}
# symbol: unicode example \u25A0
# xp: is the color of the xp you have
# none: is the color of the missing xp
# amount: is how many symbols there is
xp-progress-style:
  symbol: '\u25A0'
  xp: '&2'
  none: '&c'
  amount: 10

# Auto Generate
generate:
  # To create the levels run the command as console: /pvplevels generate <amount> levels
  # WARNING THIS WILL OVERWRITE ALL DATA IN levels.yml
  # Calculation: current level xp * 2 + random number between min and max
  # random will add an random command from the list every current random level + random number between min and max
  levels:
    commands:
    - pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou are now level {pvplevels_level_to}
    xp:
      static: 16
      min: 1
      max: 10
    random:
      use: true
      commands:
      - give {pvplevels_player} diamond
      - give {pvplevels_player} emerald
      - give {pvplevels_player} gold
      - give {pvplevels_player} iron
      - give {pvplevels_player} coal
      xp:
        min: 1
        max: 35

# Prefix settings
# If disabled you can use placeholders in other chat plugins
prefix:
  use: true
  list:
    default:
      permission: pvplevels.prefix.default
      worlds:
        use: false
        list:
        - world
        - world_nether
        - world_the_end
      worldguard:
        use: false
        regions:
        - region1
        - region2
        - region3
      list:
        '0': '&e[&7Default&e] &f[&aLvl &6{pvplevels_level}&f] &b{pvplevels_player} &f{pvplevels_text}'
        '1': '&e[&7Default&e] &1[&aLvl &6{pvplevels_level}&1] &b{pvplevels_player} &f{pvplevels_text}'
        '2': '&e[&7Default&e] &2[&aLvl &6{pvplevels_level}&2] &b{pvplevels_player} &f{pvplevels_text}'
        '3': '&e[&7Default&e] &3[&aLvl &6{pvplevels_level}&3] &b{pvplevels_player} &f{pvplevels_text}'
        '4': '&e[&7Default&e] &4[&aLvl &6{pvplevels_level}&4] &b{pvplevels_player} &f{pvplevels_text}'
        '5': '&e[&7Default&e] &5[&aLvl &6{pvplevels_level}&5] &b{pvplevels_player} &f{pvplevels_text}'
      none: '&e[&7Default&e] &f[&aLvl &6{pvplevels_level}&f] &b{pvplevels_player} &f{pvplevels_text}'
    vip:
      permission: pvplevels.prefix.vip
      worlds:
        use: false
        list:
        - world
        - world_nether
        - world_the_end
      worldguard:
        use: false
        regions:
        - region1
        - region2
        - region3
      list:
        '0': '&e[&7VIP&e] &f[&aLvl &6{pvplevels_level}&f] &b{pvplevels_player} &f{pvplevels_text}'
        '1': '&e[&7VIP&e] &1[&aLvl &6{pvplevels_level}&1] &b{pvplevels_player} &f{pvplevels_text}'
        '2': '&e[&7VIP&e] &2[&aLvl &6{pvplevels_level}&2] &b{pvplevels_player} &f{pvplevels_text}'
        '3': '&e[&7VIP&e] &3[&aLvl &6{pvplevels_level}&3] &b{pvplevels_player} &f{pvplevels_text}'
        '4': '&e[&7VIP&e] &4[&aLvl &6{pvplevels_level}&4] &b{pvplevels_player} &f{pvplevels_text}'
        '5': '&e[&7VIP&e] &5[&aLvl &6{pvplevels_level}&5] &b{pvplevels_player} &f{pvplevels_text}'
      none: '&e[&7VIP&e] &f[&aLvl &6{pvplevels_level}&f] &b{pvplevels_player} &f{pvplevels_text}'
 
# XP settings
# You can add your own mobs/animals here and set what you get in xp
# If spawners is set to true you will get xp from spawners
# min is the minimum xp you can get and max is the maximum xp you can get
xp:
  player:
    min: 1
    max: 3
    permission: pvplevels.xp.player
    worlds:
      use: false
      list:
      - world
      - world_nether
      - world_the_end
    worldguard:
      use: false
      regions:
      - region1
      - region2
      - region3
    messages:
      use: true
      list:
      - '&7[&bPvPLevels&7] &eYou killed &b{pvplevels_type} &eand you got &6{pvplevels_xp_get}
        &exp you need {pvplevels_xp_needed} xp to level {pvplevels_level_to}'
  zombie:
    min: 1
    max: 3
    spawners: false
    permission: pvplevels.xp.zombie
    worlds:
      use: false
      list:
      - world
      - world_nether
      - world_the_end
    worldguard:
      use: false
      regions:
      - region1
      - region2
      - region3
    messages:
      use: true
      list:
      - '&7[&bPvPLevels&7] &eYou killed &b{pvplevels_type} &eand you got &6{pvplevels_xp_get}
        &exp you need {pvplevels_xp_needed} xp to level {pvplevels_level_to}'
  cow:
    min: 1
    max: 3
    spawners: false
    permission: pvplevels.xp.cow
    worlds:
      use: false
      list:
      - world
      - world_nether
      - world_the_end
    worldguard:
      use: false
      regions:
      - region1
      - region2
      - region3
    messages:
      use: true
      list:
      - '&7[&bPvPLevels&7] &eYou killed &b{pvplevels_type} &eand you got &6{pvplevels_xp_get}
        &exp you need {pvplevels_xp_needed} xp to level {pvplevels_level_to}'

# XP-LOSE settings
# You can add your own mobs/animals here and set what you lose in xp
# Other then mobs/animals/player? here is a list
# block_explosion, drowning, fall, falling_block, fire, fire_tick, lava, lightning
# magic, poison, projectile, starvation, suffocation, suicide, thorns, void, wither, other
xp-lose:
  player:
    min: 1
    max: 3
    permission: pvplevels.xp.lose.player
    worlds:
      use: false
      list:
      - world
      - world_nether
      - world_the_end
    worldguard:
      use: false
      regions:
      - region1
      - region2
      - region3
    messages:
      use: true
      list:
      - '&7[&aPvPLevels&7] &cYou have lost {pvplevels_xp_lost} xp'
  zombie:
    min: 1
    max: 3
    permission: pvplevels.xp.lose.zombie
    worlds:
      use: false
      list:
      - world
      - world_nether
      - world_the_end
    worldguard:
      use: false
      regions:
      - region1
      - region2
      - region3
    messages:
      use: true
      list:
      - '&7[&aPvPLevels&7] &cYou have lost {pvplevels_xp_lost} xp'
  cow:
    min: 1
    max: 3
    permission: pvplevels.xp.lose.cow
    worlds:
      use: false
      list:
      - world
      - world_nether
      - world_the_end
    worldguard:
      use: false
      regions:
      - region1
      - region2
      - region3
    messages:
      use: true
      list:
      - '&7[&aPvPLevels&7] &cYou have lost {pvplevels_xp_lost} xp'

# Player settings
player:
  kills:
    worlds:
      use: false
      list:
      - world
      - world_nether
      - world_the_end
    worldguard:
      use: false
      regions:
      - region1
      - region2
      - region3
  deaths:
    worlds:
      use: false
      list:
      - world
      - world_nether
      - world_the_end
    worldguard:
      use: false
      regions:
      - region1
      - region2
      - region3
  join:
    use: true
    list:
      default:
        permission: pvplevels.join.default
        delay: 5
        worlds:
          use: false
          list:
          - world
          - world_nether
          - world_the_end
        worldguard:
          use: false
          regions:
          - region1
          - region2
          - region3
        commands:
        - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &e{pvplevels_player} Welcome back!'
      vip:
        permission: pvplevels.join.vip
        delay: 5
        worlds:
          use: false
          list:
          - world
          - world_nether
          - world_the_end
        worldguard:
          use: false
          regions:
          - region1
          - region2
          - region3
        commands:
        - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &e{pvplevels_player} Welcome back vip!'
    first:
      use: true
      list:
        default:
          permission: pvplevels.join.default
          delay: 5
          worlds:
            use: false
            list:
            - world
            - world_nether
            - world_the_end
          worldguard:
            use: false
            regions:
            - region1
            - region2
            - region3
          commands:
          - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &e{pvplevels_player} Welcome!'
        vip:
          permission: pvplevels.join.vip
          delay: 5
          worlds:
            use: false
            list:
            - world
            - world_nether
            - world_the_end
          worldguard:
            use: false
            regions:
            - region1
            - region2
            - region3
          commands:
          - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &e{pvplevels_player} Welcome vip!'
  respawn:
    use: true
    list:
      default:
        permission: pvplevels.respawn.default
        delay: 0
        worlds:
          use: false
          list:
          - world
          - world_nether
          - world_the_end
        worldguard:
          use: false
          regions:
          - region1
          - region2
          - region3
        commands:
        - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou are back alive'
      vip:
        permission: pvplevels.respawn.vip
        delay: 0
        worlds:
          use: false
          list:
          - world
          - world_nether
          - world_the_end
        worldguard:
          use: false
          regions:
          - region1
          - region2
          - region3
        commands:
        - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou are back alive'
  rewards:
    kills:
      use: true
      list:
        default:
          '2':
            permission: pvplevels.rewards.kills.default
            worlds:
              use: false
              list:
              - world
              - world_nether
              - world_the_end
            worldguard:
              use: false
              regions:
              - region1
              - region2
              - region3
            commands:
            - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou have got a reward because you have 2 kills!'
          '5':
            permission: pvplevels.rewards.kills.default
            worlds:
              use: false
              list:
              - world
              - world_nether
              - world_the_end
            worldguard:
              use: false
              regions:
              - region1
              - region2
              - region3
            commands:
            - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou have got a reward because you have 5 kills!'
        vip:
          '2':
            permission: pvplevels.rewards.kills.vip
            worlds:
              use: false
              list:
              - world
              - world_nether
              - world_the_end
            worldguard:
              use: false
              regions:
              - region1
              - region2
              - region3
            commands:
            - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou have got a reward because you have 2 kills!'
          '5':
            permission: pvplevels.rewards.kills.vip
            worlds:
              use: false
              list:
              - world
              - world_nether
              - world_the_end
            worldguard:
              use: false
              regions:
              - region1
              - region2
              - region3
            commands:
            - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou have got a reward because you have 5 kills!'
  killstreaks:
    use: true
    list:
      default:
        '5':
          permission: pvplevels.killstreak.default
          worlds:
            use: false
            list:
            - world
            - world_nether
            - world_the_end
          worldguard:
            use: false
            regions:
            - region1
            - region2
            - region3
          commands:
          - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou have a killstreak of {pvplevels_killstreak}!'
        '10':
          permission: pvplevels.killstreak.default
          worlds:
            use: false
            list:
            - world
            - world_nether
            - world_the_end
          worldguard:
            use: false
            regions:
            - region1
            - region2
            - region3
          commands:
          - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou have a killstreak of {pvplevels_killstreak}!'
        '15':
          permission: pvplevels.killstreak.default
          worlds:
            use: false
            list:
            - world
            - world_nether
            - world_the_end
          worldguard:
            use: false
            regions:
            - region1
            - region2
            - region3
          commands:
          - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou have a killstreak of {pvplevels_killstreak}!'
      vip:
        '5':
          permission: pvplevels.killstreak.vip
          worlds:
            use: false
            list:
            - world
            - world_nether
            - world_the_end
          worldguard:
            use: false
            regions:
            - region1
            - region2
            - region3
          commands:
          - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou have a killstreak of {pvplevels_killstreak}!'
        '10':
          permission: pvplevels.killstreak.vip
          worlds:
            use: false
            list:
            - world
            - world_nether
            - world_the_end
          worldguard:
            use: false
            regions:
            - region1
            - region2
            - region3
          commands:
          - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou have a killstreak of {pvplevels_killstreak}!'
        '15':
          permission: pvplevels.killstreak.vip
          worlds:
            use: false
            list:
            - world
            - world_nether
            - world_the_end
          worldguard:
            use: false
            regions:
            - region1
            - region2
            - region3
          commands:
          - 'pvplevels message {pvplevels_player} &7[&bPvPLevels&7] &eYou have a killstreak of {pvplevels_killstreak}!'