[Third-Party Tool] DTM's Toolkit - Plugin Architect (v1.1.0)

Started by Drop The Mag on

Topic category: Plugins and third-party tools

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Third-Party Tool] DTM's Toolkit - Plugin Architect (v1.1.0)
Sun, 09/13/2020 - 01:04 (edited)

DTM's Toolkit - Plugin Architect:


Downloads:


Version 1.1.0 - For Windows:

  • Complete UI overhaul...and DARK MODE (see screenshots below)!
  • Added brand new "main menu" screen as an entry point to all the plugin creation tools.
  • Improved window load times and graphic flicker.
  • Custom generators are now automatically added and selected if found within the imported plugin.
  • Added some backend checks and balances.
  • Update window icons and titles.

Version 1.1.0 of DTM's Toolkit - Plugin Architect completely alters the layout of the original UI. Brand new UI, brand new colors, brand new menu (and a sneak peak of what's to come later on...). Load times have improved drastically, some more failsafes were put in place, and custom generators folders are now imported when importing a plugin!

If you do use my program, please report any bugs or issues you find, any crashes you encounter, anything at all. I know there will be bugs and crashes that happen, so don't hesitate to let me know and get mad at me if you lose progress due to them. Always generate your plugin every so often so you'll always have a back up in case anything happens. In the next couple of updates, I'll work on adding an auto-backup feature!


Version 1.0.4 - For Windows:

  • Added small color guide to procedure block editor.
  • Complete backend rework and optimization. Nearly halved the previous total code. :P
  • Fixed a bug during category file parsing.
  • Optimized all import options; must faster, much cleaner, much better.
  • Added the ability to organize dropdown values using up and down buttons!

Version 1.0.4 of DTM's Toolkit - Plugin Architect is a complete optimization of the original program's backend. The code has been severely optimized, useless code has been removed, more issues have been fixed, and a few new features were added!


Version 1.0.3 - For Windows:

  • Added the ability to restart the entire workspace without closing the program.
  • Fixed an issue when parsing categories on plugin imports.
  • If a category does not have a name assigned during an import, it will not be assigned.
  • Added error catching during procedure block parsing.
  • Fixed another issue when parsing "inputsInline" within procedure files.
  • Updated some text.
  • Fixed another issue that had to do with parsing category imports.
  • Increased plugin import compatibility due to different techniques used by plugin developers.

Version 1.0.3 of DTM's Toolkit - Plugin Architect is just a quick hotfix to some crucial errors and crashes that could occur when importing and parsing premade plugins and procedures.


Version 1.0.2 - For Windows:

  • Added ability to import an entire procedures folder (.json).
  • Added ability to import an entire plugin's files (by selecting the main folder).
  • Added ability to import an entire plugin's files (be selecting its zip file).
  • Imports all aitasks, procedures, categories, and plugin files within a plugin folder.
  • Fixed slight bug when reading and parsing procedure block type.
  • Fixed an issue when reading procedure file names that included underscore characters.
  • Fixed an issue where duplicated procedures' arguments were linked together.
  • Fixed an issue where duplicated procedures' dependencies were linked together.
  • Fixed an issue where duplciated procedures' extensions were linked together.
  • Fixed an issue where duplicated procedures' field dropdowns were linked together.
  • Optimized procedure duplication function and updated its naming conventions.
  • When importing, procedure file names are now exact, rather than split by an underscore (dumb mistake).
  • Completely redesigned how categories work.
  • Added brand new category list view to main screen.
  • Added ability to add and remove categories.
  • Multiple procedure categories can now be created.
  • Each procedure can now be assigned to any of the selected categories (either default or user created).
  • All user created category files are now automatically generated.
  • When procedures are imported, if the category it was assigned is available in your workspace, it will automatically assign itself to it.
  • If an entire plugin is imported, all procedures will automatically reassign themselves to the categories provided within the plugin imported (if available).
  • When importing a procedure, any generators found will be automatically checked within the workspace if they're readily available.

Version 1.0.2 of DTM's Toolkit - Plugin Architect brings one of the best features yet, the ability to import an entire plugin! Using the new buttons on the left side of the main screen, you can now import an entire plugin into your workspace, either by selecting its zipped archive, or a folder full of the files. This version also includes tons of bug fixes, and a brand new category feature as well (where you can make multiple categories or select premade ones for your procedures)!


