Package com.stardevllc.starchat.pm
Class PrivateChatSelector
java.lang.Object
com.stardevllc.starchat.ChatSelector
com.stardevllc.starchat.pm.PrivateChatSelector
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stardevllc.starchat.ChatSelector
ChatSelector.ChatSelection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSelection(org.bukkit.entity.Player player, String[] args) This method is called when thetypevalue is the same.Methods inherited from class com.stardevllc.starchat.ChatSelector
getType
-
Constructor Details
-
PrivateChatSelector
public PrivateChatSelector()
-
-
Method Details
-
getSelection
Description copied from class:ChatSelectorThis method is called when thetypevalue 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:
getSelectionin classChatSelector- Parameters:
player- The Player that used the /chat commandargs- The arguments of the command. This is the full arguments and not stripped down in any way.- Returns:
- The selection for the space
-