[MECH] 3DCore Library

Discussion in 'WIP and Development Status' started by jtripled, Jul 3, 2011.

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

    jtripled

    Specifically with Advancement, no. But! I have made a lot of progress with some other code that in the end will help me greatly when it comes time for Advancement. :)
     
  2. Offline

    gameswereus

    Does that mean you are making multiple plugins? :p
     
  3. Offline

    jtripled

    Indeed I am!
     
  4. Offline

    gameswereus

    I know this is probably getting pesty, but how goes the coding?
     
  5. Offline

    jtripled

    It's not a problem, I know I'm probably too stingy reporting my progress. :p

    I'm doing well over here on the coding end. Still working on my plugin infrastructure though. I don't want to begin on the heavy coding until I have it all perfect! So first, certain things will need to be done. Today, I created and finished up an economy support system for BOSE and iConomy, whichever you choose, and I'm about to build a chat/sign command system.

    I am sorry to tell you guys that my mods will from this point on require an extra library I've named "3DCore." It works just like a plugin and I will bundle the latest version with every download of my mods as to avoid causing users too much trouble. Believe me though, it will make your experience with any mods I will make so much better. Not only that, but it allows for me to push out plugins a whole lot faster. I hope this doesn't worry anybody!

    jtripled
     
  6. Offline

    loganwm

    Out of curiousity, jtripled, what functionality does 3DCore provide? I might be able to help you remove that dependency in a cleanly way.
     
  7. Offline

    jtripled

    I would love to remove it, but I made it to avoid redundancy in my code. I could easily just copy/paste/refactor my infrastructure for each plugin, but I believe that method of doing things was very wasteful and possibly more demanding. All it does is provide a core "plugin" with access to standardized economy, command, permission, config, localization, chat and regioning systems, rather than creating these systems per plugin. It also makes my plugins independent of the user's choice of plugin for each system. For instance, my individual plugins don't care if you use Permissions the old way or with "SuperPerms." It's all treated the same.
     
  8. Offline

    loganwm

    If you're using Eclipse or some other IDE worth its salt, you could just create a separate project that is your core library and import it into each project that you write, this way, you can guarantee that whatever version of the core library is compiled in the plugin jar is compatible with the actual functional plugin.

    If you simply include the 3DCore jar with each other your plugins are an external jar, you'll likely hit an issue eventually with multiple versions of the jar floating around with broken compatibilities.
     
  9. Offline

    jtripled

    Well, the problem I see is that it still is a plugin, as in, it still has a main plugin class defined in the plugin.yml. It's not some static library I just get methods from. I'm not sure if I could make it work that way, either. Perhaps you would have some insight in to how that would be possible. I could post the source up on GitHub later today if you wouldn't mind taking a look at it.
     
  10. Offline

    loganwm

    I would be more than glad to help out.
     
  11. Offline

    gameswereus

    Thanks for the update
     
  12. Offline

    jtripled

    Awesome, I'll send you a link when I've posted it.
     
  13. Offline

    Le PHeel

    I've been following both "Advancement" and the "Heroes" RPG class plugins for a while. Both of them seem to cater to what I am interested in for my RPG server, although I seem to be leaning more towards Advancement as it seems more in depth. However, "Heroes" will (hopefully) be available in the next few days. I plan on launching my server into full RP in the next couple of weeks. I was wondering if there was an ETA on when this plugin would be available for use?
     
  14. Offline

    RugRats

    A few weeks. He may beable to give you some sort of beta build I don't know.
     
  15. Offline

    jtripled

    @Le PHeel

    Yep, @RugRats is right, I'm not actively developing Advancement at the moment, but the plan is to get to it as soon as possible. A few weeks is a good guess on when I could push out a playable build.
     
  16. Offline

    gameswereus

    How is the work on the "core" plugin?
     
  17. Offline

    jtripled

    @gameswereus

    So far so good, unfortunately I wasn't able to include it in all my plugins to avoid people having to download it, but using it shouldn't cause anybody any trouble, and as a matter of fact, it should make your lives much easier if you use and sort of economy or permissions or the like. It also provides central configuration for all of my plugins, which is really nice.
     
  18. Offline

    gameswereus

    Bother, bother, bother :p
     
  19. Offline

    bartsmit41

    This is cool can't wait till it's done I'm defiantly Connaught use it on my server!
     
  20. Offline

    jtripled

    Update for you guys:

    I decided that I didn't want to make you install 3DCore and keep it up to date with no benefit besides being able to use my plugins. So... 3DCore now has built-in permissions that functions much like PermissionsBukkit but with more functionality. If you choose not to use it, so be it, it will not affect performance at all if you don't use it, as it is not ever even loaded if you have it off. Similarily, I have an economy in the works for it to use as well.

    Your config has options like this:

    economy:
    use: true​
    major: dollar​
    minor: cent​
    ...​

    permissions:
    use: true​

    Say you like the original permissions plugin, you just install it like normal and set permissions.use to true. Now all 3DCore plugins will use Permissions (Nijikokun). However, if you have no permissions plugins installed and you still want to use permissions, just set permissions.use to true and it will use 3DCore permissions with 3DCore commands. These permissions will work with anything that supports "SuperPerms".

    Same goes with the economy plugins, you can use iConomy or BOSE but if you say to use economy and there are none installed it uses 3DCore economy (once again, no performance hit if you don't use it). Both built-in things are there simply to reduce the amount of plugins you must use and keep everything centralized.

    I have also set up SQLite and MySQL support for any data 3DCore plugins will be using. SQLite will require no setup by the user and is the standard way it will store data. MySQL is, of course, for the users with a MySQL server who would like to use it instead.

    Also, with @Le PHeel 's help, I have some new functionality going into 3DCore -- "profiles." Much like everything else I do, it is not required, but will greatly enhance your experience with my plugins. It will add multi-profile play to each player's account, meaning they could have one profile that is a Barbarian in Advancement and another that is a Wizard. They would both level up on their own and their data would be separate. They would also have their own "profile names." This functionality would extend to all of my plugins that would have use for it. Server admins can also limit the amount of profiles a player has.

    Supported Permissions:
    - Permissions (Nijikokun)
    - Any "SuperPerms" plugin (example: PermissionsBukkit)
    - BasicPermissions (3DCore permissions -- uses "SuperPerms")
    - OP Status (if permissions.use if false)

    Supported Economies:
    - iConomy
    - BOSEconomy
    - BasicEconomy (3DCore economy)
    - No Economy (if economy.use is false)
     
  21. Offline

    RugRats

    Woohoo! An update :D
     
  22. Offline

    Mountainmon

    Looks like you're planning to take on the big dogs, jtripled! Good stuff, can't wait till it all gets released :D
     
  23. Offline

    jtripled

    Large first post update. You've probably heard a lot of it, but there's new stuff.
     
  24. Offline

    RugRats

    Progress update?
     
  25. Offline

    jtripled

    Lately, I've been fascinating myself with this here maven thing... Got a little derailed from writing code. I've got my dad bothering me to write his minecart plugin for the server, and I've got school starting up... Buhhh... I'll send you a message though with what's going on, to avoid making any hype over anything (assuming anyone even cares :p).
     
  26. Offline

    RugRats

    I care lol. We'll you keep doing what your doing.. I'm interested in what you can bring to the community so I fully-support your ideas :)
     
  27. Offline

    gameswereus

    How close to finishing is this core plugin? Badly worded, I know!

    How close to finishing is this core plugin? Badly worded, I know!

    WHOOPS! double posted :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
Thread Status:
Not open for further replies.

Share This Page