Class DebugCommand
java.lang.Object
io.github.monsieurdoceo.filizer.commands.DebugCommand
- All Implemented Interfaces:
io.papermc.paper.command.brigadier.BasicCommand,org.bukkit.command.CommandExecutor
public class DebugCommand
extends Object
implements io.papermc.paper.command.brigadier.BasicCommand, org.bukkit.command.CommandExecutor
Provides a development command for inspecting managed files.
-
Constructor Details
-
DebugCommand
Creates a newDebugCommandinstance.- Parameters:
fileManager- The file manager to use
-
-
Method Details
-
execute
Executes the command.- Specified by:
executein interfaceio.papermc.paper.command.brigadier.BasicCommand- Parameters:
source- the source of the commandargs- the arguments of the command ignoring repeated spaces
-
onCommand
public boolean onCommand(org.bukkit.command.CommandSender sender, org.bukkit.command.Command command, String label, String[] args) Called when a command is executed- Specified by:
onCommandin interfaceorg.bukkit.command.CommandExecutor- Parameters:
sender- Source of the commandcommand- Command that was executedlabel- Alias of the command that was usedargs- Passed command arguments- Returns:
- true if a valid command, otherwise false
-