mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-07-08 06:47:59 +00:00
Group GUI sections finished, sort command list outputs, GUI configuration added
This commit is contained in:
parent
f7eb08e48d
commit
98a570a236
20 changed files with 619 additions and 232 deletions
|
@ -82,18 +82,5 @@ public interface CommandModule {
|
|||
LangManager.sendCustomMessage(pplayer, new MessageFormat(ChatColor.YELLOW + "/pp {0} {1} - {2}").format(args));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays a command's sub-command usage to the player
|
||||
*
|
||||
* @param pplayer The PPlayer to display the command usage to
|
||||
* @param command The command to display usage for
|
||||
* @param subCommandName The name of the command's sub-command to display usage for
|
||||
* @param subCommandArgs The sub-command's arguments
|
||||
*/
|
||||
public static void printSubcommandUsage(PPlayer pplayer, CommandModule command, String subCommandName, String subCommandArgs) {
|
||||
Object[] args = new Object[] { command.getName(), subCommandName, subCommandArgs };
|
||||
LangManager.sendCustomMessage(pplayer, new MessageFormat(ChatColor.YELLOW + "/pp {0} {1} {2}").format(args));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue