Current Template

Discussion in 'Resources' started by RightLegRed, Jan 17, 2011.

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


    Imports might be a bit weird. It's up to date as far as I know. I'll be keeping it updated.

    The template is fairly easy to use.
    This was made because the ever changing builds, while the team are good at keeping us updated, they are not superhuman. Also, I hope this will solve the confusion that people get when they try to use a program that builds a folder structure and the files for you.

    - EDIT
    Template maker added

    Attached Files:

  2. Offline


    Haha im a newb :D!!! I have no idea what this stuff means but im sure its good keep up the good work :D
  3. Offline


    Should be sticky!
    Is worth [​IMG] when you're a n00b. I lost hours to find out it wasn't my fault thousands of errors popped up [​IMG]
  4. Offline


    Thanks for the feedback. I'll be updating soon. I plan to write a tutorial at some point. It'll be included with this.
  5. Offline


    Could you help me abit ? Im having a problem with my plugin i use all your code (i use netbeans) i put it in a package called com.bukkit.Logon.Whitelist and i put plugin.yml outside it i still get alot of error

    2011-jan-19 13:22:13 org.bukkit.plugin.SimplePluginManager loadPlugins
    ALLVARLIG: Could not load plugins\Whitelist.jar in plugins: null
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(
            at net.minecraft.server.MinecraftServer.e(
            at net.minecraft.server.MinecraftServer.c(
            at net.minecraft.server.MinecraftServer.d(
    Caused by: java.lang.ClassNotFoundException: com.bukkit.Logon.Whitelist
            at$ Source)
            at Method)
            at Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            ... 8 more
  6. Offline


    Post your yml
  7. Offline


    I can't believe that I tried for hours to make my plugin working and am now seeing the solution in your template...
    Most likely I'm not the only one who made this mistake in the plugin.yml:

    name: <PluginName>
    main: com.bukkit.<Your Name>.<PluginName>.<PluginName>
    version: <versionnumber>

    The second mention of the plugin name is essential. Doesn't make much sense to me at the moment but it works now.
  8. Offline


    the yml is dependent on the file structure.

    com.bukkit.<username>.<filefoldername>.<javafilename> is probably a more appropriate way of putting it.
  9. Offline


    That would be like making two different String variables for the same string. It's also stops people from naming it incorrectly.
  10. Offline


    it was a way to let people understand why they are having issues with the yml. "Incorrectly" is purely opinion as it works. (at least for me)
  11. Offline


    If I were to tell you I had a bucket and liquid holder, what would you think I had? Because most people would think a bucket AND something else that holds liquid (e.g. cup)

    Calling something by another name, when it is the same thing, confuses people into thinking you have 2 different things.

    Bat file template maker and folder structure constructor. Just do what it asks and it'll construct everything for you.

    Added to the first post.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 6, 2016
  12. Offline


    Is this still current and useful? Just wondering since it's been a bit...

    (with the all the new updates...)
  13. Offline


    It still works. But I'd recommend using AutoPlate, found in a different thread. It's a bit more useful :p
  14. Offline

    Stephen A.

    I used this, tired autoplate, extracted it and everything, it just said cant find C:/Documents a few times and said press any key to continue, and when i did, it stopped.> It did this several times, but this awesome template here works. :)
  15. Offline


    Here's my updated edit, with some formatting fixes.

    Also removed the usage of the com.bukkit namespace :x

    Attached Files:

    Last edited by a moderator: May 6, 2016
  16. Offline


    I'm sorry, I'm retarded, when it asks for versionnumber what are we supposed to input?
  17. Offline


    You put in the version number of you plugin. It will most likely be 0.1, but you can put in whatever you want.
Thread Status:
Not open for further replies.

Share This Page