»What is it API?
This api is for manange files and foldes
(Continuation of the Cuidabrutos project)
»Usage:
createfolder("Folder") - create an folder
createfile("folder direction") - create an file in a folder
writeto("Text", " file direction ") - write text in an file
downloadfrom("url", " file direction ") - download an text and write in a file
»Example:
Spoiler: Example
Code (Text):
command /testfilesapi:[/SIZE][/LEFT]
[SIZE=5]
[LEFT] trigger:
createfolder("TestFolder")
send "&4&lCreating files"
createfile("plugins/TestFolder/config.yml")
writeto("##Test file by @WaxtzCraft", "plugins/TestFolder/config.yml")
writeto("testboolean: true", "plugins/TestFolder/config.yml")
writeto("testcoloredvalue: '&2&lHello spigot!!!'", "plugins/TestFolder/config.yml")
send "&4&lCreated!"
send "&4&lAuto delete all files in 10 seconds"
wait 10 seconds
deletefile("plugins/TestFolder/config.yml")
send "&4&lDeleted!"
[SIZE=5]
[LEFT] trigger:
createfolder("TestFolder")
send "&4&lCreating files"
createfile("plugins/TestFolder/config.yml")
writeto("##Test file by @WaxtzCraft", "plugins/TestFolder/config.yml")
writeto("testboolean: true", "plugins/TestFolder/config.yml")
writeto("testcoloredvalue: '&2&lHello spigot!!!'", "plugins/TestFolder/config.yml")
send "&4&lCreated!"
send "&4&lAuto delete all files in 10 seconds"
wait 10 seconds
deletefile("plugins/TestFolder/config.yml")
send "&4&lDeleted!"
» Dependencies:
Skript 2.2: Click here to download
WildSkript: Click here to download
» To do list:
- load files
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
[Skript] FilesAPI is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10. Downloaded 1,109 times (via Spigot). Download it and open it directly in the game.