Pages » Ama » Core » Config


# Core settings.
core:
  # Plugin command aliases.
  command-aliases: ama,advancedmobarena,ma,mobarena
  # Language file.
  lang: en
  # Plugin prefix.
  prefix: AdvancedMobArena

# Database settings.
data:
  # Auto-save interval (in minutes).
  auto-save: 15
  storage:
    # Allowed: MySQL, SQLite
    type: sqlite
    # These settings is for MySQL only.
    username: none
    password: none
    host: none
    database: none
  # Purging inactive plugin users.
  purge:
    enabled: false
    days: 60

# Plugin debug messages.
debug:
  # Enable this if you think that mob spawning mechanism is incorrect and send console log to the developer.
  mob-spawning: false

# Global plugin settings.
general:
  # Set this on true if you experiencing issues with players inventories when they join/left arenas.
  disable-inventory-manager: false
  # Set this on true if you want to use server economy plugin instead of internal currency.
  vault-currency: false

# Arena Mob Settings.
mobs:
  # Enables/Disables mob lava damage.
  lava-damage: true
  # Killing the mobs from this table will reward players with assigned money amount.
  # You can use default word for any mobs not listed here.
  money-table:
    default: 1
    creeper: 3
    spider: 2
  # Killing the mobs from this table will reward players with assigned score amount.
  # You can use default word for any mobs not listed here.
  score-table:
    default: 3
    creeper: 4
  # Mob kill streaks.
  kill-streak:
    # Enables/Disables kill streak feature.
    enabled: true
    # How long (in seconds) kill streak will decay before reset to zero?
    streak-decay: 10.0
    # Your custom kill streaks.
    streaks:
      # This must be a number equals to the streak.
      '2':
        # Kill streak message. Make it empty to disable.
        message: '[TITLES] &c&lDouble Kill!'
        # Amount of extra money that sums with amount of 'money-table'.
        extra-money: 0
        # Amount of extra score that sums with amount of 'score-table'.
        extra-score: 0
        # List of commands that will be executed.
        commands:
        - '[CONSOLE] heal %player%'
      '3':
        message: '[TITLES] &c&lTriple Kill!'
        extra-money: 0
        extra-score: 0
      '4':
        message: '[TITLES] &b&lQuadra Kill!'
        extra-money: 0
        extra-score: 0
      '5':
        message: '[TITLES] &b&lPenta Kill! /n &d(+10 Coins)'
        extra-money: 10
        extra-score: 0
      '10':
        message: '[TITLES] &e&lx%streak% Kill! /n &a(+30 Score, Heal)'
        extra-money: 0
        extra-score: 30
        commands:
        - '[CONSOLE] heal %player%'
      '15':
        message: '[TITLES] &e&lx%streak% Kill! /n &a(+20 Coins)'
        extra-money: 20
        extra-score: 0
      '20':
        message: '[TITLES] &e&lx%streak% Kill! /n &a(x10 Coins)'
        extra-money: 900%
        extra-score: 0
      '30':
        message: '[TITLES] &e&lx%streak% Kill! /n &a(x10 Score)'
        extra-money: 0
        extra-score: 900%

# Arena Chat.
chat:
  # Enables/Disables arena chat feature.
  enabled: true
  # When true, replaces the first ! symbol to prevent sending messages in global server chat.
  # Use it only if your chat plugin has a function of global chat.
  ignore-global-chat: true
  # Chat format. Support PlaceholderAPI
  # Placeholders:
  # - %kit% - Player kit name (empty if no kit).
  # - %player% - Player name.
  # - %message% - Message.
  format: '&7(&6%kit%&7) &a%player%: &f%message%'

# Sounds.
sounds:
  lobby:
    time: BLOCK_NOTE_BLOCK_PLING
  game:
    start: BLOCK_PORTAL_TRAVEL
    end: BLOCK_METAL_FALL

# Lobby settings.
lobby:
  # Lobby items.
  items:
    KIT_SHOP:
      enabled: true
      slot: 3
      material: ENDER_CHEST
      name: '&d&nKit Shop'
      lore:
      - '&7(Right click to open)'
    KIT_SELECT:
      enabled: true
      slot: 5
      material: CHEST
      name: '&6&nKit Selector'
      lore:
      - '&7(Right click to open)'
    EXIT:
      enabled: true
      slot: 8
      material: REDSTONE
      name: '&c&nLeave Arena'
      lore:
      - '&7(Right click to leave)'
    STATS:
      enabled: true
      slot: 0
      material: EMERALD
      name: '&a&nStats'
      lore:
      - '&7(Right click to open)'

