name: Bug Report
description: Report a bug or console error
labels: [Unconfirmed]

body:
  - type: markdown
    attributes:
      value: |
        **Before reporting a bug, please see if using master/dev builds from https://ci.viaversion.com/ fixes your issue.**
        Whenever you see fit, you can upload images or videos to any of the text fields.

  - type: input
    attributes:
      label: "`/viaversion dump` Output"
      description: |
        Run `/viaversion dump` in the console or in the chat, then copy and paste the given link here.
      placeholder: |
        https://dump.viaversion.com/...
    validations:
      required: true

  - type: textarea
    attributes:
      label: Console Error
      description: |
        If you encounter warnings/errors in your console, **paste them with https://mclo.gs/ and put the paste link here**.
        If the error is small/less than 10 lines, you may put it directly into this field.
      value: |
        ```
        Put the mclo.gs link or text here.
        ```
      placeholder: Please do not remove the grave accents; simply replace the line of text in the middle.
    validations:
      required: false

  - type: textarea
    attributes:
      label: Bug Description
      description: |
        Describe the unexpected behavior.
        If you want to attach screenshots, use the comment field at the bottom of the page.
      placeholder: |
        Example: "Placing signs on 1.13.2 causes text to disappear."
    validations:
      required: true

  - type: textarea
    attributes:
      label: Steps to Reproduce
      description: |
        List the steps on how we can reproduce the issue. Make sure we can easily understand what you mean with each step.
      placeholder: |
        Example:
        1. Login with a 1.13.2 client
        2. Place a sign
        3. The sign text is displayed wrong
    validations:
      required: true

  - type: textarea
    attributes:
      label: Expected Behavior
      description: |
        Describe what exactly you expected to happen.
      placeholder: |
        Example: "Placed sign text should not disappear."
    validations:
      required: true

  - type: textarea
    attributes:
      label: Additional Server Info
      description: |
        Do you use a proxy (e.g. BungeeCord)? What software do you use and what plugins?
      placeholder: |
        Example: "I also use BungeeCord with the following plugins: x, y, z"
    validations:
      required: false

  - type: checkboxes
    attributes:
      label: Checklist
      description: Make sure you have followed each of the steps outlined here.
      options:
        - label: Via plugins are only running on **EITHER** the backend servers (e.g. Paper) **OR** the proxy (e.g. BungeeCord), **not on both**.
          required: true
        - label: I have included a ViaVersion dump.
          required: true
        - label: If applicable, I have included a paste (**not a screenshot**) of the error.
          required: true
        - label: I have tried the latest build(s) from https://ci.viaversion.com/ and the issue still persists.
          required: true
