Configuration Element

In this page you will learn how to set up and create configuration element that is required to configure the plugin configuration.

Map of #

Basically, a map that contains fields

example map:
    example field1: example value
    example field2:
    - example value2
    - example value3
    another map:
        example field3: test value

List of #

A list, contains anything.

example list:
- single value
- map inside list: value1
  map inside list2: value2
  example field 4: value4
- - list inside list
  - second value of the list inside list

Set of #

A list, that only contains Map

example set:
- element1: value
  data: test
- element2: value2
  data: test2

ItemStack

More info, see here: https://www.spigotmc.org/wiki/itemstack-serialization/

Example Item:
    type: POLISHED_ANDESITE
    amount: 1
    meta:
        display-name: 'My Polished Andesite'
        lore:
        - 'This is mine'

Vector

A map that contains 3 set of fields

example vector:
    x: 0
    y: 0
    z: 0

Last updated