Version 1.0.1 - For Windows:

  • Fixed fatal crash due to a pesky uppercase letter in "inputsInline".
  • Added the ability to duplicate procedures.
  • Added the ability to import a premade plugin.json.
  • Fixed crash during procedure imports.
  • Found a comma who decided to run away from a string.
  • Auto-creates a folder with the specified plugin name and places all files within it.
  • Now automatically zips your files in to a plugin and places it next to the folder.
  • Added the ability to create AI Task blocks.
  • Automatically now creates the "aitasks" and "procedures" folders depending on block type.
  • Creates "aitasks" and "procedures" for both the plugin and generators.
  • To use "aitasks", you must set your own category and ID in the ".json" as of the moment, by hand.
  • Added custom category selector for each individual procedure block (currently does NOT have functionality).
  • Added the ability to choose whether or not you want to append your plugin ID to the beginning of each procedure file name (thanks, Goldorion!). 

Version 1.0.1 of DTM's Toolkit - Plugin Architect aims to update and fix many issues from the first build, as well as add some essentials functions and tools to help better develop the plugins you want to...and a big thanks to Goldorion for helping me understand the brand new naming conventions (and creating a toggle for appending the plugin ID) for procedure blocks, just in case user-created plugins are to ever be added into the the main core of MCreator itself (so they won't break). ;)


