Interface IPlayer
public interface IPlayer
Common player methods
To be implemented for each server software supported by this plugin
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
boolean
void
sendMessage
(String message) Sends a personal message to the player
-
Method Details
-
isOperator
boolean isOperator()- Returns:
true
if the player is an operator
-
getName
String getName()- Returns:
- The player's username
-
sendMessage
Sends a personal message to the player -
hasPlayedBefore
boolean hasPlayedBefore()- Returns:
true
if the player has joined the server before
-