Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

config.yml tutorial

Ahmad Fathan edited this page Apr 3, 2019 · 1 revision

Index of Contents:

  • config.yml basic value (Will be updated when there's some changes)
  • Function of each key
  • Creating your own player-setting value

config.yml basic value

prefix: '&8( &aDiaMail &8)'
global-language: en-US.yml
check-update: true
player-setting:
  language: en-US.yml
  notification-display: Message
  notification-sound: true
  inventory-interact-sound: true
  checking-mailbox-interval: 600
player-setting-values:
  language: TEXT
  notification-display:
  - Message
  - Actionbar
  - Title
  - None
  notification-sound:
  - true
  - false
  inventory-interact-sound:
  - true
  - false
  checking-mailbox-interval: NUMBER
settings:
  notification-default: BLOCK_NOTE_BLOCK_PLING-1-1
  notification-check: BLOCK_ENCHANTMENT_TABLE_USE-1-1
  notification-mail-delete: BLOCK_NOTE_BLOCK_BASS-1-1
  notification-mail-send: ENTITY_EXPERIENCE_ORB_PICKUP-1-1
  notification-mail-block: UI_BUTTON_CLICK-1-1
  inventory-interact-sound: BLOCK_TRIPWIRE_CLICK_ON-1-1

Function of Each Key

Key Description Default value
prefix Prefixes of every message &8( &aDiaMail &8)
global-language Set the default language file en-US.yml
check-update When admin join, the will be notified the update true
player-setting Set default value when player firstly join the server after DiaMail installed -
player-setting-values Set the default values type or list for player-setting -
settings Global setting, currently only contains sound list -

Clone this wiki locally