This plugin should work in all minecraft versions, as it's just JAVA programming and isn't really about Spigot API.
- Tested Minecraft Versions:
WriteToFile is a very simple plugin that can be used to save anything to your computer. It can create any file, so you can create e.g something.minecraft file (so the filename and the extension can be anything.).
!!Only give access to users you TRUST. This can harm your computer (it just creates the file, there is no way to start it, but if you click it by mistake..)!!
/write <file> <Text> - very simple. So, the default file location is your server folder (so the location of your server jar file). To put the file at e.g plugins folder, use /write plugins/filename.extension TextHere
If you want to start in a new line, type \n at the beginning of <Text>. Also, if <File> doesn't exist, it will create it.
The default permission for /write is writetofile.write. That can be changed in config.yml but there is no command for reloading the config yet.
If you executed the command and it.. just don't writes anything, then it was executed successfully.
- Only give access to people you TRUST. (and remember the permission)
- \n to new line
- This plugin APPENDS the text to the file, and not overwrites.
- The default file location is your server folder.
- This can create ANY kind of files.