Java Code Examples for co.aikar.commands.CommandHelp#showHelp()

The following examples show how to use co.aikar.commands.CommandHelp#showHelp() . 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: SkinCommand.java    From SkinsRestorerX with GNU General Public License v3.0 5 votes vote down vote up
@HelpCommand
public void onHelp(CommandSource source, CommandHelp help) {
    if (Config.USE_OLD_SKIN_HELP)
        sendHelp(source);
    else
        help.showHelp();
}
 
Example 2
Source File: SrCommand.java    From SkinsRestorerX with GNU General Public License v3.0 4 votes vote down vote up
@HelpCommand
public void onHelp(CommandSource source, CommandHelp help) {
    help.showHelp();
}
 
Example 3
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 4
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 5
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 6
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 7
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 8
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 9
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 10
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 11
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 12
Source File: AntiVPNCommand.java    From AntiVPN with MIT License 4 votes vote down vote up
@HelpCommand
@Syntax("[command]")
public void onHelp(CommandSender sender, CommandHelp help) { help.showHelp(); }
 
Example 13
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 14
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 15
Source File: SrCommand.java    From SkinsRestorerX with GNU General Public License v3.0 4 votes vote down vote up
@HelpCommand
public void onHelp(CommandSender sender, 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: 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 18
Source File: GeneralCommands.java    From GlobalWarming with GNU Lesser General Public License v3.0 4 votes vote down vote up
@HelpCommand
public void onHelp(GPlayer gPlayer, CommandHelp help) {
    if (isCommandAllowed(gPlayer)) {
        help.showHelp();
    }
}
 
Example 19
Source File: AntiVPNCommand.java    From AntiVPN with MIT License 4 votes vote down vote up
@HelpCommand
@Syntax("[command]")
public void onHelp(CommandSource source, CommandHelp help) { help.showHelp(); }
 
Example 20
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();
}