Package com.stardevllc.starchat
Class ChatSelector
java.lang.Object
com.stardevllc.starchat.ChatSelector
- Direct Known Subclasses:
PrivateChatSelector
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ChatSelector.ChatSelectiongetSelection(org.bukkit.entity.Player player, String[] args) This method is called when thetypevalue is the same.final StringgetType()
-
Constructor Details
-
ChatSelector
-
-
Method Details
-
getType
-
getSelection
public abstract ChatSelector.ChatSelection getSelection(org.bukkit.entity.Player player, String[] args) This 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]- 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
-