Version 1.0.0 - For Windows (first public build):

  • Add new procedure blocks one by one to be used in your custom plugin.
  • Add any argument type you wish to each procedure block: field_input, field_checkbox, field_dropdown, or input_value type.
  • Set if the field is checked, set the default input, set all the options you'd like for the dropdowns, and set the default input value.
  • Use buttons to easily add arguments and values to your code or block text (message0) without having to type them out.
  • Set procedure block defaults such as "inLineInputs" and "nextStatement/previousStatement".
  • Create both an input and output block with ease (using a simple radio button).
  • Select a custom or default color for each individual block.
  • Add any extensions you'd like to the end of your procedure block.
  • Add any dependencies you'd like to include in your procedure block.
  • Supports the creation of a custom category for your plugin (where all blocks will point to (i.e. $category.json)).
  • Supports the creation of the "plugin.json" file for all your plugin information on the main screen.
  • Automatically generates each procedure file with the plugin id you enter and an underscore to make each file unique (so they don't cause compatibility issues with other plugins). Such as "PluginID_YourProcedureName", all you have to do is enter the procedure name when making a new procedure.
  • Automatically generates the "java.ftl" and "json" files for each individual procedure block, placing them in the correct folders and generators you select.
  • Allows the ability to add a custom generators to target (in case yours isn't included in the defaults).
  • Offers the ability to import premade procedure blocks and code in case you want to use Plugin Architect to modify previous plugins.
  • And so much more planned for the future!

Version 1.0.0 of DTM's Toolkit - Plugin Architect allows anyone the opportunity to easily create procedure plugins in no time at all. Add all your plugin/procedure information, add your code, select your targeted generators, and do so much more in one easy-to-use utility. When you've finished, generate the entire plugin layout with the click of a button, zip it up, and distribute it for anyone to use in less than a 5 minutes...and if you want to edit premade plugins, you can! Just import your procedures using the built-in function, and get to work!


As time goes on, I will continue to update and revamp Plugin Architect as much as possible to make it super clean, user-friendly, and convenient. I want this tool to become more than just a program for building blocks for procedures, as I plan on creating a "Generator Builder" to make new custom generators for MCreator, as well as the ability to create brand new triggers, API additions, and tons more.

If you have any requests, suggestions, or bug reports, please don't hesitate to let me know here in the discussion below, or on Discord at [ Drop The Mag#8145 ].


Since this program is completely standalone, download the executable from the link below, drop it wherever you want, and run it from wherever!

As of now, this program currently only supports Windows. With time, I may consider a complete rewrite for MacOS users...but for now, please consider using Goldorion's program (MCR Plugin Creator) here for multi-OS support and consistent/super useful updates: MCR Plugin Creator by Goldorion

Within the next few days I'll be creating and uploading a quick tutorial on how to use the program in case anyone needs it. As understanding the layout may be difficult in the beginning.

If you want to learn more about how to create and develop plugins, please check out the tutorials here on MCreator!


Screenshots:

Plugin Architect - Screenshot #1

Plugin Architect - Screenshot #2

Plugin Architect - Screenshot #3


Check out my other developments here:


- Drop The Mag

Edited by Drop The Mag on Sun, 09/13/2020 - 01:04
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay thanks! Also if I can I…
Sun, 09/06/2020 - 02:13

Okay thanks!

Also if I can I will make a plugin that adds more procedures for your Fabric generator.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also I am going to add 1.16…
Sun, 09/06/2020 - 18:46

Also I am going to add 1.16 forge support. It will take time since I am not the best at coding.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You continue to develop it…
Mon, 09/07/2020 - 19:46

You continue to develop it even if MCreator is in open-source? xD (I will continue to develop mine too, but much less than before)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not everyone knows how to…
Mon, 09/07/2020 - 19:56

Not everyone knows how to fork, pull, etc. on Github. It's still much easier to develop plugins than it is to straight up develop for MCreator...and like Klemen said, not everything will be added to it anyways so it doesn't become oversaturated. So plugins will always be viable. Plus, plugins can be consistently updated and fixed in an instant, where as MCreator updates are spaced out. Some people may not even have a need for specific features, so if they don't want it clogging up there workspace, why not just use plugins to add what they need? :P

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am making it since…
Mon, 09/07/2020 - 23:36

I am making it since mcreator is open source so if I can figure out how once its done I could send the code. I am currently waiting for a stable forge version.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and trying to get icons…
Mon, 09/07/2020 - 23:38

and trying to get icons working for forge 1.16 which I can't figure out.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
where as MCreator updates…
Tue, 09/08/2020 - 02:02

where as MCreator updates are spaced out

You can make your own releases. You just need to download the code, open the build.gradle in Intellij/.Eclipse, importing the jdk and run the Gradle task.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You should maybe update a…
Wed, 09/09/2020 - 21:42

You should maybe update a little bit your screenshots. Alos, I think you won the battle for the best plugin maker. XD

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh shoot, you're right. I…
Wed, 09/09/2020 - 21:48

Oh shoot, you're right. I think I'll wait until I release the UI update to change the screenshots though since I'm lazy. And continue to work on yours (if you want to still)! Don't let me stop you! I'm just having tons of fun doing it, and yours is cross platform and runs a lot smoother.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Both plugin generators have…
Wed, 09/09/2020 - 23:49

Both plugin generators have pros and cons:
 

DTM plugin architect:

pros:

- can make custom generators

- can make custom procedure

- can import procedures

- has support for existing generators and plugins

- can create a plugin.json file

- seems pretty optimized

Cons:

- No ai tasks currently

- Can't make biomes as far as I can tell

 

MCR plugin creator:

pros:
- can add ai tasks

- can add procedures

- generates the plugin.json file

- is very optimized

- can import procedures

- can make input procedures

- can make output procedures

- seems to be updated more :)

Cons:

- doesn't currently support making generators

-----------------------------------------------------------

Whatever one generator doesn't support the other one seems to have.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do aitasks with mine…
Thu, 09/10/2020 - 01:09

You can do aitasks with mine, and I update it at least once a day. And biomes are made in MCreator, not these external programs anyways. If you haven’t already, download the latest version (1.0.4) of mine. That may fix some problems you had. 

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh. I didn’t notice the new…
Thu, 09/10/2020 - 11:34

Oh. I didn’t notice the new version.

Also your plugin Architect is very useful. Using it I have managed to start on a 1.16 forge generator.

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it would be cool if there…
Thu, 09/10/2020 - 11:38

it would be cool if there was a mac version :(

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it would be cool if there…
Thu, 09/10/2020 - 23:15

it would be cool if there was a mac version :(

You've tried Goldorion's right? His is cross-platform. I know Swift, so I could easily hop over and code it on Mac. But give me a week or a little longer to get started. I need to get the Windows version to a stable position, then I'll start on Mac support for ya. ;) For now, you could use Bootcamp to use it!