File Manager

Published by Goldorion on Wed, 07/29/2020 - 04:42
Upvotes: 137
Supported MCreator versions
2021.3
2022.2
2022.3
Tags / plugin type
Procedures
Plugin forum topic
Icon
About the plugin

File Manager is a plugin adding new procedure blocks allowing you to create and read your files! Adding support for JSON files, this plugin allows you to create a config file or files to save data for your mod. This plugin has also more usage, but this is up to you to find them! :)

File Types

  • JSON
  • TXT (simple file reader/writer)

Important Information

  • JSON
  • TXT files - Basic file reader/writer

 

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

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.5

* Forge 1.16.5 is still included, but it does not receive new features.
* Added Direction to number and Number to Direction getter blocks
* Added BlockState to String and String to BlockState getter blocks
Project members
Lead developer
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)

Plugin downloads
Attachment Size
File Manager 5.540.62 KB 40.62 KB

Comments

can you post a video tutorial on this plugin please, i am create a config to my mod to save blocks rank

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 :)

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)

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?

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