File Manager

Published by Goldorion on
Supported MCreator versions
2024.1
Tags / plugin type
Procedures
Variables
Icon
Downloads:
5521
Upvotes: 187
Plugin forum topic
About the plugin

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

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.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
Project members
Lead developer
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)

Plugin downloads
File Manager 5.10 - file-manager_1.zipUploaded on: 04/23/2024 - 16:43   File size: 81.13 KB

Comments

error: cannot find symbol
public JsonObject parse(String rawJson) {
^
symbol: class JsonObject
This happens when i use the ParseJson{} block. Anytime and in any use case. My mcreator version is 2024.1.15821

is there way to get string variable that is inside file from client to server?
I need it for security mod for server

Hi! is there a way to save json files to the mod's folder?
not the game directory

hi, your plugin is giving the error as incompatible, in mcreator 2024.1

how to check if a json property exists in a json file before running the code, how to prevent the error Cannot invoke "com.google.gson.JsonElement.getAsString()" because the return value of "com.google.gson.JsonObject.get(String)" is null?

getting compilation errors with the latest version of today. I've even removed the shapes and re-added them and same errors (Neoforge 1.20.4).
symbol: class Gson
location: class CmdSetHomeProcedure
C:\MCreator-Releases\MCreator20241\workspaces\serverbasics\src\main\java\net\mcreator\tmtmcserverbasics\procedures\CmdSpeedUp2Procedure.java:39: error: cannot find symbol
mainConfigRO = new Gson().fromJson(jsonstringbuilder.toString(), com.google.gson.JsonObject.class);
^
is it not finding the variables in the procedures?

its not working forge 1.20.1 mcreator 2023.4.52316
(it loads in but the blocks dont work)

also, why remove the older versions in the first place? they may be buggy but if your going to remove big chunks of content in the new version at least make the older version's in the first place, or i may just be dumb and the older versions are somewhere obvious and i just did not see.