About
I am currently working on a whole suite of plugin development APIs, (the first of which you can see here) affectionately named "Blacksmith" (because blacksmiths make tools used by other professions 😉 (i'm so punny) )
The overall aims of the suite are a combination of abstracting away the awkwardnesses of plugin development, especially commonly performed tasks, and minimising plugin conflicts by providing helper functions that perform regularly conflicting actions in non-conflicting ways. (where possible)
I've already done a significant amount of work on some of the ideas i have, but i still have a long way to go!
Progress and plans
Started work:
Getting involved
I'd love some feedback on this project, any suggestions people think i've missed, as well as contributions to the code are all welcome! or even create your own modules! i'll link them all here to keep things together!
FAQ
Q: I'm a plugin author and i want to use these tools, how do i do that?
A: For a free project, just get stuck in. instructions for each plugin will be included in the topics for the individual plugins. But the main information you need to get started can be found in the BlacksmithPluginManager thread.
Q: Have you thought of X useful idea?
A: if it's not here, probably not! suggest it in the thread! or if you think you can make it yourself, get stuck in!
Q: Can i use these in my project?
A: If it's a free project, Absolutely! If you're charging for your project, i'll want to know a little more, so get in touch!
Special Thanks
None yet. But this will soon be a list of those who help out, wether it be with suggestions for new behaviours, code, or even testing when and where it's needed!
I am currently working on a whole suite of plugin development APIs, (the first of which you can see here) affectionately named "Blacksmith" (because blacksmiths make tools used by other professions 😉 (i'm so punny) )
The overall aims of the suite are a combination of abstracting away the awkwardnesses of plugin development, especially commonly performed tasks, and minimising plugin conflicts by providing helper functions that perform regularly conflicting actions in non-conflicting ways. (where possible)
I've already done a significant amount of work on some of the ideas i have, but i still have a long way to go!
Progress and plans
Started work:
- BlacksmithPluginManager - The heart of the Blacksmith suite, the cornerstone that the whole thing rests on. Provides dependancy management and loading for plugins, as well as a way to include plugins from remote sources
- Stable and released: https://forums.rpgmakerweb.com/index.php?threads/105933/
- BlacksmithHookManager - Provides useful functionality for hooking into core systems. including ways to unhook functions should you wish to remove your functionality.
- Stable and released: https://forums.rpgmakerweb.com/index.php?threads/106108/
- Status: Hooking of synchronous functions is working in a stable way, however i'm still hard at work getting a nice method for hooking asynchronous functions, and dealing with callbacks. probably about 75% to launch
- BlacksmithNoteParser - Will parse notes on the database in a consistent way, so multiple plugins can access notes on the same type. still in the outlining stages.
- WIP, not yet available
- status: Code outlined and basic handler functions have been written. Entirely untested and still in early development stages. still trying to decide on best format (JSON current working idea, but may want something simpler for end users) 25% to launch
- BlacksmithEventManager - i think i want a better name for this to prevent confusion with the RMMV concept of events as opposed to the programming concept.
- Core - will provide the basic functionality for registering event listeners and firing events. if you want to create your own event triggers and listeners in your plugin, this is what you'll need.
- Code done, waiting on a few submodules to be ready to upload to github, and release alongside. 99% to release
- System - will provide core events, things like game load & save, new game, game over, that sort of thing.
- A few events done, still working on a full list of events to support. 15% to release.
- Keyboard - aliases for browser key events, to make more consistent with other EventManager modules
- Events Done will be released alongside Core due to minimum utility without other event plugins to require consistency with
- More to come! - I'm still working out what event categories will need to be made and what wants to be grouped together to keep module size small. If all you care about is events that fire during battle, you don't want to be including a library of events that pertain to the world map and so on.
- Core - will provide the basic functionality for registering event listeners and firing events. if you want to create your own event triggers and listeners in your plugin, this is what you'll need.
- BlacksmithPluginCommands - create a neat way to register your plugin commands, as well as prevent overlap, by applying prefixes in the event of conflicts (and allowing commands to be accessed either prefixed or unprefixed both)
- BlacksmithUITools - Provide helper functions for UI manipulation and prevent conflicts if two plugins try to edit the ui in similar ways. I.E. adding menu items to the pause screen.
- BlacksmithNetworkTools - When dealing with networking, browsers do things in one way, and node does things another, this would provide normalised functions for tasks using both, for users wanting to provide both peer-to-peer networking over a LAN, or peer-to-server networking over the web. creating the underlying functions for multiplayer plugins, without limiting people to one manner of online connectivity (as specific plugins would do that)
- BlacksmithDebuggingHelper - a set of useful debugging and logging tools, designed to be slotted in during development, and removed after without causing bugs.
- More to come...
- None yet
Getting involved
I'd love some feedback on this project, any suggestions people think i've missed, as well as contributions to the code are all welcome! or even create your own modules! i'll link them all here to keep things together!
FAQ
Q: I'm a plugin author and i want to use these tools, how do i do that?
A: For a free project, just get stuck in. instructions for each plugin will be included in the topics for the individual plugins. But the main information you need to get started can be found in the BlacksmithPluginManager thread.
Q: Have you thought of X useful idea?
A: if it's not here, probably not! suggest it in the thread! or if you think you can make it yourself, get stuck in!
Q: Can i use these in my project?
A: If it's a free project, Absolutely! If you're charging for your project, i'll want to know a little more, so get in touch!
Special Thanks
None yet. But this will soon be a list of those who help out, wether it be with suggestions for new behaviours, code, or even testing when and where it's needed!