Package com.alessiodp.core.common.user
Interface OfflineUser
-
- All Known Subinterfaces:
User
public interface OfflineUser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable StringgetName()Get the name of the user@NotNull ADPPlugingetPlugin()Get plugin instanceUUIDgetUUID()Get UUID of the user.booleanisBanned()Is the player banned?booleanisOnline()Is the user online?booleanisOperator()Is the player an operator?
-
-
-
Method Detail
-
getUUID
UUID getUUID()
Get UUID of the user. Returns null if its not a player- Returns:
- the UUID of the user, null if not player
-
isOnline
boolean isOnline()
Is the user online?- Returns:
- true if the user is online
-
isOperator
boolean isOperator()
Is the player an operator?- Returns:
- true if is an operator
-
isBanned
boolean isBanned()
Is the player banned?- Returns:
- true if is banned
-
getName
@Nullable @Nullable String getName()
Get the name of the user- Returns:
- the name of the user
-
getPlugin
@NotNull @NotNull ADPPlugin getPlugin()
Get plugin instance- Returns:
- the plugin instance
-
-