Package net.minecraft.server.dedicated
Class DedicatedPlayerList
java.lang.Object
net.minecraft.server.management.PlayerList
net.minecraft.server.dedicated.DedicatedPlayerList
-
Field Summary
Fields inherited from class net.minecraft.server.management.PlayerList
IPBANLIST_FILE, maxPlayers, OPLIST_FILE, USERBANLIST_FILE, WHITELIST_FILE
-
Constructor Summary
ConstructorDescriptionDedicatedPlayerList
(DedicatedServer p_i232600_1_, DynamicRegistries.Impl p_i232600_2_, PlayerData p_i232600_3_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canBypassPlayerLimit
(com.mojang.authlib.GameProfile p_183023_1_) void
deop
(com.mojang.authlib.GameProfile p_152610_1_) boolean
isWhiteListed
(com.mojang.authlib.GameProfile p_152607_1_) private void
private void
loadOps()
private void
private void
void
op
(com.mojang.authlib.GameProfile p_152605_1_) void
private void
private void
saveOps()
private void
private void
void
setUsingWhiteList
(boolean p_72371_1_) Methods inherited from class net.minecraft.server.management.PlayerList
addPlayer, broadcast, broadcastAll, broadcastAll, 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, setOverrideGameMode, setViewDistance, tick, updateEntireScoreboard
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
-
Constructor Details
-
DedicatedPlayerList
public DedicatedPlayerList(DedicatedServer p_i232600_1_, DynamicRegistries.Impl p_i232600_2_, PlayerData p_i232600_3_)
-
-
Method Details
-
setUsingWhiteList
public void setUsingWhiteList(boolean p_72371_1_) - Overrides:
setUsingWhiteList
in classPlayerList
-
op
public void op(com.mojang.authlib.GameProfile p_152605_1_) - Overrides:
op
in classPlayerList
-
deop
public void deop(com.mojang.authlib.GameProfile p_152610_1_) - 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_152607_1_) - Overrides:
isWhiteListed
in classPlayerList
-
getServer
- Overrides:
getServer
in classPlayerList
-
canBypassPlayerLimit
public boolean canBypassPlayerLimit(com.mojang.authlib.GameProfile p_183023_1_) - Overrides:
canBypassPlayerLimit
in classPlayerList
-