Package a lang config with jar

Discussion in 'Plugin Development' started by hubeb, Jul 22, 2013.

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

    hubeb

    Hello I am wondering how I can package a language.yml file within my jar, and when the jar is run it will extract the language.yml to /plugins/<pluginname>/language/.

    Any help would be appreciated,

    Thanks
    Hubeb (Min3CraftDud3)
     
  2. Offline

    Tirelessly

  3. Offline

    hubeb

    Tirelessly
    This honestly doesn't help me, i need to know how to package a separate file and then copy it into a specific directory.
     
  4. Offline

    SnipsRevival

    hubeb that should, in fact, help you. Read Implementation for Defaults.
     
  5. Offline

    hubeb

    SnipsRevival Tirelessly
    so i put the language file in /resources and then use saveResources("/resources/file.yml", false); ?
     
Thread Status:
Not open for further replies.

Share This Page