Package net.minecraft.server.dedicated
Class DedicatedPlayerList
- java.lang.Object
-
- net.minecraft.server.management.PlayerList
-
- net.minecraft.server.dedicated.DedicatedPlayerList
-
public class DedicatedPlayerList extends PlayerList
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
LOGGER
-
Fields inherited from class net.minecraft.server.management.PlayerList
IPBANLIST_FILE, maxPlayers, OPLIST_FILE, USERBANLIST_FILE, WHITELIST_FILE
-
-
Constructor Summary
Constructors Constructor Description DedicatedPlayerList(DedicatedServer p_i232600_1_, DynamicRegistries.Impl p_i232600_2_, PlayerData p_i232600_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBypassPlayerLimit(com.mojang.authlib.GameProfile p_183023_1_)
void
deop(com.mojang.authlib.GameProfile p_152610_1_)
DedicatedServer
getServer()
boolean
isWhiteListed(com.mojang.authlib.GameProfile p_152607_1_)
private void
loadIpBanList()
private void
loadOps()
private void
loadUserBanList()
private void
loadWhiteList()
void
op(com.mojang.authlib.GameProfile p_152605_1_)
void
reloadWhiteList()
private void
saveIpBanList()
private void
saveOps()
private void
saveUserBanList()
private void
saveWhiteList()
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
-
-
-
-
Constructor Detail
-
DedicatedPlayerList
public DedicatedPlayerList(DedicatedServer p_i232600_1_, DynamicRegistries.Impl p_i232600_2_, PlayerData p_i232600_3_)
-
-
Method Detail
-
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
public DedicatedServer getServer()
- Overrides:
getServer
in classPlayerList
-
canBypassPlayerLimit
public boolean canBypassPlayerLimit(com.mojang.authlib.GameProfile p_183023_1_)
- Overrides:
canBypassPlayerLimit
in classPlayerList
-
-