Class PrivateChatSelector

java.lang.Object
com.stardevllc.starchat.ChatSelector
com.stardevllc.starchat.pm.PrivateChatSelector

public class PrivateChatSelector extends ChatSelector
  • Constructor Details

    • PrivateChatSelector

      public PrivateChatSelector()
  • Method Details

    • getSelection

      public ChatSelector.ChatSelection getSelection(org.bukkit.entity.Player player, String[] args)
      Description copied from class: ChatSelector
      This method is called when the type value is the same. This has the lowest priority in terms of determining what chat space is used for the command. The usage of the command is /chat [name] [other]
      Specified by:
      getSelection in class ChatSelector
      Parameters:
      player - The Player that used the /chat command
      args - The arguments of the command. This is the full arguments and not stripped down in any way.
      Returns:
      The selection for the space