net.minecraft.server.players

public abstract class PlayerList

aeh
net.minecraft.server.players.PlayerList
net.minecraft.class_3324
net.minecraft.unmapped.C_digmgtxw
net.minecraft.server.PlayerManager
net.minecraft.src.C_102_
net.minecraft.server.players.PlayerList

Field summary

Modifier and TypeField
public static final File
b
USERBANLIST_FILE
field_14355
f_mlodcdjn
BANNED_PLAYERS_FILE
f_11189_
public static final File
c
IPBANLIST_FILE
field_14364
f_gwzutkia
BANNED_IPS_FILE
f_11190_
public static final File
d
OPLIST_FILE
field_14348
f_ebdxpvna
OPERATORS_FILE
f_11191_
public static final File
e
WHITELIST_FILE
field_14343
f_sfaqcgxd
WHITELIST_FILE
f_11192_
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_14349
f_fwuwscug
LOGGER
f_11188_
private static final int
g
SEND_PLAYER_INFO_INTERVAL
field_29790
f_jkcqzwfc
LATENCY_UPDATE_INTERVAL
f_143987_
private static final SimpleDateFormat
h
BAN_DATE_FORMAT
field_14356
f_kxdchaxd
DATE_FORMATTER
f_11194_
private final MinecraftServer
i
server
field_14360
f_ibywdhpx
server
f_11195_
private final List<ServerPlayer>
j
players
field_14351
f_pehyuwhh
players
f_11196_
private final Map<UUID, ServerPlayer>
k
playersByUUID
field_14354
f_pdofvpoq
playerMap
f_11197_
private final UserBanList
l
bans
field_14344
f_ukbtafme
bannedProfiles
f_11198_
private final IpBanList
m
ipBans
field_14345
f_qaqigzly
bannedIps
f_11199_
private final ServerOpList
n
ops
field_14353
f_hzbuciyd
ops
f_11200_
private final UserWhiteList
o
whitelist
field_14361
f_uesyywbz
whitelist
f_11201_
private final Map<UUID, ServerStatsCounter>
p
stats
field_14362
f_oyanzvls
statisticsMap
f_11202_
private final Map<UUID, PlayerAdvancements>
q
advancements
field_14346
f_zscwvcda
advancementTrackers
f_11203_
private final PlayerDataStorage
r
playerIo
field_14358
f_knmbusbu
saveHandler
f_11204_
private boolean
s
doWhiteList
field_14352
f_wyxwtdwu
whitelistEnabled
f_11205_
private final RegistryAccess$RegistryHolder
t
registryHolder
field_24626
f_fvrpdwaz
registryManager
f_11206_
protected final int
f
maxPlayers
field_14347
f_jdcrxyqk
maxPlayers
f_11193_
private int
u
viewDistance
field_14359
f_bxoeykzo
viewDistance
f_11207_
private boolean
v
allowCheatsForAllPlayers
field_14350
f_ayexdrvx
cheatsAllowed
f_11209_
private static final boolean
w
ALLOW_LOGOUTIVATOR
field_29791
f_wvgqlafi
field_29791
f_143988_
private int
x
sendAllPlayerInfoIn
field_14357
f_gdrylkjs
latencyUpdateTimer
f_11210_

Constructor summary

ModifierConstructor
public (MinecraftServer server, RegistryAccess$RegistryHolder registryManager, PlayerDataStorage saveHandler, int maxPlayers)

Method summary

