net.minecraft.server

public abstract class PlayerManager

oi
net.minecraft.class_743
net.minecraft.server.PlayerManager
net.minecraft.server.management.ServerConfigurationManager

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
g
field_9007
LOGGER
logger
private static final SimpleDateFormat
h
field_2711
DATE_FORMAT
dateFormat
private final MinecraftServer
i
field_2712
server
mcServer
public final List
e
field_2708
players
playerEntityList
private final PlayerBans
j
field_9008
bans
bannedPlayers
private final IpBans
k
field_2714
ipBans
bannedIPs
private final Ops
l
field_9009
ops
ops
private final Whitelist
m
field_9010
whitelist
whiteListedPlayers
private final Map
n
field_9011
stats
playerStatFiles
private PlayerDataStorage
o
field_2717
dataStorage
playerNBTManagerObj
private boolean
p
field_2718
enforceWhitelist
whiteListEnforced
protected int
f
field_2709
maxPlayerCount
maxPlayers
private int
q
field_2710
viewDistance
viewDistance
private WorldSettings__GameMode
r
field_2719
defaultGameMode
gameType
private boolean
s
field_2720
allowCommands
commandsAllowedForAll
private int
t
field_2721
pingUpdateTime
playerPingIndex

Constructor summary

ModifierConstructor
public (MinecraftServer server)

Method summary

