Package net.minecraft.server.dedicated
Class DedicatedPlayerList
java.lang.Object
net.minecraft.server.players.PlayerList
net.minecraft.server.dedicated.DedicatedPlayerList
-
Field Summary
Fields inherited from class net.minecraft.server.players.PlayerList
IPBANLIST_FILE, maxPlayers, OPLIST_FILE, USERBANLIST_FILE, WHITELIST_FILE
-
Constructor Summary
ConstructorDescriptionDedicatedPlayerList(DedicatedServer p_139574_, RegistryAccess.RegistryHolder p_139575_, PlayerDataStorage p_139576_)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canBypassPlayerLimit(com.mojang.authlib.GameProfile p_139592_)
void
deop(com.mojang.authlib.GameProfile p_139587_)
boolean
isWhiteListed(com.mojang.authlib.GameProfile p_139590_)
private void
private void
loadOps()
private void
private void
void
op(com.mojang.authlib.GameProfile p_139582_)
void
private void
private void
saveOps()
private void
private void
void
setUsingWhiteList(boolean p_139584_)
Methods inherited from class net.minecraft.server.players.PlayerList
addPlayer, broadcast, broadcastAll, broadcastAll, broadcastMessage, broadcastMessage, broadcastToAllExceptTeam, broadcastToTeam, canPlayerLogin, getBans, getIpBans, getMaxPlayers, getOpNames, getOps, getPlayer, getPlayerAdvancements, getPlayerByName, getPlayerCount, getPlayerForLogin, getPlayerNamesArray, getPlayers, getPlayerStats, getPlayersWithAddress, getSingleplayerData, getViewDistance, getWhiteList, getWhiteListNames, isAllowCheatsForAllPlayers, isOp, isUsingWhitelist, load, placeNewPlayer, reloadResources, remove, removeAll, removePlayer, respawn, save, saveAll, sendAllPlayerInfo, sendLevelInfo, sendPlayerPermissionLevel, setAllowCheatsForAllPlayers, setLevel, setViewDistance, tick, updateEntireScoreboard
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
-
Constructor Details
-
DedicatedPlayerList
public DedicatedPlayerList(DedicatedServer p_139574_, RegistryAccess.RegistryHolder p_139575_, PlayerDataStorage p_139576_)
-
-
Method Details
-
setUsingWhiteList
public void setUsingWhiteList(boolean p_139584_)- Overrides:
setUsingWhiteList
in classPlayerList
-
op
public void op(com.mojang.authlib.GameProfile p_139582_)- Overrides:
op
in classPlayerList
-
deop
public void deop(com.mojang.authlib.GameProfile p_139587_)- Overrides:
deop
in classPlayerList
-
reloadWhiteList
public void reloadWhiteList()- Overrides:
reloadWhiteList
in classPlayerList
-
saveIpBanList
private void saveIpBanList() -
saveUserBanList
private void saveUserBanList() -
loadIpBanList
private void loadIpBanList() -
loadUserBanList
private void loadUserBanList() -
loadOps
private void loadOps() -
saveOps
private void saveOps() -
loadWhiteList
private void loadWhiteList() -
saveWhiteList
private void saveWhiteList() -
isWhiteListed
public boolean isWhiteListed(com.mojang.authlib.GameProfile p_139590_)- Overrides:
isWhiteListed
in classPlayerList
-
getServer
- Overrides:
getServer
in classPlayerList
-
canBypassPlayerLimit
public boolean canBypassPlayerLimit(com.mojang.authlib.GameProfile p_139592_)- Overrides:
canBypassPlayerLimit
in classPlayerList
-