Package net.minecraft.src
Class DedicatedPlayerList
java.lang.Object
net.minecraft.src.ServerConfigurationManager
net.minecraft.src.DedicatedPlayerList
-
Field Summary
Fields inherited from class net.minecraft.src.ServerConfigurationManager
maxPlayers, playerEntityList, viewDistance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis adds a username to the ops list, then saves the op listvoidaddToWhiteList(String par1Str) Add the specified player to the white list.booleanisAllowedToLogin(String par1Str) Determine if the player is allowed to connect based on current server settings.voidEither does nothing, or calls readWhiteList.voidremoveFromWhitelist(String par1Str) Remove the specified player from the whitelist.voidThis removes a username from the ops list, then saves the op listvoidsetWhiteListEnabled(boolean par1) Methods inherited from class net.minecraft.src.ServerConfigurationManager
allowUserToConnect, createPlayerForUser, findPlayers, func_110459_a, func_72375_a, func_96456_a, getAllUsernames, getAvailablePlayerDat, getBannedIPs, getBannedPlayers, getCurrentPlayerCount, getEntityViewDistance, getHostPlayerData, getMaxPlayers, getOps, getPlayerEntity, getPlayerList, getPlayerListAsString, getViewDistance, getWhiteListedPlayers, initializeConnectionToPlayer, isPlayerOpped, isWhiteListEnabled, playerLoggedIn, playerLoggedOut, readPlayerDataFromFile, removeAllPlayers, respawnPlayer, saveAllPlayerData, sendChatMsg, sendPacketToAllPlayers, sendPacketToAllPlayersInDimension, sendPlayerInfoToAllPlayers, sendToAllNear, sendToAllNearExcept, serverUpdateMountedMovingPlayer, setCommandsAllowedForAll, setGameType, setPlayerManager, syncPlayerInventory, transferEntityToWorld, transferPlayerToDimension, updateTimeAndWeatherForPlayer, writePlayerData
-
Constructor Details
-
DedicatedPlayerList
-
-
Method Details
-
setWhiteListEnabled
public void setWhiteListEnabled(boolean par1) - Overrides:
setWhiteListEnabledin classServerConfigurationManager
-
addOp
This adds a username to the ops list, then saves the op list- Overrides:
addOpin classServerConfigurationManager
-
removeOp
This removes a username from the ops list, then saves the op list- Overrides:
removeOpin classServerConfigurationManager
-
removeFromWhitelist
Remove the specified player from the whitelist.- Overrides:
removeFromWhitelistin classServerConfigurationManager
-
addToWhiteList
Add the specified player to the white list.- Overrides:
addToWhiteListin classServerConfigurationManager
-
loadWhiteList
public void loadWhiteList()Either does nothing, or calls readWhiteList.- Overrides:
loadWhiteListin classServerConfigurationManager
-
isAllowedToLogin
Determine if the player is allowed to connect based on current server settings.- Overrides:
isAllowedToLoginin classServerConfigurationManager
-
getDedicatedServerInstance
-
getServerInstance
- Overrides:
getServerInstancein classServerConfigurationManager
-