File Manager

Published by Goldorion on
Supported MCreator versions
2024.1
Tags / plugin type
Procedures
Variables
Icon
Downloads:
6931
Upvotes: 201
About the plugin

The plugin continues its journey here.

 

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
Plugin forum topic
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)

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

Comments

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.

1. I'm limited to 5 files, so I could not even if I wanted to keep all the versions here.
2. As smmmadden said, they are (most of them) also put on the release page of the GitHub repository.
3. GitHub keeps track of literally every single commit, so you always can go back to a specific commit and make your own version.
4. I don't keep older versions because I have no reason to maintain old, bugged, outdated, not-working and incompatible versions or for [add the same adjectives here] Minecraft versions.

is there a version of this that works on 1.19.2 and 1.20.1? because those are the only versions i use and in file manager 5.8 it say it removed support for those 2 versions so i would like to know an older version that DID support 1.20.1 and 1.19.2, plz let me know, god bless.

Can I make new recipe JSON file and paste it into the data folder of the mod, or i need to create a datapack and paste the generated files there?

Copy url to file still doesn't seem to be fixed, putting in the code block in a procedure makes the code not update at all like before :/

Can I unzip a zip file in the mod(.jar file) to .minecraft file when i load the game? I have tried, but I don't know if it was my mistake or if it doesn't support it

can this read a recipe .json in this type of format:
-------------------------------------------------------------------------------------------------
{
"type": "ls_furniture:carpentry",
"ingredients": [
{
"item": "minecraft:oak_planks"
},
{
"tag": "ls_furniture:emptyslot"
},
{
"item": "ls_furniture:oak_bark"
},
{
"tag": "ls_furniture:emptyslot"
},
{
"item": "ls_furniture:saw"
}
],
"output": {
-------------------------------------------------------------------------------------------------
This code is from my mod, atm its just to allow JEI to read my recipe. But all the recipes are done through procedures. im basically wondering If it can read it so then i can compare with the slots for the crafting result??

you cant have multiple keys by same name (item), look at how vanilla and mods do their recipes
```
{
"type": "minecraft:crafting_shaped",
"pattern": [
"###",
"#f#",
"###"
],
"key": {
"#": {
"tag": "minecraft:stone_crafting_materials"
},
"f": {
"item": "minecraft:flint"
}
},
"result": {
"item": "minecraft:furnace"
}
}
```
Oh and also the plugin doesnt allow arrays, so you cant really have [
"###",
"#f#",
"###"
]
Youd have to play around it, maybe like this:
```
{
"type": "ls_furniture:carpentry",
"keys": {
"item1": {
"item": "minecraft:oak_planks"
},
"item2": {
"tag": "ls_furniture:emptyslot"
},
"item3": {
"item": "ls_furniture:oak_bark"
},
"item4": {
"tag": "ls_furniture:emptyslot"
},
"item5": {
"item": "ls_furniture:saw"
}
},
"result": {
"item": ""
}
}
```