net.minecraft.server.players

public abstract class PlayerList

acu
net.minecraft.server.players.PlayerList
net.minecraft.class_3324
net.minecraft.server.PlayerManager
net.minecraft.server.management.PlayerList
net.minecraft.server.v1_16_R3.PlayerList

Field summary

Modifier and TypeField
public static final File
b
USERBANLIST_FILE
field_14355
BANNED_PLAYERS_FILE
field_152613_a
public static final File
c
IPBANLIST_FILE
field_14364
BANNED_IPS_FILE
field_152614_b
public static final File
d
OPLIST_FILE
field_14348
OPERATORS_FILE
field_152615_c
public static final File
e
WHITELIST_FILE
field_14343
WHITELIST_FILE
field_152616_d
private static final org.apache.logging.log4j.Logger
a
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 final PlayerDataStorage
q
playerIo
field_14358
saveHandler
field_72412_k
playerFileData
private boolean
r
doWhiteList
field_14352
whitelistEnabled
field_72409_l
hasWhitelist
private final RegistryAccess$RegistryHolder
s
registryHolder
field_24626
registryManager
field_232639_s_
protected final int
f
maxPlayers
field_14347
maxPlayers
field_72405_c
maxPlayers
private int
t
viewDistance
field_14359
viewDistance
field_72402_d
viewDistance
private GameType
u
overrideGameMode
field_14363
gameMode
field_72410_m
private boolean
v
allowCheatsForAllPlayers
field_14350
cheatsAllowed
field_72407_n
private int
w
sendAllPlayerInfoIn
field_14357
latencyUpdateTimer
field_72408_o

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(nd arg0, aah 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(wa arg0, aah 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(aag arg0)
setLevel(ServerLevel arg0)
method_14591(class_3218 arg0)
setMainWorld(ServerWorld world)
func_212504_a(ServerWorld arg0)
setPlayerFileData(WorldServer arg0)
public CompoundTag
a(aah arg0)
load(ServerPlayer arg0)
method_14600(class_3222 arg0)
loadPlayerData(ServerPlayerEntity player)
func_72380_a(ServerPlayerEntity arg0)
protected void
b(aah arg0)
save(ServerPlayer arg0)
method_14577(class_3222 arg0)
savePlayerData(ServerPlayerEntity player)
func_72391_b(ServerPlayerEntity arg0)
savePlayerFile(EntityPlayer arg0)
public void
c(aah 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 address, com.mojang.authlib.GameProfile profile)
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(aah arg0, boolean arg1)
respawn(ServerPlayer arg0, boolean arg1)
method_14556(class_3222 arg0, boolean arg1)
respawnPlayer(ServerPlayerEntity player, boolean alive)
func_232644_a_(ServerPlayerEntity arg0, boolean arg1)
moveToWorld(EntityPlayer arg0, boolean arg1)
public void
d(aah 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(oj<?> arg0)
broadcastAll(Packet<?> arg0)
method_14581(class_2596<?> arg0)
sendToAll(Packet<?> packet)
func_148540_a(IPacket<?> arg0)
sendAll(Packet<?> arg0)
public void
a(oj<?> arg0, vj<brx> arg1)
broadcastAll(Packet<?> arg0, ResourceKey<Level> arg1)
method_14589(class_2596<?> arg0, class_5321<class_1937> arg1)
sendToDimension(Packet<?> packet, RegistryKey<World> dimension)
func_232642_a_(IPacket<?> arg0, RegistryKey<World> arg1)
public void
a(bfw arg0, nr arg1)
broadcastToTeam(Player arg0, Component arg1)
method_14564(class_1657 arg0, class_2561 arg1)
sendToTeam(PlayerEntity source, Text message)
func_177453_a(PlayerEntity arg0, ITextComponent arg1)
public void
b(bfw arg0, nr arg1)
broadcastToAllExceptTeam(Player arg0, Component arg1)
method_14565(class_1657 arg0, class_2561 arg1)
sendToOtherTeams(PlayerEntity source, Text message)
func_177452_b(PlayerEntity arg0, ITextComponent arg1)
public String[]
e()
getPlayerNamesArray()
method_14580()
getPlayerNames()
func_72369_d()
public UserBanList
f()
getBans()
method_14563()
getUserBanList()
func_152608_h()
getProfileBans()
public IpBanList
g()
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 profile)
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 profile)
func_152610_b(com.mojang.authlib.GameProfile arg0)
removeOp(com.mojang.authlib.GameProfile arg0)
private void
a(aah 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 profile)
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 profile)
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 name)
func_152612_a(String arg0)
getPlayer(String arg0)
public void
a(bfw arg0, double arg1, double arg2, double arg3, double arg4, vj<brx> arg5, oj<?> 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)
sendToAround(PlayerEntity player, double x, double y, double z, double distance, RegistryKey<World> worldKey, Packet<?> packet)
func_148543_a(PlayerEntity arg0, double arg1, double arg2, double arg3, double arg4, RegistryKey<World> arg5, IPacket<?> arg6)
sendPacketNearby(EntityHuman arg0, double arg1, double arg2, double arg3, double arg4, ResourceKey<World> arg5, Packet<?> arg6)
public void
h()
saveAll()
method_14617()
saveAllPlayerData()
func_72389_g()
savePlayers()
public UserWhiteList
i()
getWhiteList()
method_14590()
getWhitelist()
func_152599_k()
getWhitelist()
public String[]
j()
getWhiteListNames()
method_14560()
getWhitelistedNames()
func_152598_l()
getWhitelisted()
public ServerOpList
k()
getOps()
method_14603()
getOpList()
func_152603_m()
getOPs()
public String[]
l()
getOpNames()
method_14584()
getOpNames()
func_152606_n()
public void
a()
reloadWhiteList()
method_14599()
reloadWhitelist()
func_187244_a()
reloadWhitelist()
public void
a(aah arg0, aag 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(aah arg0)
sendAllPlayerInfo(ServerPlayer arg0)
method_14594(class_3222 arg0)
sendPlayerStatus(ServerPlayerEntity player)
func_72385_f(ServerPlayerEntity arg0)
updateClient(EntityPlayer arg0)
public int
m()
getPlayerCount()
method_14574()
getCurrentPlayerCount()
func_72394_k()
getPlayerCount()
public int
n()
getMaxPlayers()
method_14592()
getMaxPlayerCount()
func_72352_l()
getMaxPlayers()
public boolean
o()
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 ip)
func_72382_j(String arg0)
public int
p()
getViewDistance()
method_14568()
getViewDistance()
func_72395_o()
getViewDistance()
public MinecraftServer
c()
getServer()
method_14561()
getServer()
func_72365_p()
getServer()
public CompoundTag
q()
getSingleplayerData()
method_14567()
getUserData()
func_72378_q()
save()
private void
a(aah arg0, aah arg1, aag arg2)
updatePlayerGameMode(ServerPlayer arg0, ServerPlayer arg1, ServerLevel arg2)
method_14615(class_3222 arg0, class_3222 arg1, class_3218 arg2)
setGameMode(ServerPlayerEntity player, ServerPlayerEntity oldPlayer, ServerWorld world)
func_72381_a(ServerPlayerEntity arg0, ServerPlayerEntity arg1, ServerWorld arg2)
public void
r()
removeAll()
method_14597()
disconnectAllPlayers()
func_72392_r()
shutdown()
public void
a(nr arg0, no arg1, UUID arg2)
broadcastMessage(Component arg0, ChatType arg1, UUID arg2)
method_14616(class_2561 arg0, class_2556 arg1, UUID arg2)
broadcastChatMessage(Text message, MessageType type, UUID senderUuid)
func_232641_a_(ITextComponent arg0, ChatType arg1, UUID arg2)
sendMessage(IChatBaseComponent arg0, ChatMessageType arg1, UUID arg2)
public ServerStatsCounter
a(bfw arg0)
getPlayerStats(Player arg0)
method_14583(class_1657 arg0)
createStatHandler(PlayerEntity player)
func_152602_a(PlayerEntity arg0)
getStatisticManager(EntityHuman arg0)
public PlayerAdvancements
f(aah 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>
s()
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)
getPlayer(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 profile)
func_183023_f(com.mojang.authlib.GameProfile arg0)
public void
t()
reloadResources()
method_14572()
onDataPacksReloaded()
func_193244_w()
reload()
public boolean
u()
isAllowCheatsForAllPlayers()
method_14579()
areCheatsAllowed()
func_206257_x()
public void
a(bru arg0)
setOverrideGameMode(GameType arg0)
method_14595(class_1934 arg0)
setGameMode(GameMode gameMode)
func_152604_a(GameType arg0)
public void
b(boolean arg0)
setAllowCheatsForAllPlayers(boolean arg0)
method_14607(boolean arg0)
setCheatsAllowed(boolean cheatsAllowed)
func_72387_b(boolean arg0)