Solved Config Clarification

Discussion in 'Plugin Development' started by TGRHavoc, Sep 10, 2014.

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

    TGRHavoc

    So, I was recently browsing GitHub and looking at some other developers' work when I stumbled apon a weird looking config. I was wondering if someone could clarify what the values represent. Does using these variables in the config.yml mean that you don't have to change it when you decide to change something to do with the plugin (e.g. Plugin name, Version) or are they just placeholders?
    Code:
    name: ${name}
    version: ${version}
    description: ${description}
    website: ${url}
    main: ${plugin.mainClass}
    prefix: ${plugin.prefix}
     
  2. TGRHavoc These are variables. It's how Maven does it - I'm not sure about other dependency managers, but Maven definitely works this way.
     
    TGRHavoc likes this.
  3. Offline

    TGRHavoc

    AdamQpzm
    Ah, thanks for the clarification. I've never used Marven before... Is it any good?
     
    AdamQpzm likes this.
  4. TGRHavoc Makes things easier, in my opinion. :)
     
    TGRHavoc likes this.
Thread Status:
Not open for further replies.

Share This Page