net.minecraft.server

public abstract class PlayerManager

pl
net.minecraft.class_743
net.minecraft.server.PlayerManager
net.minecraft.server.management.PlayerList
net.minecraft.server.management.PlayerList

Field summary

Modifier and TypeField
public static final File
a
field_9003
PLAYER_BANS_FILE
field_152613_a
FILE_PLAYERBANS
public static final File
b
field_9004
IP_BANS_FILE
field_152614_b
FILE_IPBANS
public static final File
c
field_9005
OPS_FILE
field_152615_c
FILE_OPS
public static final File
d
field_9006
WHITELIST_FILE
field_152616_d
FILE_WHITELIST
private static final org.apache.logging.log4j.Logger
f
field_9007
LOGGER
field_148546_d
LOGGER
private static final SimpleDateFormat
g
field_2711
DATE_FORMAT
field_72403_e
DATE_FORMAT
private final MinecraftServer
h
field_2712
server
field_72400_f
server
private final List<ServerPlayerEntity>
i
field_2708
players
field_72404_b
playerEntityList
private final Map<UUID, ServerPlayerEntity>
j
field_11786
playersByUuid
field_177454_f
uuidToPlayerMap
private final PlayerBans
k
field_9008
bans
field_72401_g
bannedPlayers
private final IpBans
l
field_2714
ipBans
field_72413_h
bannedIPs
private final Ops
m
field_9009
ops
field_72414_i
ops
private final Whitelist
n
field_9010
whitelist
field_72411_j
whiteListedPlayers
private final Map<UUID, ServerPlayerStats>
o
field_9011
stats
field_148547_k
playerStatFiles
private final Map<UUID, PlayerAdvancements>
p
field_16412
advancements
field_192055_p
advancements
private PlayerDataStorage
q
field_2717
dataStorage
field_72412_k
playerDataManager
private boolean
r
field_2718
enforceWhitelist
field_72409_l
whiteListEnforced
protected int
e
field_2709
maxPlayerCount
field_72405_c
maxPlayers
private int
s
field_2710
viewDistance
field_72402_d
viewDistance
private GameMode
t
field_2719
defaultGameMode
field_72410_m
gameType
private boolean
u
field_2720
allowCommands
field_72407_n
commandsAllowedForAll
private int
v
field_2721
pingUpdateTime
field_72408_o
playerPingIndex

Constructor summary

ModifierConstructor
public (MinecraftServer server)

Method summary

