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) |
void |
addWhitelistedPlayer(com.mojang.authlib.GameProfile profile) |
boolean |
bypassesPlayerLimit(com.mojang.authlib.GameProfile profile) |
boolean |
canJoin(com.mojang.authlib.GameProfile profile) |
DedicatedServer |
getServerInstance() |
void |
reloadWhitelist() |
void |
removeOp(com.mojang.authlib.GameProfile profile) |
void |
removePlayerFromWhitelist(com.mojang.authlib.GameProfile profile) |
void |
setWhiteListEnabled(boolean whitelistEnabled) |
allowUserToConnect, canSendCommands, changePlayerDimension, createPlayerForUser, getAvailablePlayerDat, getBannedIPs, getBannedPlayers, getCurrentPlayerCount, getEntityViewDistance, getFormattedListOfPlayers, getHostPlayerData, getMaxPlayers, getOnlinePlayerNames, getOnlinePlayerProfiles, getOppedPlayerNames, getOppedPlayers, getPlayerByUsername, getPlayerByUUID, getPlayerNBT, getPlayers, getPlayersMatchingAddress, getPlayerStatsFile, getViewDistance, getWhitelistedPlayerNames, getWhitelistedPlayers, initializeConnectionToPlayer, isWhiteListEnabled, onTick, playerLoggedIn, playerLoggedOut, preparePlayer, readPlayerDataFromFile, recreatePlayerEntity, removeAllPlayers, saveAllPlayerData, sendMessage, sendMessage, sendMessageToAllTeamMembers, sendMessageToTeamOrAllPlayers, sendPacketToAllPlayers, sendPacketToAllPlayersInDimension, sendScoreboard, sendToAllNearExcept, serverUpdateMovingPlayer, setCommandsAllowedForAll, setGameType, setPlayerManager, setViewDistance, syncPlayerInventory, transferEntityToWorld, transferEntityToWorld, transferPlayerToDimension, updatePermissionLevel, updateTimeAndWeatherForPlayer, 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 removePlayerFromWhitelist(com.mojang.authlib.GameProfile profile)
removePlayerFromWhitelist
in class PlayerList
public void addWhitelistedPlayer(com.mojang.authlib.GameProfile profile)
addWhitelistedPlayer
in class PlayerList
public void reloadWhitelist()
reloadWhitelist
in class PlayerList
public boolean canJoin(com.mojang.authlib.GameProfile profile)
canJoin
in class PlayerList
public DedicatedServer getServerInstance()
getServerInstance
in class PlayerList
public boolean bypassesPlayerLimit(com.mojang.authlib.GameProfile profile)
bypassesPlayerLimit
in class PlayerList