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(com.mojang.authlib.GameProfile profile) |
void |
addWhitelistedPlayer(com.mojang.authlib.GameProfile profile) |
boolean |
canJoin(com.mojang.authlib.GameProfile profile) |
DedicatedServer |
getServerInstance() |
void |
loadWhiteList() |
void |
removeOp(com.mojang.authlib.GameProfile profile) |
void |
removePlayerFromWhitelist(com.mojang.authlib.GameProfile profile) |
void |
setWhiteListEnabled(boolean whitelistEnabled) |
allowUserToConnect, canSendCommands, createPlayerForUser, func_177452_b, func_177453_a, func_180602_f, func_72375_a, func_96456_a, getAllProfiles, getAllUsernames, getAvailablePlayerDat, getBannedIPs, getBannedPlayers, getCurrentPlayerCount, getEntityViewDistance, getHostPlayerData, getMaxPlayers, getOppedPlayerNames, getOppedPlayers, getPlayerByUsername, getPlayerByUUID, getPlayersMatchingAddress, getPlayerStatsFile, getViewDistance, getWhitelistedPlayerNames, getWhitelistedPlayers, initializeConnectionToPlayer, isWhiteListEnabled, onTick, playerLoggedIn, playerLoggedOut, readPlayerDataFromFile, recreatePlayerEntity, removeAllPlayers, saveAllPlayerData, sendChatMsg, sendChatMsgImpl, sendPacketToAllPlayers, sendPacketToAllPlayersInDimension, sendToAllNear, sendToAllNearExcept, serverUpdateMountedMovingPlayer, setCommandsAllowedForAll, setGameType, setPlayerManager, setViewDistance, syncPlayerInventory, transferEntityToWorld, transferEntityToWorld, transferPlayerToDimension, transferPlayerToDimension, updateTimeAndWeatherForPlayer, writePlayerDatapublic DedicatedPlayerList(DedicatedServer server)
public void setWhiteListEnabled(boolean whitelistEnabled)
setWhiteListEnabled in class ServerConfigurationManagerpublic void addOp(com.mojang.authlib.GameProfile profile)
addOp in class ServerConfigurationManagerpublic void removeOp(com.mojang.authlib.GameProfile profile)
removeOp in class ServerConfigurationManagerpublic void removePlayerFromWhitelist(com.mojang.authlib.GameProfile profile)
removePlayerFromWhitelist in class ServerConfigurationManagerpublic void addWhitelistedPlayer(com.mojang.authlib.GameProfile profile)
addWhitelistedPlayer in class ServerConfigurationManagerpublic void loadWhiteList()
loadWhiteList in class ServerConfigurationManagerpublic boolean canJoin(com.mojang.authlib.GameProfile profile)
canJoin in class ServerConfigurationManagerpublic DedicatedServer getServerInstance()
getServerInstance in class ServerConfigurationManager