net.minecraft.server

public abstract class PlayerManager

mn
net.minecraft.class_743
net.minecraft.server.PlayerManager
net.minecraft.server.management.PlayerList

Field summary

Modifier and TypeField
public static final File
a
field_9003
PLAYER_BANS_FILE
FILE_PLAYERBANS
public static final File
b
field_9004
IP_BANS_FILE
FILE_IPBANS
public static final File
c
field_9005
OPS_FILE
FILE_OPS
public static final File
d
field_9006
WHITELIST_FILE
FILE_WHITELIST
private static final org.apache.logging.log4j.Logger
f
field_9007
LOGGER
LOG
private static final SimpleDateFormat
g
field_2711
DATE_FORMAT
DATE_FORMAT
private final MinecraftServer
h
field_2712
server
mcServer
private final List<ServerPlayerEntity>
i
field_2708
players
playerEntityList
private final Map<UUID, ServerPlayerEntity>
j
field_11786
playersByUuid
uuidToPlayerMap
private final PlayerBans
k
field_9008
bans
bannedPlayers
private final IpBans
l
field_2714
ipBans
bannedIPs
private final Ops
m
field_9009
ops
ops
private final Whitelist
n
field_9010
whitelist
whiteListedPlayers
private final Map<UUID, ServerPlayerStats>
o
field_9011
stats
playerStatFiles
private PlayerDataStorage
p
field_2717
dataStorage
playerNBTManagerObj
private boolean
q
field_2718
enforceWhitelist
whiteListEnforced
protected int
e
field_2709
maxPlayerCount
maxPlayers
private int
r
field_2710
viewDistance
viewDistance
private WorldSettings$GameMode
s
field_2719
defaultGameMode
gameType
private boolean
t
field_2720
allowCommands
commandsAllowedForAll
private int
u
field_2721
pingUpdateTime
playerPingIndex

Constructor summary

ModifierConstructor
public (MinecraftServer server)

Method summary

