net.minecraft.server

public abstract class PlayerManager

xt
net.minecraft.class_3324
net.minecraft.server.PlayerManager
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_14355
BANNED_PLAYERS_FILE
PLAYER_BANS_FILE
field_152613_a
FILE_PLAYERBANS
public static final File
b
field_14364
BANNED_IPS_FILE
IP_BANS_FILE
field_152614_b
FILE_IPBANS
public static final File
c
field_14348
OPERATORS_FILE
OPS_FILE
field_152615_c
FILE_OPS
public static final File
d
field_14343
WHITELIST_FILE
WHITELIST_FILE
field_152616_d
FILE_WHITELIST
private static final org.apache.logging.log4j.Logger
f
field_14349
LOGGER
LOGGER
field_148546_d
LOGGER
private static final SimpleDateFormat
g
field_14356
DATE_FORMATTER
DATE_FORMAT
field_72403_e
DATE_FORMAT
private final MinecraftServer
h
field_14360
server
server
field_72400_f
server
private final List<ServerPlayerEntity>
i
field_14351
players
players
field_72404_b
players
private final Map<UUID, ServerPlayerEntity>
j
field_14354
playerMap
playersByUuid
field_177454_f
uuidToPlayerMap
private final BannedPlayerList
k
field_14344
bannedProfiles
bans
field_72401_g
bannedPlayers
private final BannedIpList
l
field_14345
bannedIps
ipBans
field_72413_h
bannedIPs
private final OperatorList
m
field_14353
ops
ops
field_72414_i
ops
private final Whitelist
n
field_14361
whitelist
whitelist
field_72411_j
whiteListedPlayers
private final Map<UUID, ServerStatHandler>
o
field_14362
statisticsMap
stats
field_148547_k
playerStatFiles
private final Map<UUID, PlayerAdvancementTracker>
p
field_14346
advancementManagerMap
advancements
field_192055_p
advancements
private PlayerSaveHandler
q
field_14358
saveHandler
dataStorage
field_72412_k
playerDataManager
private boolean
r
field_14352
whitelistEnabled
enforceWhitelist
field_72409_l
whiteListEnforced
protected final int
e
field_14347
maxPlayers
maxPlayerCount
field_72405_c
maxPlayers
private int
s
field_14359
viewDistance
viewDistance
field_72402_d
viewDistance
private GameMode
t
field_14363
gameMode
defaultGameMode
field_72410_m
gameType
private boolean
u
field_14350
cheatsAllowed
allowCommands
field_72407_n
commandsAllowedForAll
private int
v
field_14357
latencyUpdateTimer
pingUpdateTime
field_72408_o
playerPingIndex

Constructor summary

ModifierConstructor
public (MinecraftServer arg0, int arg1)

Method summary

