Class LinkCommands
- java.lang.Object
-
- com.djrapitops.plan.commands.subcommands.LinkCommands
-
@Singleton public class LinkCommands extends java.lang.Object
Implementation of commands that send a link to the command sender.
-
-
Constructor Summary
Constructors Constructor Description LinkCommands(Locale locale, ColorScheme colorScheme, Addresses addresses, Identifiers identifiers, DBSystem dbSystem, ServerInfo serverInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onJson(CMDSender sender, Arguments arguments)
void
onNetworkCommand(CMDSender sender, Arguments arguments)
Implementation of network subcommand, used to get link to network page.void
onPlayerCommand(CMDSender sender, Arguments arguments)
Implementation of player command, used to get link to player page.void
onPlayersCommand(CMDSender sender, Arguments arguments)
Implementation of players subcommand, used to get link to players page.void
onServerCommand(CMDSender sender, Arguments arguments)
Implementation of server subcommand, used to get link to server page.void
onServersCommand(CMDSender sender, Arguments arguments)
Implementation of servers subcommand, used to list servers.void
onWebUsersCommand(CMDSender sender, Arguments arguments)
Implementation of webusers subcommand, used to list webusers.
-
-
-
Constructor Detail
-
LinkCommands
@Inject public LinkCommands(Locale locale, ColorScheme colorScheme, Addresses addresses, Identifiers identifiers, DBSystem dbSystem, ServerInfo serverInfo)
-
-
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 commandarguments
- 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 commandarguments
- 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.
-
-