-
public final class PlayerFunctionsKt
-
-
Method Summary
Modifier and Type Method Description final static PlayertoPlayer(String $self)final static UnitshowHelpMessage(CommandSender $self, String label, String error, Integer page, List<HelpMessage> commands, CoreJavaPlugin plugin)final static IntegergetMaxHelpPages(Permissible $self, List<HelpMessage> commands)final static IntegergetItemAmount(Player $self, Material type)final static UnitplaySound(Player $self, Sound sound, Float volume, Float pitch)final static Set<Player>getPlayers(Set<UUID> $self)-
-
Method Detail
-
showHelpMessage
final static Unit showHelpMessage(CommandSender $self, String label, String error, Integer page, List<HelpMessage> commands, CoreJavaPlugin plugin)
- Parameters:
label- The label of the command ranerror- An error, if anypage- The page of the help pagecommands- The commands to show
-
getMaxHelpPages
final static Integer getMaxHelpPages(Permissible $self, List<HelpMessage> commands)
-
getItemAmount
final static Integer getItemAmount(Player $self, Material type)
-
getPlayers
final static Set<Player> getPlayers(Set<UUID> $self)
-
-
-
-