net.minecraft.server.players

public abstract class PlayerList

xv
net.minecraft.server.players.PlayerList
net.minecraft.class_3324
net.minecraft.server.PlayerManager
net.minecraft.server.management.PlayerList
net.minecraft.server.v1_14_R1.PlayerList

Field summary

Modifier and TypeField
public static final File
a
USERBANLIST_FILE
field_14355
BANNED_PLAYERS_FILE
field_152613_a
public static final File
b
IPBANLIST_FILE
field_14364
BANNED_IPS_FILE
field_152614_b
public static final File
c
OPLIST_FILE
field_14348
OPERATORS_FILE
field_152615_c
public static final File
d
WHITELIST_FILE
field_14343
WHITELIST_FILE
field_152616_d
private static final org.apache.logging.log4j.Logger
f
LOGGER
field_14349
LOGGER
field_148546_d
private static final SimpleDateFormat
g
BAN_DATE_FORMAT
field_14356
DATE_FORMATTER
field_72403_e
private final MinecraftServer
h
server
field_14360
server
field_72400_f
server
private final List<ServerPlayer>
i
players
field_14351
players
field_72404_b
players
private final Map<UUID, ServerPlayer>
j
playersByUUID
field_14354
playerMap
field_177454_f
private final UserBanList
k
bans
field_14344
bannedProfiles
field_72401_g
private final IpBanList
l
ipBans
field_14345
bannedIps
field_72413_h
private final ServerOpList
m
ops
field_14353
ops
field_72414_i
operators
private final UserWhiteList
n
whitelist
field_14361
whitelist
field_72411_j
whitelist
private final Map<UUID, ServerStatsCounter>
o
stats
field_14362
statisticsMap
field_148547_k
private final Map<UUID, PlayerAdvancements>
p
advancements
field_14346
advancementTrackers
field_192055_p
private PlayerIO
q
playerIo
field_14358
saveHandler
field_72412_k
playerFileData
private boolean
r
doWhiteList
field_14352
whitelistEnabled
field_72409_l
hasWhitelist
protected final int
e
maxPlayers
field_14347
maxPlayers
field_72405_c
maxPlayers
private int
s
viewDistance
field_14359
viewDistance
field_72402_d
viewDistance
private GameType
t
overrideGameMode
field_14363
gameMode
field_72410_m
private boolean
u
allowCheatsForAllPlayers
field_14350
cheatsAllowed
field_72407_n
private int
v
sendAllPlayerInfoIn
field_14357
latencyUpdateTimer
field_72408_o

Constructor summary

ModifierConstructor
public (MinecraftServer server, int maxPlayers)

Method summary

