|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.server.management.ServerConfigurationManager
net.minecraft.server.dedicated.DedicatedPlayerList
public class DedicatedPlayerList
Field Summary |
---|
Fields inherited from class net.minecraft.server.management.ServerConfigurationManager |
---|
logger, playerEntityList |
Constructor Summary | |
---|---|
DedicatedPlayerList(DedicatedServer par1DedicatedServer)
|
Method Summary | |
---|---|
void |
addOp(String par1Str)
This adds a username to the ops list, then saves the op list |
void |
addToWhiteList(String par1Str)
Add the specified player to the white list. |
DedicatedServer |
getDedicatedServerInstance()
|
MinecraftServer |
getServerInstance()
|
boolean |
isAllowedToLogin(String par1Str)
Determine if the player is allowed to connect based on current server settings. |
void |
loadWhiteList()
Either does nothing, or calls readWhiteList. |
void |
removeFromWhitelist(String par1Str)
Remove the specified player from the whitelist. |
void |
removeOp(String par1Str)
This removes a username from the ops list, then saves the op list |
void |
setWhiteListEnabled(boolean par1)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DedicatedPlayerList(DedicatedServer par1DedicatedServer)
Method Detail |
---|
public void setWhiteListEnabled(boolean par1)
setWhiteListEnabled
in class ServerConfigurationManager
public void addOp(String par1Str)
addOp
in class ServerConfigurationManager
public void removeOp(String par1Str)
removeOp
in class ServerConfigurationManager
public void removeFromWhitelist(String par1Str)
removeFromWhitelist
in class ServerConfigurationManager
public void addToWhiteList(String par1Str)
addToWhiteList
in class ServerConfigurationManager
public void loadWhiteList()
loadWhiteList
in class ServerConfigurationManager
public boolean isAllowedToLogin(String par1Str)
isAllowedToLogin
in class ServerConfigurationManager
public DedicatedServer getDedicatedServerInstance()
public MinecraftServer getServerInstance()
getServerInstance
in class ServerConfigurationManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |