File Manager

Published by Goldorion on
Upvotes: 163
Downloads:
4076
Supported MCreator versions
2023.1
2023.2
Tags / plugin type
Procedures
Variables
Plugin forum topic
Icon
About the plugin

File Manager is a plugin adding new procedure blocks allowing you to create and read your files! 

Adding support for JSON files, this plugin allows you to create a config file or files to save data for your mod. This plugin has also more usage, but this is up to you to find them! :)

File Types

  • JSON
  • TXT (simple file reader/writer)
  • ZIP (5.7+)

Important Information

  • This version supports Forge 1.18.2, 1.19.2, 1.19.4 and 1.20.1 and Fabric 1.19.2 and 1.20.1

https://storage.ko-fi.com/cdn/brandasset/kofi_button_blue.png

The 2 following examples require File Manager 5.0 or after.

Create a JSON file

Create a json file

Read a JSON file

Read a JSON file

I made a tutorial covering this here.

Credits/License

Tutorial by NorthWestTrees

Tutorial on sub-JSON objects by NorthWestTrees

Tutorial by Cursed Warrior

Icon by Tobi-Wan#0482

Licensed under the GNU Lesser General Public License, version 2.1  

  • Appropriate credit must be provided to the creators and maintainers of this plugin.
  • Forked versions of this plugin must be distributed under the same license as this with attribution if distributed.
  • Changes must be stated if any modified works are to be distributed.
  • Under no circumstances you can state that the original creator endorses modified works.

Changelog

To see a complete changelog of the plugin, check this file.

5.7.3

* Added Forge 1.20.1 support

5.7

* Added new ZIP related procedure blocks: ZIP a single file, ZIP multiple files from a list (Require ArrayLists), ZIP a folder and Unzip a file
* Procedure blocks are now grouped depending on their usage
  * Note: This only work if "Smart sorting" is enabled in the preferences
* Added new general file procedure blocks: Get file parent's path, Get file's path, Get temp directory, Is directory and Is file
* Added 2 new categories: File Manager data and File Manager utils
* [#32] Added a "Get current world's name" procedure block (Forge only)
* [Bugfix] Add a new line for TXT files didn't work
* [Bugfix] Path separator block wasn't inside a category
Project members
Lead developer
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)
Plugin downloads
Attachment Size
File Manager 5.7.3100.34 KB 100.34 KB

Comments

I want to make space mod and I have a dimension called space; but the sky looks bad even though I set the time to be night all the time in the space dimension. Since there is still a moon on the sky. The resion I am telling you this is because you made some of the best MCreator plugins. So culd you please make a MCreator plugin that lets you change the sky (like on a biome or a dimension). Also my mod is on MCreator 2022.2; so I would be happy if you made the plugin for MCreator 2022.2 too.

This seems really useful but it's unfortunately won't work for any recent versions. Could you make a version for 2021.1 EAP (03117)?

Very cool!! But is there a way to use itemstack in a json file?

Only numbers, logic and strings are supported, you use display names of items this is a string value however you would need to add support when importing for the same item when reading the script. Item stacks are not really possible to convert back to after storing it into a string from sadly however if you use create text with you can convert a itemstack into a string you can work with but you still have the same issue with adding support for all items you want to work with. Maybe a block to convert strings to items stacks or air if fails would be a good side plugin to work with this plugin.

Can anyone release a video explaining how to possibly make a config file with this? I am trying to make one but I seem to be failing at it. Thank you

I saw the second photo. I just don't understand how it works. I'm trying to make a config to where I can disable or enable my ores from spawning into the world kind of like how other mods work. So I can make them better compatible with each other.