File Manager

Published by Goldorion on
Supported MCreator versions
2023.4
Tags / plugin type
Procedures
Variables
Icon
Downloads:
5000
Upvotes: 182
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.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
Project members
Lead developer
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)

Plugin downloads
File Manager 5.8 - file-manager.zipUploaded on: 02/08/2024 - 02:45   File size: 65.32 KB

Comments

could you add a "check if file exist" blok? So i can create a config that does not change, but only gets created when i delete the actual config.json file?

When I use 'Get directory' It returns a '.'
e.g. [Render thread/INFO] [STDOUT/]: [net.mcreator.aliveagain.procedures.LoadConfigProcedure:executeProcedure:36 .
(I'm using print)
or does this only work when exported?

I worked exported, I'm currently forcing the directory path to the test environment
By the way, I'm using the client test and haven't launched a server yet
By, By the way, It's a great plugin

It works fine, when using the Mcreator 2020.5 Server/Client for test, but on my server (forge 1.15.2-31.2.47) i'll get:

←[m←[1;31m[17:02:07] [Server thread/FATAL] [ne.mi.fm.lo.RuntimeDistCleaner/DISTX
FORM]: Attempted to load class net/minecraft/client/Minecraft for invalid dist D
EDICATED_SERVER
←[m

i guess, i'll need a different version of 1.15.2?

Hello Goldorion, if this mod is working on a server in the first place, is there a way to only write on files located on servers ? (not on client side)

You can add "File with name "Name" in directory "directory" exist?"
this would be useful for mod to check if file already exists if not then make one :)