Best format for bukkit plugin codes?

Discussion in 'Bukkit Discussion' started by RcExtract, May 21, 2017.

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

    RcExtract

    Is it better to create a ton of methods and use them in your plugin, or simply code what the methods about in your plugin?
     
  2. Offline

    timtower Administrator Administrator Moderator

    @RcExtract My preference would be to keep the plugin minimal.
     
  3. Offline

    RcExtract

    I found that if those methods are created and used in plugin, actually an API is created. But a lot of errors come out (perhaps I am bad at coding), but there is no error when the original plugin is first coded, which doesn't use the methods.
     
  4. Offline

    timtower Administrator Administrator Moderator

    @RcExtract An API is dumb, it doesn't do anything on its own (a good API at least)
    Chances are that you are getting ClassNotFound or MethodNotFound exceptions.
    But then you can look at the fact that I have no idea what you did.
     
  5. Offline

    mccrafter1212

    I would personally just code the methods I know for sure I'm using in the plugin. As development continues, I'd create any methods that previously weren't created.
     
Thread Status:
Not open for further replies.

Share This Page