MDCore - Global Core Plugin

Discussion in 'Resources' started by MasterDoctor, Sep 4, 2014.

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

    MasterDoctor

    So what is MDCore?
    MDCore is an API/Core Plugin. It is a Moderated Open-Source Bukkit API/Core Plugin.
    I have basically designed it for people who need a Core plugin for their plugin to rely on. Also anyone can add features.

    How do I add features to MDCore?
    YOU MUST INCLUDE YOUR BUKKIT DEV USERNAME IN YOUR FORK'S README.MD FILE.
    Most Information about this is posted on the github page. Basically you fork the project and every now and again I will check the project. It would really help if you told me when to check your project in the readme.md file.
    If I think the features are okay, I will add them into MDCore and let you know.
    I will then give you a reasonable % of the plugin credit on the project.
    Check back here as the github access link may change.
    The github page is here:
    https://github.com/masterdoctor/MDCore/

    Where can I download MDCore?
    Server Admins:


    Download Links are coming soon as the project is under way...
    Current Plugin Status:
    >The project is waiting to be approved
    >Files will be uploaded shortly.

    You can check up on progress here:
    http://dev.bukkit.org/bukkit-plugins/mdcore/

    How do I implement MDCore?
    Developers:
    NOTE: Server Admin's - DO NOT USE THESE FILES!!! - THEY WILL ONLY WORK FOR DEVELOPMENT USE.
    Java Project:
    I am uploading the jar to Jenkins, A download link will be put here shortly.
    Import the file as you would with Bukkit.
    Maven Project:
    Maven support is currently not included. I am working on it...
     
  2. Offline

    Hugs

    I like the overall idea, but it would need a lot of work to actually be usable I think. It looks like you're just starting to code with Bukkit (or Java even), so as a learning experience for you I cleaned up your main class so you can see how much cleaner it can get (link here). Good start though, keep learning and growing!
     
  3. Offline

    Bammerbom

    MasterDoctor
    #RIP BUKKIT
    (Almost) no admins left so your project probarly wont be aproved.
     
    MasterDoctor likes this.
  4. Offline

    MasterDoctor

    :mad:DAMMIT
     
  5. Offline

    MasterDoctor

    Thanks Very Much! I will add you to the Project Credit!

    Can we try embedding your project (Ultimate Core) into my core, thus we will be a bunch of steps closer to making a Core that has pretty much all the API's - It would be so much better for all the Server Admins!

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

    eyamaz

    moved to resources. This is not a tool.
     
  7. Offline

    Skyost

  8. Offline

    Skionz

    How is an api not a tool?
    A tool is defined as:
    Code:
    a device or implement, especially one held in the hand, used to carry out a particular function.
    You may not hold the API in your hand but each method is used to carry out a particular function.
     
  9. Offline

    eyamaz

    Additional APIs and libs belong in resources. If you read the header on Tools it specifically states "Find all your Bukkit related tools that aren't plugins here!"
     
  10. Offline

    Goblom

    This isnt even a resource... It something people should use as a guideline to do the exact opposite
     
  11. Offline

    zombiekiller753

    newFile("./MDStore/Configs");

    wut?

    How about us Windows folk?
     
  12. Offline

    turt2live Retired Staff

    What about the Windows people? There is nothing programmatically wrong.
     
    CaptainBern likes this.
  13. Offline

    skyrimfan1

    turt2live

    new File(".\MDStore\Configs");


    Goddamn Microsoft.

    Edit:
    If you really wanted to support all OS's you could use:

    Code:
    String separator = File.separator;
     
    new File("."+separator+"MDStore"+separator+"Configs")
     
  14. Offline

    turt2live Retired Staff

    It's still valid on Windows, just not recommended.
     
  15. Offline

    RawCode

    This *plugin* or *API* is complete trash.

    ever vegetable can write methods to read file from disk and dont need any assistance for this.
     
    skyrimfan1, rbrick and Goblom like this.
  16. Offline

    zombiekiller753

    turt2live
    Maybe I have it the other way around, but if it wasn't Linux to Windows that messes stuff up, it was Windows to Linux. One of those two makes directories that can't be deleted
     
  17. Offline

    MineStein

    RawCode There is absolutely no reason for you to bash him for trying to create a tool for us to use. Maybe some people will find this useful.

    You don't account for everybody.
     
    MasterDoctor likes this.
  18. Offline

    RawCode

    he should create tool before posting it.

    current implementation is "how improperly use native JRE FSIO"
     
  19. Offline

    xTrollxDudex

    RawCode implementation: Unsafe -> Find file system location for disc -> Write raw bytes
     
  20. Offline

    RawCode

    my stuff about unsafe atleast *reveal* something undocumented and not explained by ever java for dummies.
     
  21. Offline

    MasterDoctor

    eyamaz Sorry and thanks for moving the thread.

    turt2live skyrimfan1 It works on my PC, I tested it on my PC

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

    Hugs

    For those bashing, yes, it's not an optimal setup, but he's clearly still learning the ropes of programming and if you bothered to post you should have given him advice instead of rude remarks. As for the paths, "./path/to/file" works fine in windows and linux and is much cleaner than File.seperator.
     
  23. Offline

    RawCode

    buthurt? MasterDoctor

    I wont waste my time on this thread, healthy developers dont need any "approval" from you or anyone else.

    My final "lesson" to you:

    Please explain for what reason i (or anyone else, or ever you) should move part of his code into "3rd party" "core plugin" (do you ever know what code plugin means?) .

    Probably there is some "arcane" reason for arbitrary dependancy on random noobs who may trash your code for no reason, since "core plugin" is "moderated" by completely unstable "looks like developer"?

    Probably there is some "greater good" in moving one step closer to jarhell by adding arbitrary jar without any signs of version control into your project?
     
    rbrick likes this.
Thread Status:
Not open for further replies.

Share This Page