Modifier and TypeMethod
public void
a(gw arg0, oq arg1)
method_12827(class_1957 arg0, class_798 arg1)
onLogin(Connection connection, ServerPlayerEntity player)
func_72355_a(NetworkManager arg0, EntityPlayerMP arg1)
initializeConnectionToPlayer(NetworkManager netManager, EntityPlayerMP playerIn)
protected void
a(nv arg0, oq arg1)
method_5293(class_1545 arg0, class_798 arg1)
updateScoreboard(ServerScoreboard scoreboard, ServerPlayerEntity player)
func_96456_a(ServerScoreboard arg0, EntityPlayerMP arg1)
sendScoreboard(ServerScoreboard scoreboardIn, EntityPlayerMP playerIn)
public void
a(oo[] arg0)
method_1993(class_795[] arg0)
setWorld(ServerWorld[] worlds)
func_72364_a(WorldServer[] arg0)
setPlayerManager(WorldServer[] worldServers)
public void
a(oq arg0, oo arg1)
method_1986(class_798 arg0, class_795 arg1)
onChangedDimension(ServerPlayerEntity player, ServerWorld prevWorld)
func_72375_a(EntityPlayerMP arg0, WorldServer arg1)
preparePlayer(EntityPlayerMP playerIn, WorldServer worldIn)
public int
d()
method_1978()
getViewDistance()
func_72372_a()
getEntityViewDistance()
public NbtCompound
a(oq arg0)
method_5294(class_798 arg0)
load(ServerPlayerEntity player)
func_72380_a(EntityPlayerMP arg0)
readPlayerDataFromFile(EntityPlayerMP playerIn)
protected void
b(oq arg0)
method_1995(class_798 arg0)
save(ServerPlayerEntity player)
func_72391_b(EntityPlayerMP arg0)
writePlayerData(EntityPlayerMP playerIn)
public void
c(oq arg0)
method_2000(class_798 arg0)
add(ServerPlayerEntity player)
func_72377_c(EntityPlayerMP arg0)
playerLoggedIn(EntityPlayerMP playerIn)
public void
d(oq arg0)
method_2003(class_798 arg0)
move(ServerPlayerEntity player)
func_72358_d(EntityPlayerMP arg0)
serverUpdateMovingPlayer(EntityPlayerMP playerIn)
public void
e(oq arg0)
method_12830(class_798 arg0)
remove(ServerPlayerEntity player)
func_72367_e(EntityPlayerMP arg0)
playerLoggedOut(EntityPlayerMP playerIn)
public String
a(SocketAddress arg0, GameProfile arg1)
method_1989(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
canLogin(SocketAddress address, com.mojang.authlib.GameProfile profile)
func_148542_a(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
allowUserToConnect(SocketAddress address, com.mojang.authlib.GameProfile profile)
public ServerPlayerEntity
g(GameProfile arg0)
method_8230(com.mojang.authlib.GameProfile arg0)
createForLogin(com.mojang.authlib.GameProfile profile)
func_148545_a(com.mojang.authlib.GameProfile arg0)
createPlayerForUser(com.mojang.authlib.GameProfile profile)
public ServerPlayerEntity
a(oq arg0, int arg1, boolean arg2)
method_1985(class_798 arg0, int arg1, boolean arg2)
respawn(ServerPlayerEntity player, int dimension, boolean alive)
func_72368_a(EntityPlayerMP arg0, int arg1, boolean arg2)
recreatePlayerEntity(EntityPlayerMP playerIn, int dimension, boolean conqueredEnd)
public void
f(oq arg0)
method_12831(class_798 arg0)
updatePermissions(ServerPlayerEntity player)
func_187243_f(EntityPlayerMP arg0)
updatePermissionLevel(EntityPlayerMP player)
public void
a(oq arg0, int arg1)
method_1984(class_798 arg0, int arg1)
changeDimension(ServerPlayerEntity player, int dimension)
func_187242_a(EntityPlayerMP arg0, int arg1)
changePlayerDimension(EntityPlayerMP player, int dimensionIn)
public void
a(vg arg0, int arg1, oo arg2, oo arg3)
method_4399(class_864 arg0, int arg1, class_795 arg2, class_795 arg3)
changeDimension(Entity entity, int dimension, ServerWorld fromWorld, ServerWorld toWorld)
func_82448_a(Entity arg0, int arg1, WorldServer arg2, WorldServer arg3)
transferEntityToWorld(Entity entityIn, int lastDimension, WorldServer oldWorldIn, WorldServer toWorldIn)
public void
e()
method_1994()
tick()
func_72374_b()
onTick()
public void
a(ht<?> arg0)
method_1981(class_700<?> arg0)
sendPacket(Packet<?> packet)
func_148540_a(Packet<?> arg0)
sendPacketToAllPlayers(Packet<?> packetIn)
public void
a(ht<?> arg0, int arg1)
method_1982(class_700<?> arg0, int arg1)
sendPacket(Packet<?> packet, int dimension)
func_148537_a(Packet<?> arg0, int arg1)
sendPacketToAllPlayersInDimension(Packet<?> packetIn, int dimension)
public void
a(aed arg0, hh arg1)
method_10780(class_988 arg0, class_1982 arg1)
sendMessageToTeamMembers(PlayerEntity source, Text message)
func_177453_a(EntityPlayer arg0, ITextComponent arg1)
sendMessageToAllTeamMembers(EntityPlayer player, ITextComponent message)
public void
b(aed arg0, hh arg1)
method_10781(class_988 arg0, class_1982 arg1)
sendMessageToNonTeamMembers(PlayerEntity source, Text message)
func_177452_b(EntityPlayer arg0, ITextComponent arg1)
sendMessageToTeamOrAllPlayers(EntityPlayer player, ITextComponent message)
public String
b(boolean arg0)
method_8226(boolean arg0)
listNames(boolean addScoreboardNames)
func_181058_b(boolean arg0)
getFormattedListOfPlayers(boolean includeUUIDs)
public String[]
f()
method_2002()
getNames()
func_72369_d()
getOnlinePlayerNames()
public GameProfile[]
g()
method_8231()
getProfiles()
func_152600_g()
getOnlinePlayerProfiles()
public PlayerBans
h()
method_8233()
getBans()
func_152608_h()
getBannedPlayers()
public IpBans
i()
method_2008()
getIpBans()
func_72363_f()
getBannedIPs()
public void
a(GameProfile arg0)
method_8223(com.mojang.authlib.GameProfile arg0)
addOp(com.mojang.authlib.GameProfile profile)
func_152605_a(com.mojang.authlib.GameProfile arg0)
addOp(com.mojang.authlib.GameProfile profile)
public void
b(GameProfile arg0)
method_8225(com.mojang.authlib.GameProfile arg0)
removeOp(com.mojang.authlib.GameProfile profile)
func_152610_b(com.mojang.authlib.GameProfile arg0)
removeOp(com.mojang.authlib.GameProfile profile)
private void
b(oq arg0, int arg1)
method_12829(class_798 arg0, int arg1)
updatePermissions(ServerPlayerEntity player, int permissions)
func_187245_a(EntityPlayerMP arg0, int arg1)
sendPlayerPermissionLevel(EntityPlayerMP player, int permLevel)
public boolean
e(GameProfile arg0)
method_8229(com.mojang.authlib.GameProfile arg0)
isWhitelisted(com.mojang.authlib.GameProfile profile)
func_152607_e(com.mojang.authlib.GameProfile arg0)
canJoin(com.mojang.authlib.GameProfile profile)
public boolean
h(GameProfile arg0)
method_8232(com.mojang.authlib.GameProfile arg0)
isOp(com.mojang.authlib.GameProfile profile)
func_152596_g(com.mojang.authlib.GameProfile arg0)
canSendCommands(com.mojang.authlib.GameProfile profile)
public ServerPlayerEntity
a(String arg0)
method_2010(String arg0)
get(String name)
func_152612_a(String arg0)
getPlayerByUsername(String username)
public void
a(aed arg0, double arg1, double arg2, double arg3, double arg4, int arg5, ht<?> arg6)
method_12828(class_988 arg0, double arg1, double arg2, double arg3, double arg4, int arg5, class_700<?> arg6)
sendPacket(PlayerEntity source, double x, double y, double z, double range, int dimension, Packet<?> packet)
func_148543_a(EntityPlayer arg0, double arg1, double arg2, double arg3, double arg4, int arg5, Packet<?> arg6)
sendToAllNearExcept(EntityPlayer packetIn, double x, double y, double z, double radius, int arg5, Packet<?> arg6)
public void
j()
method_2011()
saveAll()
func_72389_g()
saveAllPlayerData()
public void
d(GameProfile arg0)
method_8228(com.mojang.authlib.GameProfile arg0)
addToWhitelist(com.mojang.authlib.GameProfile profile)
func_152601_d(com.mojang.authlib.GameProfile arg0)
addWhitelistedPlayer(com.mojang.authlib.GameProfile profile)
public void
c(GameProfile arg0)
method_8227(com.mojang.authlib.GameProfile arg0)
removeFromWhitelist(com.mojang.authlib.GameProfile profile)
func_152597_c(com.mojang.authlib.GameProfile arg0)
removePlayerFromWhitelist(com.mojang.authlib.GameProfile profile)
public Whitelist
k()
method_8234()
getWhitelist()
func_152599_k()
getWhitelistedPlayers()
public String[]
l()
method_8235()
getWhitelistNames()
func_152598_l()
getWhitelistedPlayerNames()
public Ops
m()
method_8236()
getOps()
func_152603_m()
getOppedPlayers()
public String[]
n()
method_8237()
getOpNames()
func_152606_n()
getOppedPlayerNames()
public void
a()
method_2016()
reloadWhitelist()
func_187244_a()
reloadWhitelist()
public void
b(oq arg0, oo arg1)
method_1996(class_798 arg0, class_795 arg1)
sendWorldInfo(ServerPlayerEntity player, ServerWorld world)
func_72354_b(EntityPlayerMP arg0, WorldServer arg1)
updateTimeAndWeatherForPlayer(EntityPlayerMP playerIn, WorldServer worldIn)
public void
g(oq arg0)
method_2009(class_798 arg0)
sendPlayerInfo(ServerPlayerEntity player)
func_72385_f(EntityPlayerMP arg0)
syncPlayerInventory(EntityPlayerMP playerIn)
public int
o()
method_2018()
getCount()
func_72394_k()
getCurrentPlayerCount()
public int
p()
method_2019()
getMaxCount()
func_72352_l()
getMaxPlayers()
public String[]
q()
method_2020()
getSavedIds()
func_72373_m()
getAvailablePlayerDat()
public boolean
r()
method_2021()
isWhitelistEnforced()
func_72383_n()
isWhiteListEnabled()
public void
a(boolean arg0)
method_1992(boolean arg0)
setEnforceWhitelist(boolean enforce)
func_72371_a(boolean arg0)
setWhiteListEnabled(boolean whitelistEnabled)
public List<ServerPlayerEntity>
b(String arg0)
method_2017(String arg0)
getAtIp(String ip)
func_72382_j(String arg0)
getPlayersMatchingAddress(String address)
public int
s()
method_2022()
getChunkViewDistance()
func_72395_o()
getViewDistance()
public MinecraftServer
c()
method_2023()
getServer()
func_72365_p()
getServerInstance()
public NbtCompound
t()
method_2024()
getSingleplayerData()
func_72378_q()
getHostPlayerData()
private void
a(oq arg0, oq arg1, amu arg2)
method_1987(class_798 arg0, class_798 arg1, class_1150 arg2)
copyGameMode(ServerPlayerEntity player, ServerPlayerEntity fromPlayer, World world)
func_72381_a(EntityPlayerMP arg0, EntityPlayerMP arg1, World arg2)
setPlayerGameTypeBasedOnOther(EntityPlayerMP target, EntityPlayerMP source, World worldIn)
public void
u()
method_2025()
onServerClosed()
func_72392_r()
removeAllPlayers()
public void
a(hh arg0, boolean arg1)
method_6062(class_1982 arg0, boolean arg1)
sendMessage(Text message, boolean system)
func_148544_a(ITextComponent arg0, boolean arg1)
sendMessage(ITextComponent component, boolean isSystem)
public void
a(hh arg0)
method_6061(class_1982 arg0)
sendSystemMessage(Text message)
func_148539_a(ITextComponent arg0)
sendMessage(ITextComponent component)
public ServerPlayerStats
a(aed arg0)
method_8224(class_988 arg0)
getStats(PlayerEntity player)
func_152602_a(EntityPlayer arg0)
getPlayerStatsFile(EntityPlayer playerIn)
public PlayerAdvancements
h(oq arg0)
method_14979(class_798 arg0)
getAdvancements(ServerPlayerEntity player)
func_192054_h(EntityPlayerMP arg0)
getPlayerAdvancements(EntityPlayerMP arg0)
public void
a(int arg0)
method_8222(int arg0)
updateViewDistance(int viewDistance)
func_152611_a(int arg0)
setViewDistance(int distance)
public List<ServerPlayerEntity>
v()
method_10783()
getAll()
func_181057_v()
getPlayers()
public ServerPlayerEntity
a(UUID arg0)
method_10779(UUID arg0)
get(UUID uuid)
func_177451_a(UUID arg0)
getPlayerByUUID(UUID playerUUID)
public boolean
f(GameProfile arg0)
method_10782(com.mojang.authlib.GameProfile arg0)
canBypassPlayerLimit(com.mojang.authlib.GameProfile profile)
func_183023_f(com.mojang.authlib.GameProfile arg0)
bypassesPlayerLimit(com.mojang.authlib.GameProfile profile)
public void
w()
method_14980()
reloadResources()
func_193244_w()
reloadResources()
public void
a(ams arg0)
method_1991(class_1157 arg0)
setDefaultGameMode(GameMode gameMode)
func_152604_a(GameType arg0)
setGameType(GameType gameModeIn)
public void
c(boolean arg0)
method_1998(boolean arg0)
setAllowCommands(boolean allowCommands)
func_72387_b(boolean arg0)
setCommandsAllowedForAll(boolean arg0)