Skip to content

Class configuration

James Wang edited this page Aug 6, 2020 · 3 revisions

Classes can be configured in classes.yml. Classes can be created through classchests (/wp classchest set <class name>) or by specifying the items manually.

Sample class config:

classes:
  class1:
    items:
      0:
        type: wooden_sword
        enchants:
          - unbreaking:1
          - flame:3
        lore:
          - "Idk what to put here"
      1:
        type: arrow
        amount: 64
    leggings:
      type: leather_leggings
      name: Jorts
      color: 00FFFF
  ranger:
    items:
      0:
        type: bow
      1:
        type: arrow
        amount: 64
    chestplate:
      type: chainmail_chestplate
  tank:
    items:
      0:
        type: wooden_sword
    chestplate:
      type: diamond_chestplate
    leggings:
      type: diamond_leggings
    boots:
      type: diamond_boots

Clone this wiki locally