Class LinkCommands


  • @Singleton
    public class LinkCommands
    extends java.lang.Object
    Implementation of commands that send a link to the command sender.
    • Method Detail

      • onServerCommand

        public void onServerCommand​(CMDSender sender,
                                    Arguments arguments)
        Implementation of server subcommand, used to get link to server page.
        Parameters:
        sender - Sender of command.
        arguments - Given arguments.
      • onServersCommand

        public void onServersCommand​(CMDSender sender,
                                     Arguments arguments)
        Implementation of servers subcommand, used to list servers.
        Parameters:
        sender - Sender of command.
        arguments - Given arguments.
      • onPlayerCommand

        public void onPlayerCommand​(CMDSender sender,
                                    Arguments arguments)
        Implementation of player command, used to get link to player page.
        Parameters:
        sender - Sender of command.
        arguments - Given arguments.
      • onPlayersCommand

        public void onPlayersCommand​(CMDSender sender,
                                     Arguments arguments)
        Implementation of players subcommand, used to get link to players page.
        Parameters:
        sender - Sender of command
        arguments - Only present to fulfill Subcommand#onCommand requirements.
      • onNetworkCommand

        public void onNetworkCommand​(CMDSender sender,
                                     Arguments arguments)
        Implementation of network subcommand, used to get link to network page.
        Parameters:
        sender - Sender of command
        arguments - Only present to fulfill Subcommand#onCommand requirements.
      • onWebUsersCommand

        public void onWebUsersCommand​(CMDSender sender,
                                      Arguments arguments)
        Implementation of webusers subcommand, used to list webusers.
        Parameters:
        sender - Sender of command.
        arguments - Given arguments.