Solved config text

Discussion in 'Plugin Development' started by zakkinu2, Jun 10, 2014.

Thread Status:
Not open for further replies.
  1. Offline


    If in your config.yml on eclipse you have a line like:
    That is a text so it decides to ignore it. How can i copy that and like blank spaces to the plugin folder config. Basically how can i just copy the config.yml exactly
  2. Offline


    Don't really understand what you're saying, but if you want the default config.yml to be written if it does not exist, put in saveDefaultConfig(); in your onEnable.
  3. Offline


    Instead of using the normal bukkit yml functionality you can approach this like normal java and write directly to a file called "config.yml." If you want to pursue java past bukkit definitely learning file reading and writing. But this is also the way to get things such as commented lines in a yml

    Forgot to reply/tag you so heres the tag!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 8, 2016
  4. Lorinthio You can edit the post and it will alert them if you add a tag
  5. Offline


    The way you worded this, it doesn't sound like a Bukkit problem... It sounds like you don't know what the copy and paste functions do. :p
Thread Status:
Not open for further replies.

Share This Page