# Arena Shop lore format.
shop:
  format:
    # Displays unlock conditions in shop product lore.
    # Placeholders:
    # - %requirement-wave% - Wave Start and End trigger values.
    # - %requirement-score% - Arena Score trigger values.
    # - %requirement-region-lock% - Names of Locked Region trigger values.
    # - %requirement-region-unlock% - Names of Unlocked Region trigger values.
    unlock-conditions:
    - '&c▸ &7Wave Requirement(s): &c%requirement-wave%'
    - '&c▸ &7Score Requirement(s): &c%requirement-score%'
    - '&c▸ &7Region Lock Requirement(s): &c%requirement-region-lock%'
    - '&c▸ &7Region Unlock Requirement(s): &c%requirement-region-unlock%'
    # Custom text depends on product availability.
    available:
      'true':
      - '&a▸ Click to Buy!'
      'false':
      - '&c▸ Item is not available.'
    # The whole product lore.
    # Placeholders:
    # - %item-lore% - Product preview item lore.
    # - %unlock-conditions% - Product unlock conditions.
    # - %requirement-kit% - Name of kits required by product.
    # - %price% - Product price.
    # - %available% - Product availability.
    lore:
    - '%item-lore%'
    - ''
    - '%unlock-conditions%'
    - '&c▸ &7Kit Requirement(s): &c%requirement-kit%'
    - ''
    - '&6▸ &eUnlocked: &6%unlocked%'
    - '&6▸ &ePrice: &c%price% Coins'
    - ''
    - '%available%'

# GUIs
gui:
  # Arena List GUI (/ama list).
  arena-list:
    title: 'Arena | List'
    size: 27
    
    # Arena lore format.
    format:
      # Displays arena join requirements.
      # Placeholders:
      # - %requirement-permission% - Whether permission is required.
      # - %requirement-clear-inv% - Whether empty inv. is required.
      # - %requirement-money% - Amount of required money. Zero or negative values will be skipped.
      # - %requirement-level% - Amount of required exp levels. Zero or negative values will be skipped.
      requirements:
        list:
        - '&c▸ &7Permission Required: &c%requirement-permission%'
        - '&c▸ &7Clear Inv. Required: &c%requirement-clear-inv%'
        - '&c▸ &7Money Requirement: &c%requirement-money%'
        - '&c▸ &7Exp Level Requirement: &c%requirement-level%+'
        - ''
        # This text will be added between the multiple requirements.
        additional:
        - '&c&l          OR'
        - '&7'
      # Custom format depends on arena availability for a player.
      available:
        'true':
        - '&aClick to Join!'
        'false':
        - '&cYou can''t join now.'
    
    # Your custom items.
    content:
      filler_black:
        material: BLACK_STAINED_GLASS_PANE
        name: '&7'
        slots: 0,2,4,6,8,18,20,22,24,26
      filler_pink:
        material: CYAN_STAINED_GLASS_PANE
        name: '&7'
        slots: 1,3,5,7,9,17,19,21,23,25
      next:
        material: ARROW
        name: '&7« &fNext Page &7»'
        slots: '17'
        type: NEXT
      back:
        material: ARROW
        name: '&7« &fPrevious Page &7»'
        slots: '9'
        type: BACK
    
    # Your arenas.
    arenas:
      # This name must be equal to arena identifier.
      sample:
        material: SPAWNER
        name: '&bDefault Arena'
        # Placeholders:
        # - %state% - Current arena state.
        # - %players-current% - Current players in arena.
        # - %players-max% - Max. possible players in arena.
        # - %join-requirements% - Join requirements.
        # - %join-available% - Join availability.
        lore:
        - '&6▸ &eState: &6%state%'
        - '&6▸ &ePlayers: &6%players-current%&7/&6%players-max%'
        - ''
        - '%join-requirements%'
        - '%join-available%'
        slots: '10'


Information
Empty Block

18+