Run a series of any console commands with configured delays using multiple YAML files.
Code (Text):
<> - Required
[] - Optional
/fc play <file name> - Plays a file
/fc stop <file name> - Stops a playing file
/fc list [file name] - Shows all files, or file's contents
/fc running - Shows all running files
Code (Text):
filecommands.*
- Gives the player all commands.
filecommands.filecommand
- Allow the player to use the "/fc" command.
filecommands.help
- When running "/fc" and no arguments are specified, all filecommand commands are displayed.
filecommands.play
- Allows the player to use the "/fc play <file name>" command.
filecommands.play.file_name
- Allows the player to only play specified files.
IF you want the player to play any file, use:
filecommands.play.*
filecommands.stop
- Allows the player to use the "/fc stop <file name>" command.
filecommands.stop.file_name
- Allows the player to only stopspecified files.
IF you want the player to stop any file, use:
filecommands.stop.*
filecommands.list
- Allows the player to use "/fc list".
filecommands.running
- Allows the player to see what files are running
A file can run any other file, including its self.
-
NOTE: if a file is calling its self, a tick before calling its self you should run "break". "break" does nothing, but helps the plugin stop when called. See "ExampleLoop.yml" for an example of using "break".