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.9
* Updated to MCreator 2024.1.15713
* Added support for NeoForge 1.20.4
5.8
* Removed support for Forge 1.18.2, 1.19.2
* Removed support for Fabric 1.19.2
* Re-organized File Manager's categories to use the new parent/children category system
* [#51] Add a Remove JSON property
* [#54] Add Get client's directory
* [#58] Add Get JSON property name at index
* [Bugfix #50] Is JSON object empty caused a build error
* [Bugfix #52] Copy url to file didn't work correctly
Comments
Hello, I'm not sure if this is a bug or if I'm just too stupid.
In any case, I use the (
MCreator 2022.1) version and I have the problem that no selection is given in the fields (local: file) which unfortunately causes an error every time.
Did I do something wrong?
You cannot get any selection shown in the variables until you add a variable in the right panel of MCreator. Once you add the Local Variable, save the procedure and then look at the Custom Variables and you should see they are there. If you add more than one variable of the same type, once you select the get/set you can click on the down arrow to choose which variable you want to use.
I don't mean to bother, but when I attempt to use the "Write text in the file and add a new line" I get an error about an unknown symbol for both the written part and the attempt at doing .newLine();
Any suggestions or fixes I can do to manually fix this temporarily if this is a bug, or am I misunderstanding something?
Dose this support items from json file?