Modifier and TypeMethod
public void
a(em arg0, ls arg1)
method_12827(class_1957 arg0, class_798 arg1)
onLogin(Connection connection, ServerPlayerEntity player)
initializeConnectionToPlayer(NetworkManager netManager, EntityPlayerMP playerIn)
protected void
a(kx arg0, ls arg1)
method_5293(class_1545 arg0, class_798 arg1)
updateScoreboard(ServerScoreboard scoreboard, ServerPlayerEntity player)
sendScoreboard(ServerScoreboard scoreboardIn, EntityPlayerMP playerIn)
public void
a(lq[] arg0)
method_1993(class_795[] arg0)
setWorld(ServerWorld[] worlds)
setPlayerManager(WorldServer[] worldServers)
public void
a(ls arg0, lq arg1)
method_1986(class_798 arg0, class_795 arg1)
onChangedDimension(ServerPlayerEntity player, ServerWorld prevWorld)
preparePlayer(EntityPlayerMP playerIn, WorldServer worldIn)
public int
d()
method_1978()
getViewDistance()
getEntityViewDistance()
public NbtCompound
a(ls arg0)
method_5294(class_798 arg0)
load(ServerPlayerEntity player)
readPlayerDataFromFile(EntityPlayerMP playerIn)
protected void
b(ls arg0)
method_1995(class_798 arg0)
save(ServerPlayerEntity player)
writePlayerData(EntityPlayerMP playerIn)
public void
c(ls arg0)
method_2000(class_798 arg0)
add(ServerPlayerEntity player)
playerLoggedIn(EntityPlayerMP playerIn)
public void
d(ls arg0)
method_2003(class_798 arg0)
move(ServerPlayerEntity player)
serverUpdateMountedMovingPlayer(EntityPlayerMP playerIn)
public void
e(ls arg0)
method_12830(class_798 arg0)
remove(ServerPlayerEntity player)
playerLoggedOut(EntityPlayerMP playerIn)
public String
a(SocketAddress arg0, GameProfile arg1)
method_1989(SocketAddress arg0, com.mojang.authlib.GameProfile arg1)
canLogin(SocketAddress address, com.mojang.authlib.GameProfile profile)
allowUserToConnect(SocketAddress address, com.mojang.authlib.GameProfile profile)
public ServerPlayerEntity
g(GameProfile arg0)
method_8230(com.mojang.authlib.GameProfile arg0)
createForLogin(com.mojang.authlib.GameProfile profile)
createPlayerForUser(com.mojang.authlib.GameProfile profile)
public ServerPlayerEntity
a(ls arg0, int arg1, boolean arg2)
method_1985(class_798 arg0, int arg1, boolean arg2)
respawn(ServerPlayerEntity player, int dimension, boolean alive)
recreatePlayerEntity(EntityPlayerMP playerIn, int dimension, boolean conqueredEnd)
public void
f(ls arg0)
method_12831(class_798 arg0)
updatePermissions(ServerPlayerEntity player)
updatePermissionLevel(EntityPlayerMP player)
public void
a(ls arg0, int arg1)
method_1984(class_798 arg0, int arg1)
changeDimension(ServerPlayerEntity player, int dimension)
changePlayerDimension(EntityPlayerMP player, int dimensionIn)
public void
a(rr arg0, int arg1, lq arg2, lq arg3)
method_4399(class_864 arg0, int arg1, class_795 arg2, class_795 arg3)
changeDimension(Entity entity, int dimension, ServerWorld fromWorld, ServerWorld toWorld)
transferEntityToWorld(Entity entityIn, int lastDimension, WorldServer oldWorldIn, WorldServer toWorldIn)
public void
e()
method_1994()
tick()
onTick()
public void
a(fh<?> arg0)
method_1981(class_700<?> arg0)
sendPacket(Packet<?> packet)
sendPacketToAllPlayers(Packet<?> packetIn)
public void
a(fh<?> arg0, int arg1)
method_1982(class_700<?> arg0, int arg1)
sendPacket(Packet<?> packet, int dimension)
sendPacketToAllPlayersInDimension(Packet<?> packetIn, int dimension)
public void
a(zj arg0, ew arg1)
method_10780(class_988 arg0, class_1982 arg1)
sendMessageToTeamMembers(PlayerEntity source, Text message)
sendMessageToAllTeamMembers(EntityPlayer player, ITextComponent message)
public void
b(zj arg0, ew arg1)
method_10781(class_988 arg0, class_1982 arg1)
sendMessageToNonTeamMembers(PlayerEntity source, Text message)
sendMessageToTeamOrAllPlayers(EntityPlayer player, ITextComponent message)
public String
b(boolean arg0)
method_8226(boolean arg0)
listNames(boolean addScoreboardNames)
getFormattedListOfPlayers(boolean includeUUIDs)
public String[]
f()
method_2002()
getNames()
getAllUsernames()
public GameProfile[]
g()
method_8231()
getProfiles()
getAllProfiles()
public PlayerBans
h()
method_8233()
getBans()
getBannedPlayers()
public IpBans
i()
method_2008()
getIpBans()
getBannedIPs()
public void
a(GameProfile arg0)
method_8223(com.mojang.authlib.GameProfile arg0)
addOp(com.mojang.authlib.GameProfile profile)
addOp(com.mojang.authlib.GameProfile profile)
public void
b(GameProfile arg0)
method_8225(com.mojang.authlib.GameProfile arg0)
removeOp(com.mojang.authlib.GameProfile profile)
removeOp(com.mojang.authlib.GameProfile profile)
private void
b(ls arg0, int arg1)
method_12829(class_798 arg0, int arg1)
updatePermissions(ServerPlayerEntity player, int permissions)
sendPlayerPermissionLevel(EntityPlayerMP player, int permLevel)
public boolean
e(GameProfile arg0)
method_8229(com.mojang.authlib.GameProfile arg0)
isWhitelisted(com.mojang.authlib.GameProfile profile)
canJoin(com.mojang.authlib.GameProfile profile)
public boolean
h(GameProfile arg0)
method_8232(com.mojang.authlib.GameProfile arg0)
isOp(com.mojang.authlib.GameProfile profile)
canSendCommands(com.mojang.authlib.GameProfile profile)
public ServerPlayerEntity
a(String arg0)
method_2010(String arg0)
get(String name)
getPlayerByUsername(String username)
public void
a(zj arg0, double arg1, double arg2, double arg3, double arg4, int arg5, fh<?> arg6)
method_12828(class_988 arg0, double arg1, double arg2, double arg3, double arg4, int arg5, class_700<?> arg6)
sendPacket(PlayerEntity source, double x, double y, double z, double range, int dimension, Packet<?> packet)
sendToAllNearExcept(EntityPlayer packetIn, double x, double y, double z, double radius, int arg5, Packet<?> arg6)
public void
j()
method_2011()
saveAll()
saveAllPlayerData()
public void
d(GameProfile arg0)
method_8228(com.mojang.authlib.GameProfile arg0)
addToWhitelist(com.mojang.authlib.GameProfile profile)
addWhitelistedPlayer(com.mojang.authlib.GameProfile profile)
public void
c(GameProfile arg0)
method_8227(com.mojang.authlib.GameProfile arg0)
removeFromWhitelist(com.mojang.authlib.GameProfile profile)
removePlayerFromWhitelist(com.mojang.authlib.GameProfile profile)
public Whitelist
k()
method_8234()
getWhitelist()
getWhitelistedPlayers()
public String[]
l()
method_8235()
getWhitelistNames()
getWhitelistedPlayerNames()
public Ops
m()
method_8236()
getOps()
getOppedPlayers()
public String[]
n()
method_8237()
getOpNames()
getOppedPlayerNames()
public void
a()
method_2016()
reloadWhitelist()
reloadWhitelist()
public void
b(ls arg0, lq arg1)
method_1996(class_798 arg0, class_795 arg1)
sendWorldInfo(ServerPlayerEntity player, ServerWorld world)
updateTimeAndWeatherForPlayer(EntityPlayerMP playerIn, WorldServer worldIn)
public void
g(ls arg0)
method_2009(class_798 arg0)
sendPlayerInfo(ServerPlayerEntity player)
syncPlayerInventory(EntityPlayerMP playerIn)
public int
o()
method_2018()
getCount()
getCurrentPlayerCount()
public int
p()
method_2019()
getMaxCount()
getMaxPlayers()
public String[]
q()
method_2020()
getSavedIds()
getAvailablePlayerDat()
public boolean
r()
method_2021()
isWhitelistEnforced()
isWhiteListEnabled()
public void
a(boolean arg0)
method_1992(boolean arg0)
setEnforceWhitelist(boolean enforce)
setWhiteListEnabled(boolean whitelistEnabled)
public List<ServerPlayerEntity>
b(String arg0)
method_2017(String arg0)
getAtIp(String ip)
getPlayersMatchingAddress(String address)
public int
s()
method_2022()
getChunkViewDistance()
getViewDistance()
public MinecraftServer
c()
method_2023()
getServer()
getServerInstance()
public NbtCompound
t()
method_2024()
getSingleplayerData()
getHostPlayerData()
private void
a(ls arg0, ls arg1, aht arg2)
method_1987(class_798 arg0, class_798 arg1, class_1150 arg2)
copyGameMode(ServerPlayerEntity player, ServerPlayerEntity fromPlayer, World world)
setPlayerGameTypeBasedOnOther(EntityPlayerMP target, EntityPlayerMP source, World worldIn)
public void
u()
method_2025()
onServerClosed()
removeAllPlayers()
public void
a(ew arg0, boolean arg1)
method_6062(class_1982 arg0, boolean arg1)
sendMessage(Text message, boolean system)
sendChatMsgImpl(ITextComponent component, boolean isSystem)
public void
a(ew arg0)
method_6061(class_1982 arg0)
sendSystemMessage(Text message)
sendChatMsg(ITextComponent component)
public ServerPlayerStats
a(zj arg0)
method_8224(class_988 arg0)
getStats(PlayerEntity player)
getPlayerStatsFile(EntityPlayer playerIn)
public void
a(int arg0)
method_8222(int arg0)
updateViewDistance(int viewDistance)
setViewDistance(int distance)
public List<ServerPlayerEntity>
v()
method_10783()
getAll()
getPlayerList()
public ServerPlayerEntity
a(UUID arg0)
method_10779(UUID arg0)
get(UUID uuid)
getPlayerByUUID(UUID playerUUID)
public boolean
f(GameProfile arg0)
method_10782(com.mojang.authlib.GameProfile arg0)
canBypassPlayerLimit(com.mojang.authlib.GameProfile profile)
bypassesPlayerLimit(com.mojang.authlib.GameProfile profile)
public void
a(ahw$a arg0)
method_1991(class_1156$class_1157 arg0)
setDefaultGameMode(WorldSettings$GameMode gameMode)
setGameType(WorldSettings$GameType gameModeIn)
public void
c(boolean arg0)
method_1998(boolean arg0)
setAllowCommands(boolean allowCommands)
setCommandsAllowedForAll(boolean arg0)