public class ListSubCmd extends ViaSubCommand
| Constructor and Description |
|---|
ListSubCmd() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
subcommand description, this'll show in /viaversion list
|
boolean |
execute(ViaCommandSender sender,
String[] args)
Gets triggered on execution
|
String |
name()
Subcommand name
|
String |
usage()
Usage example:
"playerversion [name]"
|
color, onTabComplete, permission, sendMessagepublic String name()
ViaSubCommandname in class ViaSubCommandpublic String description()
ViaSubCommanddescription in class ViaSubCommandpublic String usage()
ViaSubCommandusage in class ViaSubCommandpublic boolean execute(ViaCommandSender sender, String[] args)
ViaSubCommandexecute in class ViaSubCommandsender - Command senderargs - ArgumentsCopyright © 2016–2021. All rights reserved.