📦
AquaticCrates v3
  • Getting Started
  • Commands
  • Compatibility
  • ✏️Configuring
    • Basics
    • Crate
      • Visuals
      • Interactions
      • Hologram
      • Open Prices
      • Open Requirements
      • Open Restrictions
      • Open Cooldown
    • Mass Opening
    • Keys
      • Interactions
    • Rewards
      • Rarities
      • Win Limits
      • Actions
      • Rewards Menu
    • Preview
    • Milestones
    • Reroll
    • Animation
      • Open Animation
      • Idle Animation
      • Fail Animation
      • Actions
    • Reward & Crate Limits
    • Item Settings
    • Examples
  • 💻Developer API
    • Basics
Powered by GitBook
On this page
  • Options
  • Key
  • Display Name
  • Mass Open
  • Interactables
  • Rewards
  • Possible Rewards
  • Example configuration
  1. Configuring

Crate

PreviousBasicsNextVisuals

Last updated 4 months ago

Options

Key

Info regarding Crate Keys can be found here.

Display Name

A display name of the crate that is being used for placeholders in plugin messages.

This display name is not being used in preview or any other places. This is completely intentional, so you can modify everything to your needs!

Mass Open

Info regarding Mass Opening can be found here.

Interactables

Info regarding Interactables can be found here.

Rewards

Info regarding Rewards can be found here.

Possible Rewards

Info regarding Possible Rewards can be found here.

Example configuration

This is an example config that the plugin is being tested with.

This configuration does not contain stuff such as rerolls, preview & animations!

key:
  material: STONE
  display-name: "<red>Example Pouch 2!"
  lore:
    - " "
    - "<gray>Example line!"
  enchants:
    - "aqua_affinity:1"
  interaction:
    RIGHT:
      type: "open-crate"
display-name: "Example Pouch"
mass-open:
  final-tasks:
    - type: message
      message: "You have won %total-won-excluded% rewards in Mass Opening!"
  per-reward-tasks:
    - type: message
      message: "- %amount%x %reward%"
interactables:
  - type: ITEM_MODEL
    offset: "0;0.5;0"
    item-transform: "NONE"
    scale: "1;1;1"
    item:
      material: "STONE"
    billboard: FIXED
  - type: BLOCK
    material: BARRIER
possible-rewards:
  - min: 1
    max: 1
    chance: 100
rewards:
  example:
    amount-ranges:
      - min: 1
        max: 1
        chance: 100
    item:
      material: DIAMOND
      display-name: "example 1"
    give-item: true
    chance: 100
    actions:
      - type: message
        message: "You have won %random-amount%x diamond!"
        mass-open-execute: false
  example2:
    amount-ranges:
      - min: 1
        max: 1
        chance: 100
    item:
      material: IRON_INGOT
      display-name: "example 2"
    give-item: true
    chance: 100
    actions:
      - type: message
        message: "You have won %random-amount%x iron ingot!"
        mass-open-execute: false
  example3:
    amount-ranges:
      - min: 1
        max: 1
        chance: 100
    item:
      material: EMERALD
      display-name: "example 3"
    give-item: true
    chance: 100
    actions:
      - type: message
        message: "You have won %random-amount%x emerald!"
        mass-open-execute: false

✏️
Keys
Mass Opening
Visuals
Rewards
Rewards