Package games.stendhal.server.script
Class ListSpawnPoints
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.core.scripting.AbstractAdminScript
games.stendhal.server.script.ListSpawnPoints
- All Implemented Interfaces:
Script
Script to list spawn points located in a zone.
-
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 TypeMethodDescriptionprotected intRetrieves maximum number of parameters required to run script.Retrieves extended instructions on parameter usage.Retrieves a list of parameter strings that this script accepts.protected voidInstructions to execute after parameter count sanity is checked.Methods inherited from class games.stendhal.server.core.scripting.AbstractAdminScript
execute, getMinParams, getUsage, sendError, sendInfo, sendText, sendWarning, showUsageMethods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
ListSpawnPoints
public ListSpawnPoints()
-
-
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.
-
getMaxParams
protected 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
-