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, writePlayerDatapublic DedicatedPlayerList(DedicatedServer server)
public void setWhiteListEnabled(boolean whitelistEnabled)
setWhiteListEnabled in class PlayerListpublic void addOp(com.mojang.authlib.GameProfile profile)
addOp in class PlayerListpublic void removeOp(com.mojang.authlib.GameProfile profile)
removeOp in class PlayerListpublic void reloadWhitelist()
reloadWhitelist in class PlayerListpublic boolean canJoin(com.mojang.authlib.GameProfile profile)
canJoin in class PlayerListpublic DedicatedServer getServer()
getServer in class PlayerListpublic boolean bypassesPlayerLimit(com.mojang.authlib.GameProfile profile)
bypassesPlayerLimit in class PlayerList