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
CHAT_FILTERED_FULL, DUPLICATE_LOGIN_DISCONNECT_MESSAGE, IPBANLIST_FILE, maxPlayers, OPLIST_FILE, USERBANLIST_FILE, WHITELIST_FILE
-
Constructor Summary
ConstructorDescriptionDedicatedPlayerList
(DedicatedServer p_203709_, LayeredRegistryAccess<RegistryLayer> p_251851_, PlayerDataStorage p_203711_) -
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
addWorldborderListener, broadcast, broadcastAll, broadcastAll, broadcastChatMessage, broadcastChatMessage, broadcastSystemMessage, broadcastSystemMessage, broadcastSystemToAllExceptTeam, broadcastSystemToTeam, canPlayerLogin, disconnectAllPlayersWithProfile, getBans, getIpBans, getMaxPlayers, getOpNames, getOps, getPlayer, getPlayerAdvancements, getPlayerByName, getPlayerCount, getPlayerForLogin, getPlayerNamesArray, getPlayers, getPlayerStats, getPlayersWithAddress, getSimulationDistance, getSingleplayerData, getViewDistance, getWhiteList, getWhiteListNames, isAllowCommandsForAllPlayers, isOp, isUsingWhitelist, load, placeNewPlayer, reloadResources, remove, removeAll, respawn, save, saveAll, sendActiveEffects, sendActivePlayerEffects, sendAllPlayerInfo, sendLevelInfo, sendPlayerPermissionLevel, setAllowCommandsForAllPlayers, setSimulationDistance, setViewDistance, tick, updateEntireScoreboard
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
DedicatedPlayerList
public DedicatedPlayerList(DedicatedServer p_203709_, LayeredRegistryAccess<RegistryLayer> p_251851_, PlayerDataStorage p_203711_)
-
-
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
-