public class DedicatedPlayerList extends ServerConfigurationManager
playerEntityList
Constructor and Description |
---|
DedicatedPlayerList(DedicatedServer par1DedicatedServer) |
Modifier and Type | Method and Description |
---|---|
void |
addOp(String par1Str)
This adds a username to the ops list, then saves the op list
|
void |
addToWhiteList(String par1Str)
Add the specified player to the white list.
|
DedicatedServer |
getDedicatedServerInstance() |
MinecraftServer |
getServerInstance() |
boolean |
isAllowedToLogin(String par1Str)
Determine if the player is allowed to connect based on current server settings.
|
void |
loadWhiteList()
Either does nothing, or calls readWhiteList.
|
void |
removeFromWhitelist(String par1Str)
Remove the specified player from the whitelist.
|
void |
removeOp(String par1Str)
This removes a username from the ops list, then saves the op list
|
void |
setWhiteListEnabled(boolean par1) |
allowUserToConnect, createPlayerForUser, findPlayers, func_110459_a, func_72375_a, getAllUsernames, getAvailablePlayerDat, getBannedIPs, getBannedPlayers, getCurrentPlayerCount, getEntityViewDistance, getHostPlayerData, getMaxPlayers, getOps, getPlayerForUsername, 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, transferEntityToWorld, transferPlayerToDimension, transferPlayerToDimension, updateTimeAndWeatherForPlayer
public DedicatedPlayerList(DedicatedServer par1DedicatedServer)
public void setWhiteListEnabled(boolean par1)
setWhiteListEnabled
in class ServerConfigurationManager
public void addOp(String par1Str)
addOp
in class ServerConfigurationManager
public void removeOp(String par1Str)
removeOp
in class ServerConfigurationManager
public void removeFromWhitelist(String par1Str)
removeFromWhitelist
in class ServerConfigurationManager
public void addToWhiteList(String par1Str)
addToWhiteList
in class ServerConfigurationManager
public void loadWhiteList()
loadWhiteList
in class ServerConfigurationManager
public boolean isAllowedToLogin(String par1Str)
isAllowedToLogin
in class ServerConfigurationManager
public DedicatedServer getDedicatedServerInstance()
public MinecraftServer getServerInstance()
getServerInstance
in class ServerConfigurationManager