.yml tutorial help

Discussion in 'Spigot Plugin Help' started by jaopedropvp, Apr 20, 2017.

  1. Hi everyone, how can someone give me a base on how to create new .yml?
     
  2. Are you asking, how to have a plugin generate a .yml file?

    Or, how to edit a .yml file?
     
  3. I want to know how to create new .yml
     
  4. Create a new .txt file, save as, and replace .txt, with .yml?
     
  5. I just want to know how to create new .yml files
    For me to finish my plugin
     
  6. You're not too good at asking the question properly. Lol, hope Trigary helped.
     
    • Agree Agree x 1
  7. Sorry, I'm Brazilian and I'm using google translate
     
  8. Do you want to create a config file? The plugin.yml?
    This is how you create a new file (with the yml extension): "new File (getDataFolder () + File.separator + "something.yml").createNewFile ();"
    But you won't be able to do much with it like this, please specify what you want to use it for.
     

  9. yes, " new File (getDataFolder () + File.separator + "something.yml").createNewFile (); "
    I just want to create a file for messages
     
  10. I see, sorry if I came off as a jerk. Best of luck on your plugin, what is it by the way?