public class DedicatedPlayerList extends ServerConfigurationManager
FILE_IPBANS, FILE_OPS, FILE_PLAYERBANS, FILE_WHITELIST, maxPlayers, playerEntityList, uuidToPlayerMap
Constructor and Description |
---|
DedicatedPlayerList(DedicatedServer server) |
Modifier and Type | Method and Description |
---|---|
void |
addOp(GameProfile profile) |
void |
addWhitelistedPlayer(GameProfile profile) |
boolean |
canJoin(GameProfile profile) |
boolean |
func_183023_f(GameProfile p_183023_1_) |
DedicatedServer |
getServerInstance() |
void |
loadWhiteList()
Either does nothing, or calls readWhiteList.
|
void |
removeOp(GameProfile profile) |
void |
removePlayerFromWhitelist(GameProfile profile) |
void |
setWhiteListEnabled(boolean whitelistEnabled) |
allowUserToConnect, canSendCommands, createPlayerForUser, func_181058_b, getAllProfiles, getAllUsernames, getAvailablePlayerDat, getBannedIPs, getBannedPlayers, getCurrentPlayerCount, getEntityViewDistance, getHostPlayerData, getMaxPlayers, getOppedPlayerNames, getOppedPlayers, getPlayerByUsername, getPlayerByUUID, getPlayerList, getPlayerNBT, getPlayersMatchingAddress, getPlayerStatsFile, getViewDistance, getWhitelistedPlayerNames, getWhitelistedPlayers, initializeConnectionToPlayer, isWhiteListEnabled, onTick, playerLoggedIn, playerLoggedOut, preparePlayer, readPlayerDataFromFile, recreatePlayerEntity, removeAllPlayers, saveAllPlayerData, sendChatMsg, sendChatMsgImpl, sendMessageToAllTeamMembers, sendMessageToTeamOrEvryPlayer, sendPacketToAllPlayers, sendPacketToAllPlayersInDimension, sendScoreboard, sendToAllNear, sendToAllNearExcept, serverUpdateMountedMovingPlayer, setCommandsAllowedForAll, setGameType, setPlayerManager, setViewDistance, syncPlayerInventory, transferEntityToWorld, transferEntityToWorld, transferPlayerToDimension, transferPlayerToDimension, updateTimeAndWeatherForPlayer, writePlayerData
public DedicatedPlayerList(DedicatedServer server)
public void setWhiteListEnabled(boolean whitelistEnabled)
setWhiteListEnabled
in class ServerConfigurationManager
public void addOp(GameProfile profile)
addOp
in class ServerConfigurationManager
public void removeOp(GameProfile profile)
removeOp
in class ServerConfigurationManager
public void removePlayerFromWhitelist(GameProfile profile)
removePlayerFromWhitelist
in class ServerConfigurationManager
public void addWhitelistedPlayer(GameProfile profile)
addWhitelistedPlayer
in class ServerConfigurationManager
public void loadWhiteList()
loadWhiteList
in class ServerConfigurationManager
public boolean canJoin(GameProfile profile)
canJoin
in class ServerConfigurationManager
public DedicatedServer getServerInstance()
getServerInstance
in class ServerConfigurationManager
public boolean func_183023_f(GameProfile p_183023_1_)
func_183023_f
in class ServerConfigurationManager