net.minecraft.server

public abstract class PlayerManager

xq
net.minecraft.class_3324
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
PLAYER_BANS_FILE
field_152613_a
field_152613_a
public static final File
b
field_14364
IP_BANS_FILE
field_152614_b
field_152614_b
public static final File
c
field_14348
OPS_FILE
field_152615_c
field_152615_c
public static final File
d
field_14343
WHITELIST_FILE
field_152616_d
field_152616_d
private static final org.apache.logging.log4j.Logger
f
field_14349
LOGGER
field_148546_d
field_148546_d
private static final SimpleDateFormat
g
field_14356
DATE_FORMAT
field_72403_e
field_72403_e
private final MinecraftServer
h
field_14360
server
field_72400_f
field_72400_f
private final List<ServerPlayerEntity>
i
field_14351
players
field_72404_b
field_72404_b
private final Map<UUID, ServerPlayerEntity>
j
field_14354
playersByUuid
field_177454_f
field_177454_f
private final PlayerBans
k
field_14344
bans
field_72401_g
field_72401_g
private final IpBans
l
field_14345
ipBans
field_72413_h
field_72413_h
private final Ops
m
field_14353
ops
field_72414_i
field_72414_i
private final Whitelist
n
field_14361
whitelist
field_72411_j
field_72411_j
private final Map<UUID, ServerPlayerStats>
o
field_14362
stats
field_148547_k
field_148547_k
private final Map<UUID, PlayerAdvancements>
p
field_14346
advancements
field_192055_p
field_192055_p
private PlayerDataStorage
q
field_14358
dataStorage
field_72412_k
field_72412_k
private boolean
r
field_14352
enforceWhitelist
field_72409_l
field_72409_l
protected final int
e
field_14347
maxPlayerCount
field_72405_c
field_72405_c
private int
s
field_14359
viewDistance
field_72402_d
field_72402_d
private GameMode
t
field_14363
defaultGameMode
field_72410_m
field_72410_m
private boolean
u
field_14350
allowCommands
field_72407_n
field_72407_n
private int
v
field_14357
pingUpdateTime
field_72408_o
field_72408_o

Constructor summary

ModifierConstructor
public (MinecraftServer arg0, int arg1)

Method summary