Modifier and TypeMethod
public void
a(oe arg0, abs arg1)
placeNewPlayer(Connection arg0, ServerPlayer arg1)
method_14570(class_2535 arg0, class_3222 arg1)
m_ngykykkq(C_oasmcckk arg0, C_mxrobsgg arg1)
onPlayerConnect(ClientConnection connection, ServerPlayerEntity player)
m_11261_(C_4961_ p_11263_, C_13_ arg1)
protected void
a(xl arg0, abs arg1)
updateEntireScoreboard(ServerScoreboard arg0, ServerPlayer arg1)
method_14588(class_2995 arg0, class_3222 arg1)
m_scnepiyv(C_orszeavg arg0, C_mxrobsgg arg1)
sendScoreboard(ServerScoreboard scoreboard, ServerPlayerEntity player)
m_11273_(C_5286_ p_11275_, C_13_ arg1)
sendScoreboard(ScoreboardServer arg0, EntityPlayer arg1)
public void
a(abr arg0)
setLevel(ServerLevel arg0)
method_14591(class_3218 arg0)
m_mtkxxiyp(C_bdwnwhiu arg0)
setMainWorld(ServerWorld world)
m_11219_(C_12_ arg0)
setPlayerFileData(WorldServer arg0)
public CompoundTag
a(abs arg0)
load(ServerPlayer arg0)
method_14600(class_3222 arg0)
m_prjtwknp(C_mxrobsgg arg0)
loadPlayerData(ServerPlayerEntity player)
m_11224_(C_13_ arg0)
protected void
b(abs arg0)
save(ServerPlayer arg0)
method_14577(class_3222 arg0)
m_gzunbvqs(C_mxrobsgg arg0)
savePlayerData(ServerPlayerEntity player)
m_6765_(C_13_ arg0)
savePlayerFile(EntityPlayer arg0)
public void
c(abs arg0)
remove(ServerPlayer arg0)
method_14611(class_3222 arg0)
m_xwjxxowe(C_mxrobsgg arg0)
remove(ServerPlayerEntity player)
m_11286_(C_13_ 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)
m_zcgujvnk(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
checkCanJoin(SocketAddress address, com.mojang.authlib.GameProfile profile)
m_6418_(SocketAddress p_11258_, com.mojang.authlib.GameProfile arg1)
attemptLogin(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
public ServerPlayer
e(com.mojang.authlib.GameProfile arg0)
getPlayerForLogin(com.mojang.authlib.GameProfile arg0)
method_14613(com.mojang.authlib.GameProfile arg0)
m_vtwdwatn(com.mojang.authlib.GameProfile arg0)
createPlayer(com.mojang.authlib.GameProfile profile)
m_11300_(com.mojang.authlib.GameProfile arg0)
processLogin(com.mojang.authlib.GameProfile arg0)
public ServerPlayer
a(abs arg0, boolean arg1)
respawn(ServerPlayer arg0, boolean arg1)
method_14556(class_3222 arg0, boolean arg1)
m_zpadnand(C_mxrobsgg arg0, boolean arg1)
respawnPlayer(ServerPlayerEntity player, boolean alive)
m_11236_(C_13_ p_11238_, boolean arg1)
moveToWorld(EntityPlayer arg0, boolean arg1)
public void
d(abs arg0)
sendPlayerPermissionLevel(ServerPlayer arg0)
method_14576(class_3222 arg0)
m_elvbzrkb(C_mxrobsgg arg0)
sendCommandTree(ServerPlayerEntity player)
m_11289_(C_13_ arg0)
public void
d()
tick()
method_14601()
m_oepngqek()
updatePlayerLatency()
m_11288_()
tick()
public void
a(pk<?> arg0)
broadcastAll(Packet<?> arg0)
method_14581(class_2596<?> arg0)
m_aanidhbc(C_zyjtrjrl<?> arg0)
sendToAll(Packet<?> packet)
m_11268_(C_5028_<?> arg0)
sendAll(Packet<?> arg0)
public void
a(pk<?> arg0, wv<bwq> arg1)
broadcastAll(Packet<?> arg0, ResourceKey<Level> arg1)
method_14589(class_2596<?> arg0, class_5321<class_1937> arg1)
m_bjqkotds(C_zyjtrjrl<?> arg0, C_xhhleach<C_cdctfzbn> arg1)
sendToDimension(Packet<?> packet, RegistryKey<World> dimension)
m_11270_(C_5028_<?> p_11272_, C_5264_<C_1596_> arg1)
public void
a(bke arg0, os arg1)
broadcastToTeam(Player arg0, Component arg1)
method_14564(class_1657 arg0, class_2561 arg1)
m_pmjjlpbt(C_jzrpycqo arg0, C_rdaqiwdt arg1)
sendToTeam(PlayerEntity source, Text message)
m_11249_(C_1141_ p_11251_, C_4996_ arg1)
public void
b(bke arg0, os arg1)
broadcastToAllExceptTeam(Player arg0, Component arg1)
method_14565(class_1657 arg0, class_2561 arg1)
m_dcjhtain(C_jzrpycqo arg0, C_rdaqiwdt arg1)
sendToOtherTeams(PlayerEntity source, Text message)
m_11278_(C_1141_ p_11280_, C_4996_ arg1)
public String[]
e()
getPlayerNamesArray()
method_14580()
m_hgihvlst()
getPlayerNames()
m_11291_()
public UserBanList
f()
getBans()
method_14563()
m_kculnifq()
getUserBanList()
m_11295_()
getProfileBans()
public IpBanList
g()
getIpBans()
method_14585()
m_cssqctmm()
getIpBanList()
m_11299_()
getIPBans()
public void
a(com.mojang.authlib.GameProfile arg0)
op(com.mojang.authlib.GameProfile arg0)
method_14582(com.mojang.authlib.GameProfile arg0)
m_mddxogwe(com.mojang.authlib.GameProfile arg0)
addToOperators(com.mojang.authlib.GameProfile profile)
m_5749_(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)
m_eglbulud(com.mojang.authlib.GameProfile arg0)
removeFromOperators(com.mojang.authlib.GameProfile profile)
m_5750_(com.mojang.authlib.GameProfile arg0)
removeOp(com.mojang.authlib.GameProfile arg0)
private void
a(abs arg0, int arg1)
sendPlayerPermissionLevel(ServerPlayer arg0, int arg1)
method_14596(class_3222 arg0, int arg1)
m_mqvtmcqp(C_mxrobsgg arg0, int arg1)
sendCommandTree(ServerPlayerEntity player, int permissionLevel)
m_11226_(C_13_ p_11228_, int arg1)
public boolean
c(com.mojang.authlib.GameProfile arg0)
isWhiteListed(com.mojang.authlib.GameProfile arg0)
method_14587(com.mojang.authlib.GameProfile arg0)
m_bajzyouq(com.mojang.authlib.GameProfile arg0)
isWhitelisted(com.mojang.authlib.GameProfile profile)
m_5764_(com.mojang.authlib.GameProfile arg0)
isWhitelisted(com.mojang.authlib.GameProfile arg0)
public boolean
f(com.mojang.authlib.GameProfile arg0)
isOp(com.mojang.authlib.GameProfile arg0)
method_14569(com.mojang.authlib.GameProfile arg0)
m_xpjsflmx(com.mojang.authlib.GameProfile arg0)
isOperator(com.mojang.authlib.GameProfile profile)
m_11303_(com.mojang.authlib.GameProfile arg0)
isOp(com.mojang.authlib.GameProfile arg0)
public ServerPlayer
a(String arg0)
getPlayerByName(String arg0)
method_14566(String arg0)
m_bslotxju(String arg0)
getPlayer(String name)
m_11255_(String arg0)
getPlayer(String arg0)
public void
a(bke arg0, double arg1, double arg2, double arg3, double arg4, wv<bwq> arg5, pk<?> arg6)
broadcast(Player arg0, double arg1, double arg2, double arg3, double arg4, ResourceKey<Level> arg5, Packet<?> arg6)
method_14605(class_1657 arg0, double arg1, double arg2, double arg3, double arg4, class_5321<class_1937> arg5, class_2596<?> arg6)
m_ihjtyqjy(C_jzrpycqo arg0, double arg1, double arg2, double arg3, double arg4, C_xhhleach<C_cdctfzbn> arg5, C_zyjtrjrl<?> arg6)
sendToAround(PlayerEntity player, double x, double y, double z, double distance, RegistryKey<World> worldKey, Packet<?> packet)
m_11241_(C_1141_ p_11243_, double p_11244_, double p_11246_, double p_11248_, double arg4, C_5264_<C_1596_> arg5, C_5028_<?> arg6)
sendPacketNearby(EntityHuman arg0, double arg1, double arg2, double arg3, double arg4, ResourceKey<World> arg5, Packet<?> arg6)
public void
h()
saveAll()
method_14617()
m_hwptlmmi()
saveAllPlayerData()
m_11302_()
savePlayers()
public UserWhiteList
i()
getWhiteList()
method_14590()
m_qslhodxf()
getWhitelist()
m_11305_()
getWhitelist()
public String[]
j()
getWhiteListNames()
method_14560()
m_lcqhthnk()
getWhitelistedNames()
m_11306_()
getWhitelisted()
public ServerOpList
k()
getOps()
method_14603()
m_sgocqqbl()
getOpList()
m_11307_()
getOPs()
public String[]
l()
getOpNames()
method_14584()
m_fsqemhrr()
getOpNames()
m_11308_()
public void
a()
reloadWhiteList()
method_14599()
m_ebjlmucj()
reloadWhitelist()
m_7542_()
reloadWhitelist()
public void
a(abs arg0, abr arg1)
sendLevelInfo(ServerPlayer arg0, ServerLevel arg1)
method_14606(class_3222 arg0, class_3218 arg1)
m_tzfictoe(C_mxrobsgg arg0, C_bdwnwhiu arg1)
sendWorldInfo(ServerPlayerEntity player, ServerWorld world)
m_11229_(C_13_ p_11231_, C_12_ arg1)
public void
e(abs arg0)
sendAllPlayerInfo(ServerPlayer arg0)
method_14594(class_3222 arg0)
m_vppvrdqj(C_mxrobsgg arg0)
sendPlayerStatus(ServerPlayerEntity player)
m_11292_(C_13_ arg0)
updateClient(EntityPlayer arg0)
public int
m()
getPlayerCount()
method_14574()
m_lcjqwsri()
getCurrentPlayerCount()
m_11309_()
getPlayerCount()
public int
n()
getMaxPlayers()
method_14592()
m_knqfidpk()
getMaxPlayerCount()
m_11310_()
getMaxPlayers()
public boolean
o()
isUsingWhitelist()
method_14614()
m_ggqroajp()
isWhitelistEnabled()
m_11311_()
getHasWhitelist()
public void
a(boolean arg0)
setUsingWhiteList(boolean arg0)
method_14557(boolean arg0)
m_utvtiiwg(boolean arg0)
setWhitelistEnabled(boolean whitelistEnabled)
m_6628_(boolean arg0)
setHasWhitelist(boolean arg0)
public List<ServerPlayer>
b(String arg0)
getPlayersWithAddress(String arg0)
method_14559(String arg0)
m_fxavyisj(String arg0)
getPlayersByIp(String ip)
m_11282_(String arg0)
public int
p()
getViewDistance()
method_14568()
m_ozuvgfaa()
getViewDistance()
m_11312_()
getViewDistance()
public MinecraftServer
c()
getServer()
method_14561()
m_alhdvtsy()
getServer()
m_7873_()
getServer()
public CompoundTag
q()
getSingleplayerData()
method_14567()
m_dggepnnr()
getUserData()
m_6960_()
save()
public void
b(boolean arg0)
setAllowCheatsForAllPlayers(boolean arg0)
method_14607(boolean arg0)
m_tgcbcjpj(boolean arg0)
setCheatsAllowed(boolean cheatsAllowed)
m_11284_(boolean arg0)
public void
r()
removeAll()
method_14597()
m_cjqpbspj()
disconnectAllPlayers()
m_11313_()
shutdown()
public void
a(os arg0, op arg1, UUID arg2)
broadcastMessage(Component arg0, ChatType arg1, UUID arg2)
method_14616(class_2561 arg0, class_2556 arg1, UUID arg2)
m_cptvywib(C_rdaqiwdt arg0, C_hasnsypd arg1, UUID arg2)
broadcastChatMessage(Text message, MessageType type, UUID sender)
m_11264_(C_4996_ p_11266_, C_4992_ p_11267_, UUID arg2)
sendMessage(IChatBaseComponent arg0, ChatMessageType arg1, UUID arg2)
public void
a(os arg0, Function<abs, os> arg1, op arg2, UUID arg3)
broadcastMessage(Component arg0, Function<ServerPlayer, Component> arg1, ChatType arg2, UUID arg3)
method_33810(class_2561 arg0, Function<class_3222, class_2561> arg1, class_2556 arg2, UUID arg3)
m_haszcmyp(C_rdaqiwdt arg0, Function<C_mxrobsgg, C_rdaqiwdt> arg1, C_hasnsypd arg2, UUID arg3)
broadcast(Text serverMessage, Function<ServerPlayerEntity, Text> playerMessageFactory, MessageType playerMessageType, UUID sender)
m_143991_(C_4996_ p_143993_, Function<C_13_, C_4996_> p_143994_, C_4992_ p_143995_, UUID arg3)
public ServerStatsCounter
a(bke arg0)
getPlayerStats(Player arg0)
method_14583(class_1657 arg0)
m_rlvfbvcj(C_jzrpycqo arg0)
createStatHandler(PlayerEntity player)
m_11239_(C_1141_ arg0)
getStatisticManager(EntityHuman arg0)
public PlayerAdvancements
f(abs arg0)
getPlayerAdvancements(ServerPlayer arg0)
method_14578(class_3222 arg0)
m_bekbcbkv(C_mxrobsgg arg0)
getAdvancementTracker(ServerPlayerEntity player)
m_11296_(C_13_ arg0)
public void
a(int arg0)
setViewDistance(int arg0)
method_14608(int arg0)
m_khebdxma(int arg0)
setViewDistance(int viewDistance)
m_11217_(int arg0)
public List<ServerPlayer>
s()
getPlayers()
method_14571()
m_cpouqhgn()
getPlayerList()
m_11314_()
getPlayers()
public ServerPlayer
a(UUID arg0)
getPlayer(UUID arg0)
method_14602(UUID arg0)
m_hhzxvoqt(UUID arg0)
getPlayer(UUID uuid)
m_11259_(UUID arg0)
getPlayer(UUID arg0)
public boolean
d(com.mojang.authlib.GameProfile arg0)
canBypassPlayerLimit(com.mojang.authlib.GameProfile arg0)
method_14609(com.mojang.authlib.GameProfile arg0)
m_thaovauz(com.mojang.authlib.GameProfile arg0)
canBypassPlayerLimit(com.mojang.authlib.GameProfile profile)
m_5765_(com.mojang.authlib.GameProfile arg0)
public void
t()
reloadResources()
method_14572()
m_ufzzdnwm()
onDataPacksReloaded()
m_11315_()
reload()
public boolean
u()
isAllowCheatsForAllPlayers()
method_14579()
m_aoxxnier()
areCheatsAllowed()
m_11316_()