Solved Detect the section of a datafile

Discussion in 'Spigot Help' started by PabloGamer380YT, Apr 29, 2017.

  1. Hello, I've been trying to make a code to detect a thick section of a DataFile file, what I need is to identify what is in this example section

    spawn: Spawn

    What I need is to identify the section where it says "Spawn"

    I have this code but I can not make it work

  2. That's partial code that references things you didn't include. It's very difficult to see what the code is actually doing when we don't know what half your variables are or what they're meant to be used for.

    Also, comments are great and you should add them; anyone you help will be thankful right away, and you'll be thankful in 6 months when you need to fix something and have forgotten how everything works.
  3. Thanks for the advice of the annotations, start using it and I have already found a solution to my problem!