13
0
geforkt von Mirrors/Paper
Paper/paper-api/src/main/java/org/bukkit/OfflinePlayer.java
Bukkit/Spigot 715dcf90c8 Moved all vanilla commands into Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 04:37:23 +01:00

48 Zeilen
978 B
Java

package org.bukkit;
import org.bukkit.permissions.ServerOperator;
public interface OfflinePlayer extends ServerOperator {
/**
* Checks if this player is currently online
*
* @return true if they are online
*/
public boolean isOnline();
/**
* Returns the name of this player
*
* @return Player name
*/
public String getName();
/**
* Checks if this player is banned or not
*
* @return true if banned, otherwise false
*/
public boolean isBanned();
/**
* Bans or unbans this player
*
* @param banned true if banned
*/
public void setBanned(boolean banned);
/**
* Checks if this player is whitelisted or not
*
* @return true if whitelisted
*/
public boolean isWhitelisted();
/**
* Sets if this player is whitelisted or not
*
* @param value true if whitelisted
*/
public void setWhitelisted(boolean value);
}