Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Help' started by jaopedropvp, Apr 20, 2017.
Hi everyone, how can someone give me a base on how to create new .yml?
Are you asking, how to have a plugin generate a .yml file?
Or, how to edit a .yml file?
I want to know how to create new .yml
Create a new .txt file, save as, and replace .txt, with .yml?
I just want to know how to create new .yml files
For me to finish my plugin
Go to "Creating a blank plugin" and select your IDE.
You're not too good at asking the question properly. Lol, hope Trigary helped.
Thanks, but no and I want to create new .yml
In java code
Sorry, I'm Brazilian and I'm using google translate
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.
yes, " new File (getDataFolder () + File.separator + "something.yml").createNewFile (); "
I just want to create a file for messages
I see, sorry if I came off as a jerk. Best of luck on your plugin, what is it by the way?