File Manager

Published by Goldorion on
Supported MCreator versions
2024.1
Tags / plugin type
Procedures
Variables
Icon
Downloads:
7004
Upvotes: 203
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

Do you have an update coming for the 1.20.1 snapshot or will you be waiting for the 2023.3 full release?

I would like them to add a block that deletes the files since I noticed that it does not have a procedure that does and I had to do it manually with (custom code snippet) when they update it I would like them to add that.

please.

I don't add it on purpose because if someone uses the block incorrectly because the user doesn't know how everything works or if the person wants to delete files from the players' computers, I don't want to help this. So I just let users that need it to do it themself.

use as addition the arraylist plugin of goldorion
than you have a list and you can use the standard loop of mcreator

or you use the procedure plus plugin too and have a basic for loop from java with iteration variable

Crash server(
I spent a lot of time to make a crafting system through it, everything worked. I put it on the server and immediately crash...

is there a way to fix the plugin not working when porting form a 4.x to 5.x version? none of the blocks are appearing nor are the variables which makes it quite literally impossible for me to use even after removing the plugin and restarting and putting it back in and restarting again etc etc

Breaking changes have been made, so you have 2 options.
1. Remake from scratch what you made.
2. Open the ZIP file (using 7ZIP for example), then open plugin.json and change the id for something else and save everything. Then, you can use both versions at the same time.

I keep getting a "cannot find symbol" error telling me that the variable I have set to the file I'm editing and the newLine method both don't exist