Modifier and TypeMethod
public void
a(ja arg0, vh arg1)
method_14570(class_2535 arg0, class_3222 arg1)
onLogin(Connection connection, ServerPlayerEntity player)
func_72355_a(NetworkManager arg0, ServerPlayerEntity arg1)
initializeConnectionToPlayer(NetworkManager netManager, ServerPlayerEntity playerIn)
protected void
a(rg arg0, vh arg1)
method_14588(class_2995 arg0, class_3222 arg1)
updateScoreboard(ServerScoreboard scoreboard, ServerPlayerEntity player)
func_96456_a(ServerScoreboard arg0, ServerPlayerEntity arg1)
sendScoreboard(ServerScoreboard scoreboardIn, ServerPlayerEntity playerIn)
public void
a(vg arg0)
method_14591(class_3218 arg0)
setWorld(ServerWorld arg0)
func_212504_a(ServerWorld arg0)
func_212504_a(ServerWorld arg0)
public NbtCompound
a(vh arg0)
method_14600(class_3222 arg0)
load(ServerPlayerEntity player)
func_72380_a(ServerPlayerEntity arg0)
readPlayerDataFromFile(ServerPlayerEntity playerIn)
protected void
b(vh arg0)
method_14577(class_3222 arg0)
save(ServerPlayerEntity player)
func_72391_b(ServerPlayerEntity arg0)
writePlayerData(ServerPlayerEntity playerIn)
public void
c(vh arg0)
method_14611(class_3222 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)
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)
createForLogin(com.mojang.authlib.GameProfile profile)
func_148545_a(com.mojang.authlib.GameProfile arg0)
createPlayerForUser(com.mojang.authlib.GameProfile profile)
public ServerPlayerEntity
a(vh arg0, bye arg1, boolean arg2)
method_14556(class_3222 arg0, class_2874 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(vh arg0)
method_14576(class_3222 arg0)
updatePermissions(ServerPlayerEntity player)
func_187243_f(ServerPlayerEntity arg0)
updatePermissionLevel(ServerPlayerEntity player)
public void
d()
method_14601()
tick()
func_72374_b()
tick()
public void
a(ka<?> arg0)
method_14581(class_2596<?> arg0)
sendPacket(Packet<?> packet)
func_148540_a(IPacket<?> arg0)
sendPacketToAllPlayers(IPacket<?> packetIn)
public void
a(ka<?> arg0, bye arg1)
method_14589(class_2596<?> arg0, class_2874 arg1)
sendPacket(Packet<?> packet, DimensionType dimension)
func_148537_a(IPacket<?> arg0, DimensionType arg1)
sendPacketToAllPlayersInDimension(IPacket<?> packetIn, DimensionType dimension)
public void
a(avy arg0, jm arg1)
method_14564(class_1657 arg0, class_2561 arg1)
sendMessageToTeamMembers(PlayerEntity source, Text message)
func_177453_a(PlayerEntity arg0, ITextComponent arg1)
sendMessageToAllTeamMembers(PlayerEntity player, ITextComponent message)
public void
b(avy arg0, jm arg1)
method_14565(class_1657 arg0, class_2561 arg1)
sendMessageToNonTeamMembers(PlayerEntity source, Text message)
func_177452_b(PlayerEntity arg0, ITextComponent arg1)
sendMessageToTeamOrAllPlayers(PlayerEntity player, ITextComponent message)
public String[]
e()
method_14580()
getNames()
func_72369_d()
getOnlinePlayerNames()
public PlayerBans
g()
method_14563()
getBans()
func_152608_h()
getBannedPlayers()
public IpBans
h()
method_14585()
getIpBans()
func_72363_f()
getBannedIPs()
public void
a(GameProfile arg0)
method_14582(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)
removeOp(com.mojang.authlib.GameProfile profile)
func_152610_b(com.mojang.authlib.GameProfile arg0)
removeOp(com.mojang.authlib.GameProfile profile)
private void
a(vh arg0, int arg1)
method_14596(class_3222 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 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)
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)
get(String name)
func_152612_a(String arg0)
getPlayerByUsername(String username)
public void
a(avy arg0, double arg1, double arg2, double arg3, double arg4, bye arg5, ka<?> arg6)
method_14605(class_1657 arg0, double arg1, double arg2, double arg3, double arg4, class_2874 arg5, class_2596<?> 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()
saveAll()
func_72389_g()
saveAllPlayerData()
public Whitelist
j()
method_14590()
getWhitelist()
func_152599_k()
getWhitelistedPlayers()
public String[]
k()
method_14560()
getWhitelistNames()
func_152598_l()
getWhitelistedPlayerNames()
public Ops
l()
method_14603()
getOps()
func_152603_m()
getOppedPlayers()
public String[]
m()
method_14584()
getOpNames()
func_152606_n()
getOppedPlayerNames()
public void
a()
method_14599()
reloadWhitelist()
func_187244_a()
reloadWhitelist()
public void
a(vh arg0, vg arg1)
method_14606(class_3222 arg0, class_3218 arg1)
sendWorldInfo(ServerPlayerEntity player, ServerWorld world)
func_72354_b(ServerPlayerEntity arg0, ServerWorld arg1)
sendWorldInfo(ServerPlayerEntity playerIn, ServerWorld worldIn)
public void
e(vh arg0)
method_14594(class_3222 arg0)
sendPlayerInfo(ServerPlayerEntity player)
func_72385_f(ServerPlayerEntity arg0)
sendInventory(ServerPlayerEntity playerIn)
public int
n()
method_14574()
getCount()
func_72394_k()
getCurrentPlayerCount()
public int
o()
method_14592()
getMaxCount()
func_72352_l()
getMaxPlayers()
public boolean
p()
method_14614()
isWhitelistEnforced()
func_72383_n()
isWhiteListEnabled()
public void
a(boolean arg0)
method_14557(boolean arg0)
setEnforceWhitelist(boolean enforce)
func_72371_a(boolean arg0)
setWhiteListEnabled(boolean whitelistEnabled)
public List<ServerPlayerEntity>
b(String arg0)
method_14559(String arg0)
getAtIp(String ip)
func_72382_j(String arg0)
getPlayersMatchingAddress(String address)
public int
q()
method_14568()
getChunkViewDistance()
func_72395_o()
getViewDistance()
public MinecraftServer
c()
method_14561()
getServer()
func_72365_p()
getServer()
public NbtCompound
r()
method_14567()
getSingleplayerData()
func_72378_q()
getHostPlayerData()
private void
a(vh arg0, vh arg1, bhj arg2)
method_14615(class_3222 arg0, class_3222 arg1, class_1936 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()
onServerClosed()
func_72392_r()
removeAllPlayers()
public void
a(jm arg0, boolean arg1)
method_14616(class_2561 arg0, boolean arg1)
sendMessage(Text message, boolean system)
func_148544_a(ITextComponent arg0, boolean arg1)
sendMessage(ITextComponent component, boolean isSystem)
public void
a(jm arg0)
method_14593(class_2561 arg0)
sendSystemMessage(Text message)
func_148539_a(ITextComponent arg0)
sendMessage(ITextComponent component)
public ServerPlayerStats
a(avy arg0)
method_14583(class_1657 arg0)
getStats(PlayerEntity player)
func_152602_a(PlayerEntity arg0)
getPlayerStats(PlayerEntity playerIn)
public PlayerAdvancements
f(vh arg0)
method_14578(class_3222 arg0)
getAdvancements(ServerPlayerEntity player)
func_192054_h(ServerPlayerEntity arg0)
getPlayerAdvancements(ServerPlayerEntity arg0)
public void
a(int arg0, int arg1)
method_14608(int arg0, int arg1)
updateViewDistance(int arg0, int arg1)
func_217884_a(int arg0, int arg1)
func_217884_a(int arg0, int arg1)
public List<ServerPlayerEntity>
t()
method_14571()
getAll()
func_181057_v()
getPlayers()
public ServerPlayerEntity
a(UUID arg0)
method_14602(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 profile)
func_183023_f(com.mojang.authlib.GameProfile arg0)
bypassesPlayerLimit(com.mojang.authlib.GameProfile profile)
public void
u()
method_14572()
reloadResources()
func_193244_w()
reloadResources()
public boolean
v()
method_14579()
allowCommands()
func_206257_x()
commandsAllowedForAll()
public void
a(bhf arg0)
method_14595(class_1934 arg0)
setDefaultGameMode(GameMode gameMode)
func_152604_a(GameType arg0)
setGameType(GameType gameModeIn)
public void
c(boolean arg0)
method_14607(boolean arg0)
setAllowCommands(boolean allowCommands)
func_72387_b(boolean arg0)
setCommandsAllowedForAll(boolean arg0)