1.9 Plugins 15 ~ Custom .yml files
3,573
Published 2016-07-19
I no longer have a Discord account, but you can email me at [email protected]
Spigot Javadocs: hub.spigotmc.org/javadocs/spi...
Bukkit JavaDocs: hub.spigotmc.org/javadocs/buk...
I keep my good plugins to myself, like PaintBall, Spleef, etc. I might release them later. ;) For now, here are the plugins I do have released!
www.spigotmc.org/resources/authors/bluebukkitdev.6…
All Comments (7)
-
Literally only video on youtube to tell me straight up how to do this, thank you so much!
-
I find the easiest way to do this is in a seperate class (as you should do lol) and put this code: public void create() { data = new File(plugin.getDataFolder(), "data.yml"); if (!data.exists()) { try { data.createNewFile(); } catch(Exception e) { e.printStackTrace(); } } } which you DO NOT have to create the file at all, it is done for you. and I think it is a much cleaner and efficient method also. Nice vid!!
-
Thank you sir
-
thanks for the video :D nice code
-
ty for the tutorial :)
-
Can you start posting pastebins please =)