Class LinkCommands
java.lang.Object
com.djrapitops.plan.commands.subcommands.LinkCommands
Implementation of commands that send a link to the command sender.
-
Constructor Summary
ConstructorDescriptionLinkCommands
(Locale locale, ColorScheme colorScheme, Addresses addresses, Identifiers identifiers, DBSystem dbSystem, ServerInfo serverInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
LinkCommands
@Inject public LinkCommands(Locale locale, ColorScheme colorScheme, Addresses addresses, Identifiers identifiers, DBSystem dbSystem, ServerInfo serverInfo)
-
-
Method Details
-
onServerCommand
Implementation of server subcommand, used to get link to server page.- Parameters:
sender
- Sender of command.arguments
- Given arguments.
-
onServersCommand
Implementation of servers subcommand, used to list servers.- Parameters:
sender
- Sender of command.arguments
- Given arguments.
-
onPlayerCommand
Implementation of player command, used to get link to player page.- Parameters:
sender
- Sender of command.arguments
- Given arguments.
-
onPlayersCommand
Implementation of players subcommand, used to get link to players page.- Parameters:
sender
- Sender of commandarguments
- Only present to fulfill Subcommand#onCommand requirements.
-
onNetworkCommand
Implementation of network subcommand, used to get link to network page.- Parameters:
sender
- Sender of commandarguments
- Only present to fulfill Subcommand#onCommand requirements.
-
onWebUsersCommand
Implementation of webusers subcommand, used to list webusers.- Parameters:
sender
- Sender of command.arguments
- Given arguments.
-
onJson
-