public class DedicatedPlayerList extends PlayerList
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() |
void |
reloadWhitelist() |
void |
removeOp(com.mojang.authlib.GameProfile profile) |
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
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