Solved Lost plugin.yml, need to recover from jar

Discussion in 'Plugin Development' started by Alshain01, Sep 30, 2013.

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

    Alshain01

    So somehow when transferring my project to Github I lost the yml files. Fortunately the real complicated ones get .saveDefaultConfig() treatment so that was easy enough to recover from the release, but plugin.yml is still lost and I'm wondering if there is a way to pull it out of the jar?

    If not, rebuilding it isn't that big of a deal for this plugin, but it would be nice not to have to remember all of it.

    Thanks!

    Nevermind, WinRAR to the rescue!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 4, 2016
  2. Offline

    nrs23

    Just something that might help you in general Plugin Development is JD-GUI, it allows you to decomplie plugins and view the source code, handy as hell if you've accidentally corrupted a plugin but have a saved working version of it and need to recover the code. Saved my ass more times than I can count.
     
    KingFaris11 likes this.
  3. Offline

    Alshain01

    Thanks, but hopefully with Github that won't be necessary.
     
Thread Status:
Not open for further replies.

Share This Page