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

public class DumpCommand extends OpenCommand
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
    Constructor
    Description
    Constructs a new `DumpCommand`.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    handle(@NotNull org.bukkit.entity.Player player, @NotNull String[] args)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class OpenCommand
      Throws:
      io.github.toberocat.toberocore.command.exceptions.CommandException