public class DedicatedPlayerList extends PlayerList
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
FILE_IPBANS, FILE_OPS, FILE_PLAYERBANS, FILE_WHITELIST, maxPlayers
Constructor and Description |
---|
DedicatedPlayerList(DedicatedServer server) |
Modifier and Type | Method and Description |
---|---|
void |
addOp(com.mojang.authlib.GameProfile profile) |
boolean |
bypassesPlayerLimit(com.mojang.authlib.GameProfile profile) |
boolean |
canJoin(com.mojang.authlib.GameProfile profile) |
DedicatedServer |
getServer() |
private void |
loadIPBanList() |
private void |
loadOpsList() |
private void |
loadPlayerBanList() |
private void |
readWhiteList() |
void |
reloadWhitelist() |
void |
removeOp(com.mojang.authlib.GameProfile profile) |
private void |
saveIPBanList() |
private void |
saveOpsList() |
private void |
savePlayerBanList() |
private void |
saveWhiteList() |
void |
setWhiteListEnabled(boolean whitelistEnabled) |
addPlayer, canPlayerLogin, canSendCommands, commandsAllowedForAll, createPlayerForUser, func_212504_a, getBannedIPs, getBannedPlayers, getCurrentPlayerCount, getHostPlayerData, getMaxPlayers, getOnlinePlayerNames, getOppedPlayerNames, getOppedPlayers, getPlayerAdvancements, getPlayerByUsername, getPlayerByUUID, getPlayers, getPlayersMatchingAddress, getPlayerStats, getViewDistance, getWhitelistedPlayerNames, getWhitelistedPlayers, initializeConnectionToPlayer, isWhiteListEnabled, playerLoggedOut, readPlayerDataFromFile, recreatePlayerEntity, reloadResources, removeAllPlayers, removePlayer, saveAllPlayerData, sendInventory, sendMessage, sendMessage, sendMessageToAllTeamMembers, sendMessageToTeamOrAllPlayers, sendPacketToAllPlayers, sendPacketToAllPlayersInDimension, sendScoreboard, sendToAllNearExcept, sendWorldInfo, setCommandsAllowedForAll, setGameType, setViewDistance, tick, updatePermissionLevel, writePlayerData
public DedicatedPlayerList(DedicatedServer server)
public void setWhiteListEnabled(boolean whitelistEnabled)
setWhiteListEnabled
in class PlayerList
public void addOp(com.mojang.authlib.GameProfile profile)
addOp
in class PlayerList
public void removeOp(com.mojang.authlib.GameProfile profile)
removeOp
in class PlayerList
public void reloadWhitelist()
reloadWhitelist
in class PlayerList
private void saveIPBanList()
private void savePlayerBanList()
private void loadIPBanList()
private void loadPlayerBanList()
private void loadOpsList()
private void saveOpsList()
private void readWhiteList()
private void saveWhiteList()
public boolean canJoin(com.mojang.authlib.GameProfile profile)
canJoin
in class PlayerList
public DedicatedServer getServer()
getServer
in class PlayerList
public boolean bypassesPlayerLimit(com.mojang.authlib.GameProfile profile)
bypassesPlayerLimit
in class PlayerList