Modifier and TypeMethod
public void
a(jb arg0, vj arg1)
method_14570(class_2535 arg0, class_3222 arg1)
onPlayerConnect(ClientConnection arg0, ServerPlayerEntity arg1)
onLogin(Connection connection, ServerPlayerEntity player)
func_72355_a(NetworkManager arg0, ServerPlayerEntity arg1)
initializeConnectionToPlayer(NetworkManager netManager, ServerPlayerEntity playerIn)
protected void
a(rh arg0, vj arg1)
method_14588(class_2995 arg0, class_3222 arg1)
sendScoreboard(ServerScoreboard arg0, ServerPlayerEntity arg1)
updateScoreboard(ServerScoreboard scoreboard, ServerPlayerEntity player)
func_96456_a(ServerScoreboard arg0, ServerPlayerEntity arg1)
sendScoreboard(ServerScoreboard scoreboardIn, ServerPlayerEntity playerIn)
public void
a(vi arg0)
method_14591(class_3218 arg0)
setMainWorld(ServerWorld arg0)
setWorld(ServerWorld arg0)
func_212504_a(ServerWorld arg0)
func_212504_a(ServerWorld arg0)
public CompoundTag
a(vj arg0)
method_14600(class_3222 arg0)
loadPlayerData(ServerPlayerEntity arg0)
load(ServerPlayerEntity player)
func_72380_a(ServerPlayerEntity arg0)
readPlayerDataFromFile(ServerPlayerEntity playerIn)
protected void
b(vj arg0)
method_14577(class_3222 arg0)
savePlayerData(ServerPlayerEntity arg0)
save(ServerPlayerEntity player)
func_72391_b(ServerPlayerEntity arg0)
writePlayerData(ServerPlayerEntity playerIn)
public void
c(vj arg0)
method_14611(class_3222 arg0)
remove(ServerPlayerEntity arg0)
remove(ServerPlayerEntity player)
func_72367_e(ServerPlayerEntity arg0)
playerLoggedOut(ServerPlayerEntity playerIn)
public Text
a(SocketAddress arg0, GameProfile arg1)
method_14586(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
checkCanJoin(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
canLogin(SocketAddress address, com.mojang.authlib.GameProfile profile)
func_206258_a(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
canPlayerLogin(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
public ServerPlayerEntity
g(GameProfile arg0)
method_14613(com.mojang.authlib.GameProfile arg0)
createPlayer(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(vj arg0, byi arg1, boolean arg2)
method_14556(class_3222 arg0, class_2874 arg1, boolean arg2)
respawnPlayer(ServerPlayerEntity arg0, DimensionType arg1, boolean arg2)
respawn(ServerPlayerEntity player, DimensionType dimension, boolean alive)
func_72368_a(ServerPlayerEntity arg0, DimensionType arg1, boolean arg2)
recreatePlayerEntity(ServerPlayerEntity playerIn, DimensionType dimension, boolean conqueredEnd)
public void
d(vj arg0)
method_14576(class_3222 arg0)
sendCommandTree(ServerPlayerEntity arg0)
updatePermissions(ServerPlayerEntity player)
func_187243_f(ServerPlayerEntity arg0)
updatePermissionLevel(ServerPlayerEntity player)
public void
d()
method_14601()
updatePlayerLatency()
tick()
func_72374_b()
tick()
public void
a(kb<?> arg0)
method_14581(class_2596<?> arg0)
sendToAll(Packet<?> arg0)
sendPacket(Packet<?> packet)
func_148540_a(IPacket<?> arg0)
sendPacketToAllPlayers(IPacket<?> packetIn)
public void
a(kb<?> arg0, byi arg1)
method_14589(class_2596<?> arg0, class_2874 arg1)
sendToDimension(Packet<?> arg0, DimensionType arg1)
sendPacket(Packet<?> packet, DimensionType dimension)
func_148537_a(IPacket<?> arg0, DimensionType arg1)
sendPacketToAllPlayersInDimension(IPacket<?> packetIn, DimensionType dimension)
public void
a(awb arg0, jn arg1)
method_14564(class_1657 arg0, class_2561 arg1)
sendToTeam(PlayerEntity arg0, Text arg1)
sendMessageToTeamMembers(PlayerEntity source, Text message)
func_177453_a(PlayerEntity arg0, ITextComponent arg1)
sendMessageToAllTeamMembers(PlayerEntity player, ITextComponent message)
public void
b(awb arg0, jn arg1)
method_14565(class_1657 arg0, class_2561 arg1)
sendToOtherTeams(PlayerEntity arg0, Text arg1)
sendMessageToNonTeamMembers(PlayerEntity source, Text message)
func_177452_b(PlayerEntity arg0, ITextComponent arg1)
sendMessageToTeamOrAllPlayers(PlayerEntity player, ITextComponent message)
public String[]
e()
method_14580()
getPlayerNames()
getNames()
func_72369_d()
getOnlinePlayerNames()
public BannedPlayerList
g()
method_14563()
getUserBanList()
getBans()
func_152608_h()
getBannedPlayers()
public BannedIpList
h()
method_14585()
getIpBanList()
getIpBans()
func_72363_f()
getBannedIPs()
public void
a(GameProfile arg0)
method_14582(com.mojang.authlib.GameProfile arg0)
addToOperators(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_14604(com.mojang.authlib.GameProfile arg0)
removeFromOperators(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
a(vj arg0, int arg1)
method_14596(class_3222 arg0, int arg1)
sendCommandTree(ServerPlayerEntity arg0, int arg1)
updatePermissions(ServerPlayerEntity player, int permissions)
func_187245_a(ServerPlayerEntity arg0, int arg1)
sendPlayerPermissionLevel(ServerPlayerEntity player, int permLevel)
public boolean
e(GameProfile arg0)
method_14587(com.mojang.authlib.GameProfile arg0)
isWhitelisted(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_14569(com.mojang.authlib.GameProfile arg0)
isOperator(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_14566(String arg0)
getPlayer(String arg0)
get(String name)
func_152612_a(String arg0)
getPlayerByUsername(String username)
public void
a(awb arg0, double arg1, double arg2, double arg3, double arg4, byi arg5, kb<?> arg6)
method_14605(class_1657 arg0, double arg1, double arg2, double arg3, double arg4, class_2874 arg5, class_2596<?> arg6)
sendToAround(PlayerEntity arg0, double arg1, double arg2, double arg3, double arg4, DimensionType arg5, Packet<?> arg6)
sendPacket(PlayerEntity source, double x, double y, double z, double range, DimensionType dimension, Packet<?> packet)
func_148543_a(PlayerEntity arg0, double arg1, double arg2, double arg3, double arg4, DimensionType arg5, IPacket<?> arg6)
sendToAllNearExcept(PlayerEntity packetIn, double x, double y, double z, double radius, DimensionType arg5, IPacket<?> arg6)
public void
i()
method_14617()
saveAllPlayerData()
saveAll()
func_72389_g()
saveAllPlayerData()
public Whitelist
j()
method_14590()
getWhitelist()
getWhitelist()
func_152599_k()
getWhitelistedPlayers()
public String[]
k()
method_14560()
getWhitelistedNames()
getWhitelistNames()
func_152598_l()
getWhitelistedPlayerNames()
public OperatorList
l()
method_14603()
getOpList()
getOps()
func_152603_m()
getOppedPlayers()
public String[]
m()
method_14584()
getOpNames()
getOpNames()
func_152606_n()
getOppedPlayerNames()
public void
a()
method_14599()
reloadWhitelist()
reloadWhitelist()
func_187244_a()
reloadWhitelist()
public void
a(vj arg0, vi arg1)
method_14606(class_3222 arg0, class_3218 arg1)
sendWorldInfo(ServerPlayerEntity arg0, ServerWorld arg1)
sendWorldInfo(ServerPlayerEntity player, ServerWorld world)
func_72354_b(ServerPlayerEntity arg0, ServerWorld arg1)
sendWorldInfo(ServerPlayerEntity playerIn, ServerWorld worldIn)
public void
e(vj arg0)
method_14594(class_3222 arg0)
method_14594(ServerPlayerEntity arg0)
sendPlayerInfo(ServerPlayerEntity player)
func_72385_f(ServerPlayerEntity arg0)
sendInventory(ServerPlayerEntity playerIn)
public int
n()
method_14574()
getCurrentPlayerCount()
getCount()
func_72394_k()
getCurrentPlayerCount()
public int
o()
method_14592()
getMaxPlayerCount()
getMaxCount()
func_72352_l()
getMaxPlayers()
public boolean
p()
method_14614()
isWhitelistEnabled()
isWhitelistEnforced()
func_72383_n()
isWhiteListEnabled()
public void
a(boolean arg0)
method_14557(boolean arg0)
setWhitelistEnabled(boolean arg0)
setEnforceWhitelist(boolean enforce)
func_72371_a(boolean arg0)
setWhiteListEnabled(boolean whitelistEnabled)
public List<ServerPlayerEntity>
b(String arg0)
method_14559(String arg0)
getPlayersByIp(String arg0)
getAtIp(String ip)
func_72382_j(String arg0)
getPlayersMatchingAddress(String address)
public int
q()
method_14568()
getViewDistance()
getChunkViewDistance()
func_72395_o()
getViewDistance()
public MinecraftServer
c()
method_14561()
getServer()
getServer()
func_72365_p()
getServer()
public CompoundTag
r()
method_14567()
getUserData()
getSingleplayerData()
func_72378_q()
getHostPlayerData()
private void
a(vj arg0, vj arg1, bhn arg2)
method_14615(class_3222 arg0, class_3222 arg1, class_1936 arg2)
setGameMode(ServerPlayerEntity arg0, ServerPlayerEntity arg1, IWorld arg2)
copyGameMode(ServerPlayerEntity player, ServerPlayerEntity oldPlayer, WorldAccess world)
func_72381_a(ServerPlayerEntity arg0, ServerPlayerEntity arg1, IWorld arg2)
setPlayerGameTypeBasedOnOther(ServerPlayerEntity target, ServerPlayerEntity source, IWorld worldIn)
public void
s()
method_14597()
disconnectAllPlayers()
onServerClosed()
func_72392_r()
removeAllPlayers()
public void
a(jn arg0, boolean arg1)
method_14616(class_2561 arg0, boolean arg1)
broadcastChatMessage(Text arg0, boolean arg1)
sendMessage(Text message, boolean system)
func_148544_a(ITextComponent arg0, boolean arg1)
sendMessage(ITextComponent component, boolean isSystem)
public void
a(jn arg0)
method_14593(class_2561 arg0)
sendToAll(Text arg0)
sendSystemMessage(Text message)
func_148539_a(ITextComponent arg0)
sendMessage(ITextComponent component)
public ServerStatHandler
a(awb arg0)
method_14583(class_1657 arg0)
createStatHandler(PlayerEntity arg0)
getStats(PlayerEntity player)
func_152602_a(PlayerEntity arg0)
getPlayerStats(PlayerEntity playerIn)
public PlayerAdvancementTracker
f(vj arg0)
method_14578(class_3222 arg0)
getAdvancementManager(ServerPlayerEntity arg0)
getAdvancements(ServerPlayerEntity player)
func_192054_h(ServerPlayerEntity arg0)
getPlayerAdvancements(ServerPlayerEntity arg0)
public void
a(int arg0)
method_14608(int arg0)
setViewDistance(int arg0)
updateViewDistance(int arg0)
func_217884_a(int arg0)
setViewDistance(int viewDistanceIn)
public List<ServerPlayerEntity>
t()
method_14571()
getPlayerList()
getAll()
func_181057_v()
getPlayers()
public ServerPlayerEntity
a(UUID arg0)
method_14602(UUID arg0)
getPlayer(UUID arg0)
get(UUID uuid)
func_177451_a(UUID arg0)
getPlayerByUUID(UUID playerUUID)
public boolean
f(GameProfile arg0)
method_14609(com.mojang.authlib.GameProfile arg0)
canBypassPlayerLimit(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
u()
method_14572()
onDataPacksReloaded()
reloadResources()
func_193244_w()
reloadResources()
public boolean
v()
method_14579()
areCheatsAllowed()
allowCommands()
func_206257_x()
commandsAllowedForAll()
public void
a(bhj arg0)
method_14595(class_1934 arg0)
setGameMode(GameMode arg0)
setDefaultGameMode(GameMode gameMode)
func_152604_a(GameType arg0)
setGameType(GameType gameModeIn)
public void
c(boolean arg0)
method_14607(boolean arg0)
setCheatsAllowed(boolean arg0)
setAllowCommands(boolean allowCommands)
func_72387_b(boolean arg0)
setCommandsAllowedForAll(boolean arg0)