co.aikar.commands.annotation.HelpCommand Java Examples

The following examples show how to use co.aikar.commands.annotation.HelpCommand. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CommandHelp.java    From GriefDefender with MIT License 5 votes vote down vote up
@HelpCommand
@Description("Displays GriefDefender command help.")
public void execute(CommandSource src) {
    PaginationList.Builder paginationBuilder =
            PaginationList.builder().title(TextComponent.of("Showing GriefDefender Help", TextColor.AQUA)).padding(TextComponent.of(" ").decoration(TextDecoration.STRIKETHROUGH, true)).contents(GriefDefenderPlugin.helpComponents);
    paginationBuilder.sendTo(src);
}
 
Example #2
Source File: CommandHelp.java    From GriefDefender with MIT License 5 votes vote down vote up
@HelpCommand
@Description("Displays GriefDefender command help.")
public void execute(CommandSender src) {
    PaginationList.Builder paginationBuilder =
            PaginationList.builder().title(TextComponent.of("Showing GriefDefender Help", TextColor.AQUA)).padding(TextComponent.of(" ").decoration(TextDecoration.STRIKETHROUGH, true)).contents(GriefDefenderPlugin.helpComponents);
    paginationBuilder.sendTo(src);
}
 
Example #3
Source File: WorldCreator.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%admin")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    help.showHelp();
}
 
Example #4
Source File: WorldModifyCommands.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%admin")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    help.showHelp();
}
 
Example #5
Source File: ChannelCommands.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%user")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    help.showHelp();
}
 
Example #6
Source File: WorldCommands.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%admin")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    help.showHelp();
}
 
Example #7
Source File: TextureCommands.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%admin")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    help.showHelp();
}
 
Example #8
Source File: GameCommands.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%user")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    help.showHelp();
}
 
Example #9
Source File: TestCommands.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%admin")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    help.showHelp();
}
 
Example #10
Source File: KitCommands.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%user")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    help.showHelp();
}
 
Example #11
Source File: WorldRepositoryCommands.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%admin")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    help.showHelp();
}
 
Example #12
Source File: RoleCommands.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%user")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    Lang.msg(sender, LangKey.ROLE_SELF, sender.getRole().getName());
    help.showHelp();
}
 
Example #13
Source File: StatsCommands.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%admin")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    help.showHelp();
}
 
Example #14
Source File: LangCommands.java    From VoxelGamesLibv2 with MIT License 4 votes vote down vote up
@HelpCommand
@CommandPermission("%user")
public void doHelp(@Nonnull User sender, @Nonnull CommandHelp help) {
    help.showHelp();
}
 
Example #15
Source File: TPCommand.java    From Transport-Pipes with MIT License 4 votes vote down vote up
@HelpCommand
@Syntax("[command]")
public void onDefault(CommandSender cs, CommandHelp help) {
    help.showHelp();
}
 
Example #16
Source File: GUICommand.java    From SkinsRestorerX with GNU General Public License v3.0 4 votes vote down vote up
@HelpCommand
public static void onHelp(CommandSender sender, CommandHelp help) {
    sender.sendMessage("SkinsRestorer Help");
    help.showHelp();
}
 
Example #17
Source File: GUICommand.java    From SkinsRestorerX with GNU General Public License v3.0 4 votes vote down vote up
@HelpCommand
public static void onHelp(CommandSender sender, CommandHelp help) {
    sender.sendMessage("SkinsRestorer Help");
    help.showHelp();
}