public class ServerProperties implements IServerProperties
サーバーのプロパティファイルを提供します。
public boolean getAllowNethet()
ネザーの有効化
public void setAllowNethet(boolean p)
ネザーの有効化
public boolean getAllowEnd()
エンドの有効化
public void setAllowEnd(boolean p)
エンドの有効化
public byte getDifficulty()
ゲームの難易度
public void setDifficulty(byte p)
ゲームの難易度
public boolean getEnableCommandBlock()
コマンドブロックを有効化
public void setEnableCommandBlock(boolean p)
コマンドブロックを有効化
public boolean getForceResource()
public void setForceResource(boolean p)
@NotNull public java.lang.String getLevelName()
ワールドの名前
public void setLevelName(@NotNull
java.lang.String p)
ワールドの名前
@NotNull public java.lang.String getLevelSeed()
ワールドのシード値
public void setLevelSeed(@NotNull
java.lang.String p)
ワールドのシード値
@NotNull public java.lang.String getLevelType()
ワールドのタイプ
public void setLevelType(@NotNull
java.lang.String p)
ワールドのタイプ
public int getMaxPlayer()
最大プレイヤー数
public void setMaxPlayer(int p)
最大プレイヤー数
@NotNull public java.lang.String getMotd()
サーバーのタイトル
public void setMotd(@NotNull
java.lang.String p)
サーバーのタイトル
public byte getNetworkCompressionThreshold()
パケットの圧縮率
public void setNetworkCompressionThreshold(byte p)
パケットの圧縮率
public boolean getSecureMode()
通信暗号化の有効化
public void setSecureMode(boolean p)
通信暗号化の有効化
public int getPlayerIdleTimeout()
プレイヤーのタイムアウト
public void setPlayerIdleTimeout(int p)
プレイヤーのタイムアウト
public boolean getPvp()
PVPの許可
public void setPvp(boolean p)
PVPの許可
@NotNull public java.lang.String getServerIp()
サーバーのIPアドレス
public void setServerIp(@NotNull
java.lang.String p)
サーバーのIPアドレス
public int getServerPort()
サーバーのポート
public void setServerPort(int p)
サーバーのポート
@NotNull public java.lang.String getSubMotd()
サーバーのサブタイトル
public void setSubMotd(@NotNull
java.lang.String p)
サーバーのサブタイトル
public short getViewDistance()
チャンクの描画範囲
public void setViewDistance(short p)
チャンクの描画範囲
public boolean getWhiteList()
ホワイトリストの有効化
public void setWhiteList(boolean p)
ホワイトリストの有効化