🌊
AquaticCrates v2
  • What is AquaticCrates?
  • Features
  • Commands & Permissions
  • FAQ
  • Guides
    • Plugin installation
    • Creating your first crate
    • Setting up a crate
    • Key Settings
    • Reward Settings
      • Reward Actions
    • Preview Settings
    • Reroll Settings
    • Milestone Settings
    • Animation Settings
      • Animation Types
      • Animation Actions
  • Misc
    • Item Configuration
    • Colors
Powered by GitBook
On this page
  • Guide
  • Available Settings:
  • Available Settings:
  1. Guides

Reward Settings

Guide

rewards:
  reward-name:
    give-item: false
    item:
      material: GOLD_NUGGET
      display-name: "§e$200"
      lore:
        - "&f "
        - "&f$200 Money"
    hologram:
      - "&e$200"
    hologram-y-offset: 0
    chance: 28.0
    actions:
    - '[command] geco give %player% 200'
    - '[message] &e&lCONGRATULATIONS! &fYou have won &e$200&f!'

Available Settings:

  • "give-item"

    • Should be the reward item given to player?

  • "item"

  • "hologram" (Optional)

    • Hologram of the dropped reward item

  • "hologram-y-offset" (Optional)

    • Y axis offset of the reward hologram

  • "chance"

    • A chance of the reward...

  • "actions"

    • Actions that are being sent after the player wins the reward

Advanced:

rewards:
  reward-name:
    give-item: false
    model: modelengine:TEST_MODEL
    model-yaw: 10
    open-animation: open2 
    preview-item: # The item that will be shown in the preview (Optional)
      material: DIAMOND
      display-name: "§b$200"
      lore:
        - "&f "
        - "&f$200 Money"
    item:
      material: GOLD_NUGGET
      display-name: "§e$200"
      lore:
        - "&f "
        - "&f$200 Money"
    hologram:
      - "&e$200"
    hologram-y-offset: 0
    chance: 28.0
    conditions:
      1:
        type: "permission"
        permission: "acrates.reward1"
        negate: true
    actions:
    - '[command] geco give %player% 200'
    - '[message] &e&lCONGRATULATIONS! &fYou have won &e$200&f!'

Available Settings:

  • "model" (Optional)

    • If you want to show a model in the animation instead of a reward item, use this option :)

  • "model-yaw" (Optional)

    • rotation of the reward model

  • "open-animation" (Optional)

    • Per-reward animation. You can specify this option if you want to make the it so the crate plays a different animation when this reward is chosen.

  • "preview-item" (Optional)

    • an item that will be used for the preview GUI

  • "conditions" (Optional)

    • conditions to be able to win the reward.

    • negate means that it negates the if statement logic of the condition. For example when the negate is set to false, then a player must have a permission to be able to win the reward. If the negate is set to true, then the player must NOT have the permission to be able to win it.

PreviousKey SettingsNextReward Actions

Last updated 1 year ago

Settings of the Reward item, take a look into guide

Take a look into guide

this
this