Modifier and TypeMethod
public void
a(jc arg0, vl arg1)
placeNewPlayer(Connection arg0, ServerPlayer arg1)
method_14570(class_2535 arg0, class_3222 arg1)
onPlayerConnect(ClientConnection connection, ServerPlayerEntity player)
func_72355_a(NetworkManager arg0, ServerPlayerEntity arg1)
protected void
a(rj arg0, vl arg1)
updateEntireScoreboard(ServerScoreboard arg0, ServerPlayer arg1)
method_14588(class_2995 arg0, class_3222 arg1)
sendScoreboard(ServerScoreboard scoreboard, ServerPlayerEntity player)
func_96456_a(ServerScoreboard arg0, ServerPlayerEntity arg1)
sendScoreboard(ScoreboardServer arg0, EntityPlayer arg1)
public void
a(vk arg0)
setLevel(ServerLevel arg0)
method_14591(class_3218 arg0)
setMainWorld(ServerWorld world)
func_212504_a(ServerWorld arg0)
setPlayerFileData(WorldServer arg0)
public CompoundTag
a(vl arg0)
load(ServerPlayer arg0)
method_14600(class_3222 arg0)
loadPlayerData(ServerPlayerEntity player)
func_72380_a(ServerPlayerEntity arg0)
protected void
b(vl arg0)
save(ServerPlayer arg0)
method_14577(class_3222 arg0)
savePlayerData(ServerPlayerEntity player)
func_72391_b(ServerPlayerEntity arg0)
savePlayerFile(EntityPlayer arg0)
public void
c(vl arg0)
remove(ServerPlayer arg0)
method_14611(class_3222 arg0)
remove(ServerPlayerEntity player)
func_72367_e(ServerPlayerEntity arg0)
disconnect(EntityPlayer arg0)
public Component
a(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
canPlayerLogin(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
method_14586(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
checkCanJoin(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
func_206258_a(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
attemptLogin(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
public ServerPlayer
g(com.mojang.authlib.GameProfile arg0)
getPlayerForLogin(com.mojang.authlib.GameProfile arg0)
method_14613(com.mojang.authlib.GameProfile arg0)
createPlayer(com.mojang.authlib.GameProfile profile)
func_148545_a(com.mojang.authlib.GameProfile arg0)
processLogin(com.mojang.authlib.GameProfile arg0)
public ServerPlayer
a(vl arg0, byn arg1, boolean arg2)
respawn(ServerPlayer arg0, DimensionType arg1, boolean arg2)
method_14556(class_3222 arg0, class_2874 arg1, boolean arg2)
respawnPlayer(ServerPlayerEntity player, DimensionType dimension, boolean alive)
func_72368_a(ServerPlayerEntity arg0, DimensionType arg1, boolean arg2)
moveToWorld(EntityPlayer arg0, DimensionManager arg1, boolean arg2)
public void
d(vl arg0)
sendPlayerPermissionLevel(ServerPlayer arg0)
method_14576(class_3222 arg0)
sendCommandTree(ServerPlayerEntity player)
func_187243_f(ServerPlayerEntity arg0)
public void
d()
tick()
method_14601()
updatePlayerLatency()
func_72374_b()
tick()
public void
a(kc<?> arg0)
broadcastAll(Packet<?> arg0)
method_14581(class_2596<?> arg0)
sendToAll(Packet<?> arg0)
func_148540_a(IPacket<?> arg0)
sendAll(Packet<?> arg0)
public void
a(kc<?> arg0, byn arg1)
broadcastAll(Packet<?> arg0, DimensionType arg1)
method_14589(class_2596<?> arg0, class_2874 arg1)
sendToDimension(Packet<?> packet, DimensionType dimension)
func_148537_a(IPacket<?> arg0, DimensionType arg1)
public void
a(awg arg0, jo arg1)
broadcastToTeam(Player arg0, Component arg1)
method_14564(class_1657 arg0, class_2561 arg1)
sendToTeam(PlayerEntity source, Text arg1)
func_177453_a(PlayerEntity arg0, ITextComponent arg1)
public void
b(awg arg0, jo arg1)
broadcastToAllExceptTeam(Player arg0, Component arg1)
method_14565(class_1657 arg0, class_2561 arg1)
sendToOtherTeams(PlayerEntity source, Text arg1)
func_177452_b(PlayerEntity arg0, ITextComponent arg1)
public String[]
e()
getPlayerNamesArray()
method_14580()
getPlayerNames()
func_72369_d()
public UserBanList
g()
getBans()
method_14563()
getUserBanList()
func_152608_h()
getProfileBans()
public IpBanList
h()
getIpBans()
method_14585()
getIpBanList()
func_72363_f()
getIPBans()
public void
a(com.mojang.authlib.GameProfile arg0)
op(com.mojang.authlib.GameProfile arg0)
method_14582(com.mojang.authlib.GameProfile arg0)
addToOperators(com.mojang.authlib.GameProfile arg0)
func_152605_a(com.mojang.authlib.GameProfile arg0)
addOp(com.mojang.authlib.GameProfile arg0)
public void
b(com.mojang.authlib.GameProfile arg0)
deop(com.mojang.authlib.GameProfile arg0)
method_14604(com.mojang.authlib.GameProfile arg0)
removeFromOperators(com.mojang.authlib.GameProfile arg0)
func_152610_b(com.mojang.authlib.GameProfile arg0)
removeOp(com.mojang.authlib.GameProfile arg0)
private void
a(vl arg0, int arg1)
sendPlayerPermissionLevel(ServerPlayer arg0, int arg1)
method_14596(class_3222 arg0, int arg1)
sendCommandTree(ServerPlayerEntity player, int permissionLevel)
func_187245_a(ServerPlayerEntity arg0, int arg1)
public boolean
e(com.mojang.authlib.GameProfile arg0)
isWhiteListed(com.mojang.authlib.GameProfile arg0)
method_14587(com.mojang.authlib.GameProfile arg0)
isWhitelisted(com.mojang.authlib.GameProfile arg0)
func_152607_e(com.mojang.authlib.GameProfile arg0)
isWhitelisted(com.mojang.authlib.GameProfile arg0)
public boolean
h(com.mojang.authlib.GameProfile arg0)
isOp(com.mojang.authlib.GameProfile arg0)
method_14569(com.mojang.authlib.GameProfile arg0)
isOperator(com.mojang.authlib.GameProfile arg0)
func_152596_g(com.mojang.authlib.GameProfile arg0)
isOp(com.mojang.authlib.GameProfile arg0)
public ServerPlayer
a(String arg0)
getPlayerByName(String arg0)
method_14566(String arg0)
getPlayer(String arg0)
func_152612_a(String arg0)
getPlayer(String arg0)
public void
a(awg arg0, double arg1, double arg2, double arg3, double arg4, byn arg5, kc<?> arg6)
broadcast(Player arg0, double arg1, double arg2, double arg3, double arg4, DimensionType arg5, Packet<?> arg6)
method_14605(class_1657 arg0, double arg1, double arg2, double arg3, double arg4, class_2874 arg5, class_2596<?> arg6)
sendToAround(PlayerEntity player, double x, double y, double z, double arg4, DimensionType dimension, Packet<?> arg6)
func_148543_a(PlayerEntity arg0, double arg1, double arg2, double arg3, double arg4, DimensionType arg5, IPacket<?> arg6)
sendPacketNearby(EntityHuman arg0, double arg1, double arg2, double arg3, double arg4, DimensionManager arg5, Packet<?> arg6)
public void
i()
saveAll()
method_14617()
saveAllPlayerData()
func_72389_g()
savePlayers()
public UserWhiteList
j()
getWhiteList()
method_14590()
getWhitelist()
func_152599_k()
getWhitelist()
public String[]
k()
getWhiteListNames()
method_14560()
getWhitelistedNames()
func_152598_l()
getWhitelisted()
public ServerOpList
l()
getOps()
method_14603()
getOpList()
func_152603_m()
getOPs()
public String[]
m()
getOpNames()
method_14584()
getOpNames()
func_152606_n()
public void
a()
reloadWhiteList()
method_14599()
reloadWhitelist()
func_187244_a()
reloadWhitelist()
public void
a(vl arg0, vk arg1)
sendLevelInfo(ServerPlayer arg0, ServerLevel arg1)
method_14606(class_3222 arg0, class_3218 arg1)
sendWorldInfo(ServerPlayerEntity player, ServerWorld world)
func_72354_b(ServerPlayerEntity arg0, ServerWorld arg1)
public void
e(vl arg0)
sendAllPlayerInfo(ServerPlayer arg0)
method_14594(class_3222 arg0)
method_14594(ServerPlayerEntity player)
func_72385_f(ServerPlayerEntity arg0)
updateClient(EntityPlayer arg0)
public int
n()
getPlayerCount()
method_14574()
getCurrentPlayerCount()
func_72394_k()
getPlayerCount()
public int
o()
getMaxPlayers()
method_14592()
getMaxPlayerCount()
func_72352_l()
getMaxPlayers()
public boolean
p()
isUsingWhitelist()
method_14614()
isWhitelistEnabled()
func_72383_n()
getHasWhitelist()
public void
a(boolean arg0)
setUsingWhiteList(boolean arg0)
method_14557(boolean arg0)
setWhitelistEnabled(boolean whitelistEnabled)
func_72371_a(boolean arg0)
setHasWhitelist(boolean arg0)
public List<ServerPlayer>
b(String arg0)
getPlayersWithAddress(String arg0)
method_14559(String arg0)
getPlayersByIp(String arg0)
func_72382_j(String arg0)
public int
q()
getViewDistance()
method_14568()
getViewDistance()
func_72395_o()
getViewDistance()
public MinecraftServer
c()
getServer()
method_14561()
getServer()
func_72365_p()
getServer()
public CompoundTag
r()
getSingleplayerData()
method_14567()
getUserData()
func_72378_q()
private void
a(vl arg0, vl arg1, bhs arg2)
updatePlayerGameMode(ServerPlayer arg0, ServerPlayer arg1, LevelAccessor arg2)
method_14615(class_3222 arg0, class_3222 arg1, class_1936 arg2)
setGameMode(ServerPlayerEntity player, ServerPlayerEntity oldPlayer, IWorld world)
func_72381_a(ServerPlayerEntity arg0, ServerPlayerEntity arg1, IWorld arg2)
public void
s()
removeAll()
method_14597()
disconnectAllPlayers()
func_72392_r()
shutdown()
public void
a(jo arg0, boolean arg1)
broadcastMessage(Component arg0, boolean arg1)
method_14616(class_2561 arg0, boolean arg1)
broadcastChatMessage(Text arg0, boolean system)
func_148544_a(ITextComponent arg0, boolean arg1)
sendMessage(IChatBaseComponent arg0, boolean arg1)
public void
a(jo arg0)
broadcastMessage(Component arg0)
method_14593(class_2561 arg0)
sendToAll(Text arg0)
func_148539_a(ITextComponent arg0)
sendMessage(IChatBaseComponent arg0)
public ServerStatsCounter
a(awg arg0)
getPlayerStats(Player arg0)
method_14583(class_1657 arg0)
createStatHandler(PlayerEntity player)
func_152602_a(PlayerEntity arg0)
getStatisticManager(EntityHuman arg0)
public PlayerAdvancements
f(vl arg0)
getPlayerAdvancements(ServerPlayer arg0)
method_14578(class_3222 arg0)
getAdvancementTracker(ServerPlayerEntity player)
func_192054_h(ServerPlayerEntity arg0)
public void
a(int arg0)
setViewDistance(int arg0)
method_14608(int arg0)
setViewDistance(int viewDistance)
func_217884_a(int arg0)
public List<ServerPlayer>
t()
getPlayers()
method_14571()
getPlayerList()
func_181057_v()
getPlayers()
public ServerPlayer
a(UUID arg0)
getPlayer(UUID arg0)
method_14602(UUID arg0)
getPlayer(UUID uuid)
func_177451_a(UUID arg0)
public boolean
f(com.mojang.authlib.GameProfile arg0)
canBypassPlayerLimit(com.mojang.authlib.GameProfile arg0)
method_14609(com.mojang.authlib.GameProfile arg0)
canBypassPlayerLimit(com.mojang.authlib.GameProfile arg0)
func_183023_f(com.mojang.authlib.GameProfile arg0)
public void
u()
reloadResources()
method_14572()
onDataPacksReloaded()
func_193244_w()
reload()
public boolean
v()
isAllowCheatsForAllPlayers()
method_14579()
areCheatsAllowed()
func_206257_x()
public void
a(bho arg0)
setOverrideGameMode(GameType arg0)
method_14595(class_1934 arg0)
setGameMode(GameMode arg0)
func_152604_a(GameType arg0)
public void
c(boolean arg0)
setAllowCheatsForAllPlayers(boolean arg0)
method_14607(boolean arg0)
setCheatsAllowed(boolean cheatsAllowed)
func_72387_b(boolean arg0)