FilesJS
Modby LirxOwO
Allow you to use kubejs for some restrictive operations on files
Type
Mod
CurseForge Downloads
1,065,161
CurseForge ID
1156187
Last Updated
Apr 13, 2026
Description
This is a plugin mod for kubejs that allows you to perform limited operations on files using kubejs.
The file reading and writing can only be done within the instance folder of Minecraft, and external file contents cannot be accessed.
Write multiple lines
FilesJS.writeLines("kubejs/server_scripts/src/test.js", ["test1,test2,test3"])Delete file
FilesJS.delete("kubejs/server_scripts/src/test.js")Event listeners
ItemEvents.rightClicked('nether_star',event=>{ FilesJS.backupFile("kubejs/README.txt") }) Files.fileBackupCreated(event=>{ event.server.tell("File backup path:",event.getPath()) })If there are any bugs in this mod, please provide feedback to GitHub issue. here
Due to the fact that this operation can be used with Java reflection in KubeJS, security checks are no longer supported. Please be aware!!! ⚠️
Similar Mods
Bountiful (Fabric)
Adds bounty boards, giving rewards for collecting different blocks and items.
Cobblegen Galore
This mod lets you automatically generate essential blocks like cobblestone, basalt, and more
Kimetsu no Yaiba (Demon Slayer)
Japanese anime "Demon Slayer (Kimetsu no Yaiba)" mod
Bibliocraft Legacy
Bibliocraft Legacy is a port of the original BiblioCraft Minecraft mod by Nuchaz. It adds various pieces of decorative a...
Farmer's Delight Refabricated
Modern Fabric port of the cooking and farming mod, "Farmer's Delight"
Better Ping Display [Fabric]
Displays ping in milliseconds in the player list in a configurable way