File Manager (Nerdy edition)

Supported MCreator versions
2024.2
2024.3
2024.4
Tags / plugin type
Procedures
Variables
file manager
Downloads:
4047
Upvotes: 49
About the plugin

This is an updated and improved version of the File Manager plugin by Goldorion, which I will continue to maintain in his absence.

 

New procedure blocks introduced to the plugin


Changelog

v6.6
-Added support for MCreator 2024.4

v6.5
-Ported to MCreator 2024.3 and neoforge 1.21.1
-Fixed json array getter procedures causing build error when using variables to get entries

v6.4.1
-Fixed json arrays not working in forge 1.20.1

v6.4
-Added global session variables for json objects and arrays
-Fixed the file global session variable causing build errors

v6.3
-Added 2 procedure blocks to read datapack json files
-Fixed the url to file procedure

v6.2
-Added 5 new procedure blocks to check the data type of json properties

v6.1
-Added new procedure block, file from path

v6.0
-Ported to 2024.2 and neoforge 1.20.6
-Added a directory iterator procedure
-Added the json array variable type
-Added new procedure blocks to use json arrays
Project members
Former developer
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)

Plugin downloads
File Manager v6.4.1 (2024.2 ONLY) - file-manager_2.zip Uploaded on: 08/08/2024 - 22:00   File size: 89.18 KB
File Manager v6.6 (2024.3 + 2024.4 ONLY) - file-manager.zip Uploaded on: 01/16/2025 - 07:14   File size: 89.18 KB

Comments

Nerdy, I need help! I think there is a bug. the "For each line of (file) get the text as (string iterator)" block does not work at all. I did the following:
1. Event Trigger
Set (File Variable) to (file named (name.txt) in directory (join (game directory) and (/config/name))
For each line of (file) get the text as (String Iterator)
do 2. (send to chat to all players (String Iterator))
Output: ""
Nothing gets sent to the chat when I run it.

Nerdy, I need help! I think there is a bug. the "For each line of (file) get the text as (string iterator)" block does not work at all. I did the following:
1. Event Trigger
do 2. (send to chat to all players (String Iterator))
Output: ""
Nothing gets sent to the chat when I run it.

anyone seen Nerdy around? Last login was over 2 months ago which isn't normal. Wondering if these plugins are dead again and someone else needs to take over?

Whill this be updated?
Cuz I have an idea for a prototype of something interesting

Would it or would it not be used as a horror mod for example the broken script mod pop up message on your desktop?

Is a version for 2025.1 or 2025.2 is in developpement

I keep getting a "cannot find symbol" error when trying to export while having a procedure that uses these code blocks. Does anybody know any alternatives or how I can fix this? I've looked everywhere and found nothing.

Fixed the error by manually going and changing file.write to filebw.write and file.newLine to filebw.newLine (It should normally be filebw as defined by the code but is instead only using file for some reason)

Is there a way how I can delete created files completely? A file is created in my mod, but the player should be able to delete the file again. I don't just want to empty the file but delete it completely so that no unnecessary disk space is wasted. Is there a way to do this?

> Task :compileJava FAILED
C:\Users\Jannick\MCreatorWorkspaces\server_trading_system\src\main\java\net\mcreator\servertradingsystem\procedures\WriteConfigProcedureProcedure.java:89: error: incompatible types: possible lossy conversion from long to int
subObject.addProperty(mainObject.keySet().stream().toList().get(Math.round(index)), mainObject.get(mainObject.keySet().stream().toList().get(Math.round(index))).getAsDouble());
^
C:\Users\Jannick\MCreatorWorkspaces\server_trading_system\src\main\java\net\mcreator\servertradingsystem\procedures\WriteConfigProcedureProcedure.java:89: error: incompatible types: possible lossy conversion from long to int
subObject.addProperty(mainObject.keySet().stream().toList().get(Math.round(index)), mainObject.get(mainObject.keySet().stream().toList().get(Math.round(index))).getAsDouble());

just tried v6.6 and workspace is not compiling any using the plugin.
Getting errors on all the files using it. Are there required changes in this version that you haven't stated?
C:\MCreator-Releases\MCreator20244\workspaces\serverbasics\src\main\java\net\mcreator\tmtmcserverbasics\procedures\SetNightTimeProcedure.java:8: error: illegal start of expression
if (!) {TmtmcserverbasicsMod.LOGGER.info("Unable to locate or read the serverbasicsconfig.json configuration file");}else{}
^

hi! can you add new procedure to stringify itemstack? (with whole data, not only registry name) like you did with blockstates

Could this be used to edit vanilla recipes in game? Like say an event in game causes a recipe to change or the recipe changes based on other factors like the world seed or the likes, would that be feasible?

Hi Nerdy - Happy New Year! :-)
Just checking in on an eta for File Manager for 2024.4. Thanks!