Class DumpCommand
java.lang.Object
io.github.toberocat.toberocore.command.Command
io.github.toberocat.toberocore.command.SubCommand
io.github.toberocat.toberocore.command.PlayerSubCommand
io.github.toberocat.guiengine.commands.OpenCommand
io.github.toberocat.guiengine.commands.DumpCommand
The `DumpCommand` class represents a player sub-command that allows a player to open a GUI and dump its context.
This class is licensed under the GNU General Public License.
- Since:
- 14.07.2023
- Author:
- Tobias Madlberger (Tobias)
-
Field Summary
Fields inherited from class io.github.toberocat.toberocore.command.SubCommand
args, label, onCommandOptions, onTabOptions
Fields inherited from class io.github.toberocat.toberocore.command.Command
children, parent, prefix
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.toberocat.guiengine.commands.OpenCommand
arguments, options, routeTab
Methods inherited from class io.github.toberocat.toberocore.command.PlayerSubCommand
handleCommand
Methods inherited from class io.github.toberocat.toberocore.command.SubCommand
getArgs, getConfig, getConfig, parseArgs, routeCall, showInTab
Methods inherited from class io.github.toberocat.toberocore.command.Command
addChild, childrenTabList, getChild, getChildren, getLabel, getParent, getPermission, searchChild
-
Constructor Details
-
DumpCommand
public DumpCommand()Constructs a new `DumpCommand`.
-
-
Method Details
-
handle
protected boolean handle(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull String[] args) throws io.github.toberocat.toberocore.command.exceptions.CommandException - Overrides:
handle
in classOpenCommand
- Throws:
io.github.toberocat.toberocore.command.exceptions.CommandException
-