Modifier and TypeMethod
public void
a(ej arg0, mw arg1)
method_1980(class_1957 arg0, class_798 arg1)
onLogin(Connection connection, ServerPlayerEntity player)
initializeConnectionToPlayer(NetworkManager netManager, EntityPlayerMP player)
protected void
a(lp arg0, mw arg1)
method_5293(class_1545 arg0, class_798 arg1)
updateScoreboard(ServerScoreboard scoreboard, ServerPlayerEntity player)
func_96456_a(ServerScoreboard scoreboardIn, EntityPlayerMP player)
public void
a(mt[] arg0)
method_1993(class_795[] arg0)
setWorld(ServerWorld[] worlds)
setPlayerManager(WorldServer[] arg0)
public void
a(mw arg0, mt arg1)
method_1986(class_798 arg0, class_795 arg1)
onChangedDimension(ServerPlayerEntity player, ServerWorld prevWorld)
func_72375_a(EntityPlayerMP player, WorldServer worldIn)
public int
d()
method_1978()
getViewDistance()
getEntityViewDistance()
public NbtCompound
a(mw arg0)
method_5294(class_798 arg0)
load(ServerPlayerEntity player)
readPlayerDataFromFile(EntityPlayerMP player)
protected void
b(mw arg0)
method_1995(class_798 arg0)
save(ServerPlayerEntity player)
writePlayerData(EntityPlayerMP player)
public void
c(mw arg0)
method_2000(class_798 arg0)
add(ServerPlayerEntity player)
playerLoggedIn(EntityPlayerMP player)
public void
d(mw arg0)
method_2003(class_798 arg0)
move(ServerPlayerEntity player)
serverUpdateMountedMovingPlayer(EntityPlayerMP player)
public void
e(mw arg0)
method_2006(class_798 arg0)
remove(ServerPlayerEntity player)
playerLoggedOut(EntityPlayerMP player)
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
f(GameProfile arg0)
method_8230(com.mojang.authlib.GameProfile arg0)
createForLogin(com.mojang.authlib.GameProfile profile)
createPlayerForUser(com.mojang.authlib.GameProfile profile)
public ServerPlayerEntity
a(mw arg0, int arg1, boolean arg2)
method_1985(class_798 arg0, int arg1, boolean arg2)
respawn(ServerPlayerEntity player, int dimension, boolean alive)
recreatePlayerEntity(EntityPlayerMP player, int dimension, boolean conqueredEnd)
public void
a(mw arg0, int arg1)
method_1984(class_798 arg0, int arg1)
changeDimension(ServerPlayerEntity player, int dimension)
transferPlayerToDimension(EntityPlayerMP player, int dimension)
public void
a(sa arg0, int arg1, mt arg2, mt 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 arg1, WorldServer arg2, WorldServer arg3)
public void
e()
method_1994()
tick()
onTick()
public void
a(ft arg0)
method_1981(class_700 arg0)
sendPacket(Packet packet)
sendPacketToAllPlayers(Packet packetIn)
public void
a(ft arg0, int arg1)
method_1982(class_700 arg0, int arg1)
sendPacket(Packet packet, int dimension)
sendPacketToAllPlayersInDimension(Packet packetIn, int dimension)
public String
b(boolean arg0)
method_8226(boolean arg0)
listNames(boolean addScoreboardNames)
getPlayerNamesString(boolean includeUuid)
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)
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
g(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 List
a(r arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, Map arg7, String arg8, String arg9, ahb arg10)
method_5296(class_851 arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, Map arg7, String arg8, String arg9, class_1150 arg10)
getMatching(Vec3i pos, int minR, int maxR, int count, int gameMode, int minLevels, int maxLevels, Map scoreboardScores, String playerName, String teamName, World world)
findPlayers(ChunkCoordinates worldIn, int minRadius, int maxRadius, int maxAmount, int gameMode, int minXp, int maxXp, Map scoreboardData, String username, String arg9, World arg10)
private boolean
a(yz arg0, Map arg1)
method_5295(class_988 arg0, Map arg1)
doesPlayerMatchScores(PlayerEntity player, Map scoreboardScores)
matchesScoreboardCriteria(EntityPlayer player, Map scoreboardCriteria)
public void
a(double arg0, double arg1, double arg2, double arg3, int arg4, ft arg5)
method_1979(double arg0, double arg1, double arg2, double arg3, int arg4, class_700 arg5)
sendPacket(double x, double y, double z, double range, int dimension, Packet packet)
sendToAllNear(double x, double y, double z, double radius, int dimension, Packet arg5)
public void
a(yz arg0, double arg1, double arg2, double arg3, double arg4, int arg5, ft arg6)
method_1990(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 arg0, 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()
loadWhiteList()
public void
b(mw arg0, mt arg1)
method_1996(class_798 arg0, class_795 arg1)
sendWorldInfo(ServerPlayerEntity player, ServerWorld world)
updateTimeAndWeatherForPlayer(EntityPlayerMP player, WorldServer worldIn)
public void
f(mw arg0)
method_2009(class_798 arg0)
sendPlayerInfo(ServerPlayerEntity player)
syncPlayerInventory(EntityPlayerMP player)
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
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(mw arg0, mw arg1, ahb arg2)
method_1987(class_798 arg0, class_798 arg1, class_1150 arg2)
copyGameMode(ServerPlayerEntity player, ServerPlayerEntity fromPlayer, World world)
func_72381_a(EntityPlayerMP arg0, EntityPlayerMP arg1, World arg2)
public void
u()
method_2025()
onServerClosed()
removeAllPlayers()
public void
a(fj arg0, boolean arg1)
method_6062(class_1982 arg0, boolean arg1)
sendMessage(Text message, boolean system)
sendChatMsgImpl(IChatComponent component, boolean isChat)
public void
a(fj arg0)
method_6061(class_1982 arg0)
sendSystemMessage(Text message)
sendChatMsg(IChatComponent component)
public ServerPlayerStats
a(yz arg0)
method_8224(class_988 arg0)
getStats(PlayerEntity player)
getPlayerStatsFile(EntityPlayer player)
public void
a(int arg0)
method_8222(int arg0)
updateViewDistance(int viewDistance)
setViewDistance(int distance)
public void
a(ahk arg0)
method_1991(class_1157 arg0)
setDefaultGameMode(WorldSettings__GameMode gameMode)
func_152604_a(WorldSettings$GameType arg0)
public void
c(boolean arg0)
method_1998(boolean arg0)
setAllowCommands(boolean allowCommands)
setCommandsAllowedForAll(boolean arg0)