Package zombie.network
Class ServerOptions
java.lang.Object
zombie.network.ServerOptions
public class ServerOptions
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerOptions.BooleanServerOption
static class
ServerOptions.DoubleServerOption
static class
ServerOptions.IntegerServerOption
static interface
ServerOptions.ServerOption
static class
ServerOptions.StringServerOption
static class
ServerOptions.TextServerOption
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ServerOptions()
-
Method Summary
Modifier and Type Method Description void
addOption(ServerOptions.ServerOption option)
java.lang.String
changeOption(java.lang.String key, java.lang.String value)
java.lang.Boolean
getBoolean(java.lang.String key)
static java.util.ArrayList
getClientCommandList(boolean doLine)
static java.util.ArrayList
getCommandList(java.lang.String accessLevel, boolean doLine)
java.lang.Double
getDouble(java.lang.String key)
java.lang.Float
getFloat(java.lang.String key)
static ServerOptions
getInstance()
java.lang.Integer
getInteger(java.lang.String key)
static java.lang.String
getListOfCommands(java.lang.String command, boolean doLine, java.lang.String accessLevel)
int
getNumOptions()
java.lang.String
getOption(java.lang.String key)
ServerOptions.ServerOption
getOptionByIndex(int index)
ServerOptions.ServerOption
getOptionByName(java.lang.String name)
java.util.ArrayList
getOptions()
java.util.ArrayList
getPublicOptions()
static java.lang.String
getRandomCard()
void
init()
static void
initLists()
boolean
loadServerTextFile(java.lang.String serverName)
void
putOption(java.lang.String key, java.lang.String value)
void
putSaveOption(java.lang.String key, java.lang.String value)
void
resetRegionFile()
boolean
saveServerTextFile(java.lang.String serverName)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
accessLevelOptionsList
public static java.util.HashMap accessLevelOptionsList -
optionsList
public static java.util.HashMap optionsList -
clientOptionsList
public static java.util.HashMap clientOptionsList -
MAX_PORT
public static final int MAX_PORT- See Also:
- Constant Field Values
-
nightlengthmodifier
-
PVP
-
PauseEmpty
-
GlobalChat
-
Open
-
ServerWelcomeMessage
-
LogLocalChat
-
AutoCreateUserInWhiteList
-
DisplayUserName
-
SpawnPoint
-
SafetySystem
-
ShowSafety
-
SafetyToggleTimer
-
SafetyCooldownTimer
-
SpawnItems
-
DefaultPort
-
ResetID
-
Mods
-
Map
-
DoLuaChecksum
-
Public
-
PublicName
-
PublicDescription
-
MaxPlayers
-
PingFrequency
-
PingLimit
-
HoursForLootRespawn
-
MaxItemsForLootRespawn
-
ConstructionPreventsLootRespawn
-
DropOffWhiteListAfterDeath
-
NoFire
-
AnnounceDeath
-
MinutesPerPage
-
SaveWorldEveryMinutes
-
PlayerSafehouse
-
AdminSafehouse
-
SafehouseAllowTrepass
-
SafehouseAllowFire
-
SafehouseAllowLoot
-
SafehouseAllowRespawn
-
SafehouseDaySurvivedToClaim
-
SafeHouseRemovalTime
-
AllowDestructionBySledgehammer
-
KickFastPlayers
-
ServerPlayerID
-
RCONPort
-
RCONPassword
-
Password
-
MaxAccountsPerUser
-
SleepAllowed
-
SleepNeeded
-
SteamPort1
-
SteamPort2
-
WorkshopItems
-
SteamScoreboard
-
SteamVAC
-
UPnP
-
UPnPLeaseTime
-
UPnPZeroLeaseTimeFallback
-
UPnPForce
-
CoopServerLaunchTimeout
-
CoopMasterPingTimeout
-
VoiceEnable
-
VoiceComplexity
-
VoicePeriod
-
VoiceSampleRate
-
VoiceBuffering
-
VoiceMinDistance
-
VoiceMaxDistance
-
Voice3D
-
server_browser_announced_ip
-
UseTCPForMapDownloads
-
PlayerRespawnWithSelf
-
PlayerRespawnWithOther
-
FastForwardMultiplier
-
PlayerSaveOnDamage
-
SaveTransactionID
-
DisableSafehouseWhenPlayerConnected
-
Faction
-
FactionDaySurvivedToCreate
-
FactionPlayersRequiredForTag
-
AllowTradeUI
-
HoursForWorldItemRemoval
-
WorldItemRemovalList
-
ItemRemovalListBlacklistToggle
-
DisableRadioStaff
-
DisableRadioAdmin
-
DisableRadioGM
-
DisableRadioOverseer
-
DisableRadioModerator
-
DisableRadioInvisible
-
cardList
public static java.util.ArrayList cardList
-
-
Constructor Details
-
ServerOptions
public ServerOptions()
-
-
Method Details
-
getPublicOptions
public java.util.ArrayList getPublicOptions() -
getOptions
public java.util.ArrayList getOptions() -
initLists
public static void initLists() -
init
public void init() -
resetRegionFile
public void resetRegionFile() -
getOption
public java.lang.String getOption(java.lang.String key) -
getBoolean
public java.lang.Boolean getBoolean(java.lang.String key) -
getFloat
public java.lang.Float getFloat(java.lang.String key) -
getDouble
public java.lang.Double getDouble(java.lang.String key) -
getInteger
public java.lang.Integer getInteger(java.lang.String key) -
putOption
public void putOption(java.lang.String key, java.lang.String value) -
putSaveOption
public void putSaveOption(java.lang.String key, java.lang.String value) -
changeOption
public java.lang.String changeOption(java.lang.String key, java.lang.String value) -
getInstance
-
getCommandList
public static java.util.ArrayList getCommandList(java.lang.String accessLevel, boolean doLine) -
getClientCommandList
public static java.util.ArrayList getClientCommandList(boolean doLine) -
getListOfCommands
public static java.lang.String getListOfCommands(java.lang.String command, boolean doLine, java.lang.String accessLevel) -
getRandomCard
public static java.lang.String getRandomCard() -
addOption
-
getNumOptions
public int getNumOptions() -
getOptionByIndex
-
getOptionByName
-
loadServerTextFile
public boolean loadServerTextFile(java.lang.String serverName) -
saveServerTextFile
public boolean saveServerTextFile(java.lang.String serverName)
-