File Manager is a plugin adding new procedure blocks allowing you to create and read your files!
File Types
- JSON
- TXT (simple file reader/writer)
- ZIP (5.7+)
Important Information
- This version supports Forge 1.19.4 and 1.20.1 and Fabric 1.20.1
The 2 following examples require File Manager 5.0 or after.
Create a JSON file
Read a JSON file
I made a tutorial covering this here.
Credits/License
Tutorial on sub-JSON objects by NorthWestTrees
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.10
* [#48] Add a new parameter to write lines at the end of TXT files
* Note: Existing workspaces will get a build error due to the missing parameter. Previous behaviour was FALSE.
* [Bugfix #62] Write Json object caused a build error due to a missing import (again)
5.9.1
* [Bugfix #61] Some procedure blocks could cause build errors due to a missing import
* Added Persian language support
5.9
* Updated to MCreator 2024.1.15713
* Added support for NeoForge 1.20.4
Comments
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.
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.
Very cool!! But is there a way to use itemstack in a json file?