
Что это
Allow you to use kubejs for some restrictive operations on files
- Тип: мод
- Загрузчик: forge
- Версии Minecraft: 1.20.1 – 1.21.4
- Скачиваний на Modrinth: 76 673
Подробно
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 js FilesJS.writeLines("kubejs/serverscripts/src/test.js", ["test1,test2,test3"])
Delete file js FilesJS.delete("kubejs/serverscripts/src/test.js")
Change event trigger js ItemEvents.rightClicked('netherstar',event=>{ FilesJS.backupFile("kubejs/README.txt") }) Files.fileBackupCreated(event=>{ event.server.tell("File backup path:",event.getPath()) })
Compared to directly accessing file content, this mod considers various security issues and restricts access to special extensions
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Let's get mending!
Plays gamblecore sound effects when you roll librarian trades 06.12.2026
Flowey The Dandelion
Flowey themed dandelion and wither rose textures. 06.12.2026
Mob Lifesteal
This makes mobs steal your hearts when they attack you! Kill a mob to regain one heart. 06.12.2026
Purged
The Purge is coming... 06.12.2026
Korono
ベッドでのHP回復や耕地保護、ペットの誤攻撃防止など、生活を快適にするQOL改善機能を追加するMod。A mod that adds quality-of-life improvements to make life more comfortable, such as… 06.12.2026
ACE Combat
Combined Combat & Weapons Modpack 06.12.2026