Config header

Discussion in 'Plugin Development' started by plarsootje, Jun 23, 2012.

  1. Offline

    plarsootje

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How can i get a header between 2 strings?
  2. Offline

    plarsootje

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    can someone help me
  3. Offline

    ferrybig

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  4. Offline

    EnvisionRed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you don't want a line to be seen as YAML, just put a "#" at the beginning of it.
  5. Offline

    Dreeass

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    He wants it between 2 strings which isn't possible.

    This post has been edited 1 time. It was last edited by Dreeass Jun 26, 2012.
  6. Offline

    EnvisionRed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh, no that's not possible.
  7. Offline

    plarsootje

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    and is there a way that i place something between 2 strings that stands there for information
  8. Offline

    ferrybig

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    it may what hacky solution, but write the config from the file to the disk by your own, whit the correct headers
  9. Offline

    andreasabe

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just a question. The variables inside the config.yml will always be in the same order??? I have a solution, after saving the file use a method to switch the lines.

Share This Page