Skip to content

Configuration

Yap Zhen Yie edited this page Jun 8, 2022 · 21 revisions

GadgetsMenu Configuration

Here you can find the default config of GadgetsMenu.


config.yml

  • database settings
  • general settings
  • menu selector
  • item purchase settings
  • discount rate settings

config.yml

messages.yml

Here's the list of settings in the messages.yml file.

  • Prefix
  • GUI menus
  • Common items
  • All the messages

mystery boxes.yml

This file contains the settings & messages related to Mystery Boxes and Mystery Vault.

  • Mystery Box chances
  • Broadcast messages
  • Hologram settings
  • Mystery Boxes Reward

How to edit cosmetic item settings?

In this sample I used the 'Hamburger Hat'. You can find related cosmetic file in 'categories' folder.

# Don't change this!
Hamburger:
    
  # The name of the item.
  Name: '&aHamburger Hat'

  # How much mystery dust does it cost to craft it
  Mystery Dust: 12
  
  # The rarity of the item.
  # Rarity: Common, Rare, Epic, Legendary
  Rarity: Common

  # Is it enabled?
  Enabled: true
    
  # Can this item be found in mystery box?
  CanBeFound: true

  # Can player purchase this item?
  Purchasable: true

  # The lore of the item.
  Lore:
    Locked:
    - 'Display this lore if'
    - 'player have not unlock'
    - 'this item.'
    Unlocked:
    - 'Display this lore if'
    - 'player unlocked this item.'

Sounds

You can find a list with all the sound names here

Play-Sound:
  Enabled: true
  Sound: ENTITY_ENDERMAN_TELEPORT

Hex Color

You can implement hex color for display names and holograms in server versions 1.16 and later.
Syntax: {#<hex color>}

Examples
{#FFFFFF}, {#000000}

Name: '{#FC5383}GadgetsMenu'

Go to the top of the page