🎯
FancyWaystones
  • Fancy Waystones
    • Players Guide
    • Admins Guide
    • Installation
    • Configuration Element
    • Customize Waystone
    • Conditions and Criterias
    • Customize Waypoints
    • Customize Warpstone
    • Item Economy
    • Custom Models
    • Customizing Particles
    • API
    • Plugin Integration
    • Custom Structure
Powered by GitBook
On this page
  • Map of #
  • List of #
  • Set of #
  • ItemStack
  • Vector
  1. Fancy Waystones

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

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
PreviousInstallationNextCustomize Waystone

Last updated 2 years ago

More info, see here:

https://www.spigotmc.org/wiki/itemstack-serialization/