[SOLVED]How to export your plugin with the version in the title

Discussion in 'Plugin Development' started by jacklin213, Jun 19, 2012.

  1. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Someone may have ask this before and this maybe a dumb question but im new to this bukkitdev thingy how do you export your plugin with the version in the title because when i try doing it. It screwed up
  2. Offline

    Quackster

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What do you mean by title?
  3. Offline

    TheGreenGamerHD

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Title as in when you type /plugins ?

    Just make the name in the plugin.yml something like "MyCoolPluginV4"
  4. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    like the export title ur main class has to be the same as ur plugin title
    but my main class cant b this "Test 2.0"
  5. Offline

    TheGreenGamerHD

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Anything can be anything you want (usually)

    So you can have a project name: "Cool Plugins for NOOBS $"
    The main package could be called "Meow"
    And your main class could be called "main"
    Then in your plugin.yml you could do:
    name: Test 2.0
    description: Testing testing 2.0
    author: some guy
    main: Meow.main
  6. Offline

    Courier

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The package name and main class are completely unrelated from the "name".
    So basically...
    ...except package names should always be lowercase. Some things freak out when you try to use uppercase packages.
  7. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    yes but if i export a name which is differnt to my "main.java" file it screws up
  8. Offline

    TheGreenGamerHD

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can I see the exact error you are getting?

    And let me see how you're exporting
  9. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    im not at home right now but i will asap and i export all the files in the folder
    there are 3 files. 2 of them are the decimal point ones and the other one is plugin.yml
    and im exporting by right clicking the project and clicking export
  10. Offline

    r0306

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @jacklin213
    If it really isn't working for you, you could also just rename the JAR file to anything you want after you've exported and it wouldn't affect the actual code.

    This post has been edited 1 time. It was last edited by r0306 Jun 20, 2012.
    ZeusAllMighty11 likes this.
  11. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    if i do that and then put it in my plugin folder it wont work
  12. Online

    Lolmewn BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes it would. File name is completely unrelated to the plugin itself. I can rename worldedit.jar to herpderpSuperPlugin.jar, and it still would work.
  13. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    weird ill try it again
  14. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Lolmewn oic that fixed it thanks for ur help
    and ofc everyone elses

    This post has been edited 1 time. It was last edited by jacklin213 Jun 21, 2012.
  15. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    how do i marked as solved because it not in the ususal place
  16. Offline

    Courier

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    At the top of your thread click "Thread Tools" then "Edit Thread". Prepend your thread's name with "[SOLVED] ".

Share This Page