Package games.stendhal.server.script
Class DebugWeather
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.core.scripting.AbstractAdminScript
games.stendhal.server.script.DebugWeather
- All Implemented Interfaces:
Script
For debugging weather server-side. Sets weather in zone where admin is located.
-
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.AbstractAdminScript
adminFields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintRetrieves maximum number of parameters required to run script.intRetrieves minumum number of parameters required to run script.Retrieves extended instructions on parameter usage.Retrieves a list of parameter strings that this script accepts.getUsage()Retrieves a string representation of usage information.protected voidInstructions to execute after parameter count sanity is checked.Methods inherited from class games.stendhal.server.core.scripting.AbstractAdminScript
execute, sendError, sendInfo, sendText, sendWarning, showUsageMethods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
DebugWeather
public DebugWeather()
-
-
Method Details
-
run
Description copied from class:AbstractAdminScriptInstructions to execute after parameter count sanity is checked.- Specified by:
runin classAbstractAdminScript- Parameters:
args- Parameters passed to the script.
-
getMinParams
public int getMinParams()Description copied from class:AbstractAdminScriptRetrieves minumum number of parameters required to run script.- Overrides:
getMinParamsin classAbstractAdminScript
-
getMaxParams
public int getMaxParams()Description copied from class:AbstractAdminScriptRetrieves maximum number of parameters required to run script. An indefinite amount can be specified with-1.- Overrides:
getMaxParamsin classAbstractAdminScript
-
getParamStrings
Description copied from class:AbstractAdminScriptRetrieves a list of parameter strings that this script accepts. An empty string can be included to show execution without parameters.- Overrides:
getParamStringsin classAbstractAdminScript
-
getParamDetails
Description copied from class:AbstractAdminScriptRetrieves extended instructions on parameter usage.- Overrides:
getParamDetailsin classAbstractAdminScript
-
getUsage
Description copied from class:AbstractAdminScriptRetrieves a string representation of usage information.- Overrides:
getUsagein classAbstractAdminScript
-