OpenSim Server Commands, 0.7.1-Plus
OpenSim Server Commands, 0.7.1-Plus
Page
Discussion
View source
History
Server Commands
From OpenSim
Contents
1 What are server commands?
2 Commands
2.1 General Server Commands
2.1.1 General
2.1.2 Debug
2.2 Simulator Commands
2.2.1 General
2.2.2 Appearance Commands
2.2.3 Archive Commands
2.2.4 Asset Commands
2.2.5 Config Commands
2.2.6 Land Commands
2.2.7 Map Commands
2.2.8 Object Commands
2.2.9 Scene Commands
2.2.10 Script Commands
2.2.11 Stats Commands
2.2.12 Terrain Commands
2.2.13 Tree Commands
2.2.14 User Commands
2.2.15 Windlight/LightShare Commands
2.3 ROBUST Service Commands
2.3.1 Asset Service
2.3.2 Grid Service
2.3.3 User Service
2.3.4 Login Service
2.4 Details of Terrain Module Commands
2.4.1 terrain load
2.4.2 terrain load-tile
2.4.3 terrain save
2.4.4 terrain fill
2.4.5 terrain elevate
2.4.6 terrain lower
2.4.7 terrain multiply
2.4.8 terrain bake
2.4.9 terrain revert
2.4.10 terrain newbrushes
2.4.11 terrain stats
2.4.12 terrain effect
2.5 Details of Hypergrid Commands
2.6 Frame Statistics Values
Commands can be divided up into those that apply to the simulator (simulator commands) and those that apply to
grid services (service commands).
On a standalone system, both simulator and service commands will be available on the single standalone system
console.
On a grid architecture, the simulator commands will be available on the simulators, whilst the service commands
will be available on the ROBUST console.
Disclaimer: some commands may not work as expected, some may not work at all, and there is a chance that you
may even lose all your settings/contents. This summary quickly goes out of date - the best place to find commands
is by typing "help" on the region console.
Except where noted, this list should be accurate for OpenSimulator 0.7.1 onwards.
Commands
General Server Commands
These commands are available in both simulator and robust consoles.
General
Debug
debug http [<level>] - Turn on/off extra logging for HTTP request debugging. Only available on robust
console from commit 94517c8 (dev code post 0.7.3.1). In current development code (for OpenSimulator
0.7.5) this is debug http in|out|all [<level>] since outbound HTTP messages can also now be logged (this was
only possible for inbound before). For more information on this command, see Debugging.
debug threadpool level <level> - Turn on/off logging of activity in the main threadpool. For more information,
see General-Purpose Threadpool.
Simulator Commands
General
change region <region name> - subsequent commands apply only to the specified region. If region name is
"root" then all regions are selected
create region [name] [filename] - Create a new region
debug packet <level> - Turn on packet debugging, where OpenSimulator prints out summaries of incoming
and outgoing packets for viewers, depending on the level set
debug scene - Turn on scene debugging
delete-region <name> - Delete a region from disk
emergency-monitoring - turn emergency debugging monitoring mode on or off.
help [<command>] - Get general command list or more detailed help on a specific command or set of
commands
link-mapping - Set a local grid co-ordinate to link to a remote hypergrid
link-region - Link a HyperGrid region. Not sure how this differs from link-mapping
modules list - List modules
modules load <name> - Load a module
modules unload <name> - Unload a module
monitor report - Returns a variety of statistics about the current region and/or simulator
region restart abort [<message>] - Abort a scheduled region restart, with an optional message
region restart bluebox <message> <delta seconds>+ - Schedule a region restart. If one delta is given then
the region is restarted in delta seconds time. A time to restart is sent to users in the region as a dismissable
bluebox notice. If multiple deltas are given then a notice is sent when we reach each delta.
region restart notice <message> <delta seconds>+ - Schedule a region restart. Same as above except
showing a transient notice instead of a dismissable bluebox.
reload estate - reload estate data
remove-region - remove a region from the simulator
restart - Restarts all sims in this instance
set region flags <Region name> <flags> - Set database flags for region
set terrain heights <corner> <min> <max> [<x>] [<y>] - Sets the terrain texture heights on corner
#<corner> to <min>/<max>, if <x> or <y> are specified, it will only set it on regions with a matching
coordinate. Specify -1 in <x> or <y> to wildcard that coordinate. Corner # SW = 0, NW = 1, SE = 2, NE =
3.
set terrain texture <number> <uuid> [<x>] [<y>] - Sets the terrain <number> to <uuid>, if <x> or <y>
are specified, it will only set it on regions with a matching coordinate. Specify -1 in <x> or <y> to wildcard
that coordinate.
show caps - show all registered capabilities URLs
NOTE: In OpenSimulator 0.7.1, "show capabilities" is shown as a result for help command, but actually only
"show caps" will be accepted. (#5467 (http://opensimulator.org/mantis/view.php?id=5467) )
Appearance Commands
appearance show - Show information about avatar appearance. Currently just checks whether the baked
texture is "OK" or "corrupt". Still in development. Only exists in development code at the moment.
Archive Commands
load iar <first> <last> <inventory path> <password> [<archive path>] - Load user inventory archive. See
Inventory Archives.
load oar [filename] - load an OpenSimulator archive. This entirely replaces the current region. Default
filename is region.oar. See OpenSim Archives.
load xml [-newIDs [<x> <y> <z>]] - Load a region's data from XML format (0.7.*: DEPRECATED and may be
REMOVED soon. Use "load xml2" instead)
those xml are the result of the export save or *export save-all
load xml2 [filename] - optional parameters not supported for XML2 format as at 1-Jul-2008
save iar <first> <last> <inventory path> <password> [<archive path>] - Save user inventory archive. See
Inventory Archives
save oar [filename] - save the current region to an OpenSimulator archive. Default filename is region.oar.
See OpenSim Archives.
save prims xml2 [<prim name> <file name>] - Save named prim to XML2
save xml [filename] - save prims to XML
save xml2 [filename] - save prims to XML (Format 2 - rearrangement of some nodes, to make loading/saving
easier)
Asset Commands
The fcache commands only currently appearance if you are using the fcache asset cache. This is the default on
OpenSimulator.
fcache assets - Attempt a deep scan and cache of all assets in all scenes
fcache clear [file] [memory] - Remove all assets in the cache. If file or memory is specified then only this
cache is cleared.
fcache expire <datetime> - Purge cached assets older then the specified date/time
fcache status - Display cache status
j2k decode <ID> - Do JPEG2000 decoding of an asset.
Config Commands
config get [<section>] [<key>] - Get the current configuration, either for a particular key, a particular
section or the whole config.
config save <path> - Save the current configuration to a file.
config set <section> <key> - Set a particular configuration value. On the whole, this is useless since neither
OpenSimulator nor modules dynamically reload config values.
config show [<section>] [<key>] - Synonym for 'config get'
Land Commands
Map Commands
export-map [<path>] - Save an image of the world map (default name is exportmap.jpg)
generate map - Regenerates and stores map tile. Only in development code post 0.7.6.
Object Commands
backup - Persist currently unsaved object changes immediately instead of waiting for the normal persistence
call. This shouldn't normally be required - the simulator persists region objects automatically at regular
intervals and on shutdown.
delete object creator <UUID> - Delete a scene object by creator
delete object name [--regex] <name> - Delete a scene object by name.
delete object outside - Delete all scene objects outside region boundaries. This is currently if z < 0 or z >
10000. Object outside these bounds have been known to cause issues with OpenSimulator's use of some
physics engines (such as the Open Dynamics Engine).
delete object owner <UUID> - Delete a scene object by owner
delete object uuid <UUID> - Delete a scene object by uuid. In current dev code (post 0.7.5) this is "show
object id" and also allows a local ID.
dump object id <UUID-or-localID> - Dump the serialization of the given object to a file for debug purposes.
edit scale <name> <x> <y> <z> - Change the scale of a named prim
force update - Force the region to send all clients updates about all objects.
show object name [--regex] <name> - Show details of scene objects with the given name.
show object uuid <UUID> - Show details of a scene object with the given UUID. In current dev code (post
0.7.5) this is "show object id" and also allows a local ID.
show part name [--regex] <name> - Show details of scene object parts with the given name.
show part uuid <UUID> - Show details of a scene object parts with the given UUID. In current dev code
(post 0.7.5) this is "show object id" and also allows a local ID.
Scene Commands
rotate scene <degrees> - Rotates scene around 128,128 axis by x degrees where x=0-360.
scale scene <factor> - Scales all scene objects by a factor where original size =1.0.
translate scene <x,y,z> - Translate (move) the entire scene to a new coordinate. Useful for moving a scene to
a different location on either a Mega or Variable region.
(please back up your region before using any of these commands and be aware of possible floating point errors
the more they are used.)
Script Commands
These currently only exist in git master OpenSimulator development code post the 0.7.2 release.
show stats - show useful statistical information for this server. See Frame Statistics Values below for more
information.
stats show - a synonym for "show stats" (OpenSimulator dev code only post 19th March 2014).
stats record - record stats periodically to a separate log file.
stats save - save a snapshot of current stats to a file (OpenSimulator dev code only post 19th March 2014).
Terrain Commands
Note that some of these may require a sim restart to show properly.
Tree Commands
User Commands
Windlight/LightShare Commands
windlight load - Load windlight profile from the database and broadcast
windlight enable - Enable the windlight plugin
windlight disable - Enable the windlight plugin
Asset Service
delete asset - Delete an asset from the database. Doesn't appear to be implemented.
dump asset <ID> - Dump an asset to the filesystem. OpenSimulator 0.7.3 onwards.
show digest <ID> - Show summary information about an asset. From OpenSimulator 0.7.3 onwards this will
be renamed to "show asset"
Grid Service
set region flags <Region name> <flags> - Set database flags for region
show region <Region name> - Show the details of a given region. This command is renamed to "show region
name" in development versions of OpenSimulator.
The following commands currently only exist in development versions of OpenSimulator (post 0.7.3.1). These are
currently found in the "Regions" help section.
deregister region id <Region UUID> - Deregister a region manually. This can be helpful if a region was not
properly removed due to bad simulator shutdown and the simulator has not since been restarted or its region
configuration has been changed.
show region at <x-coord> <y-coord> - Show details on a region at the given co-ordinate.
show region name <Region name> - Show details on a region
show regions - Show details on all regions. In standalone mode this version of the command is not currently
available - the simulator version of "show regions" is used instead, which shows similar information.
User Service
create user [first] [last] [passw] [RegionX] [RegionY] [Email] - creates a new user and password
Login Service
Parameters
filename (String)
The file you wish to load from, the file extension determines the loader to be used. Supported extensions include:
.r32 (RAW32) .f32 (RAW32) .ter (Terragen) .raw (LL/SL RAW) .jpg (JPEG) .jpeg (JPEG) .bmp (BMP) .png (PNG) .gif
(GIF) .tif (TIFF) .tiff (TIFF)
terrain load-tile
Parameters
filename (String)
The file you wish to load from, the file extension determines the loader to be used. Supported extensions include:
.r32 (RAW32) .f32 (RAW32) .ter (Terragen) .raw (LL/SL RAW) .jpg (JPEG) .jpeg (JPEG) .bmp (BMP) .png (PNG) .gif
(GIF) .tif (TIFF) .tiff (TIFF)
terrain save
Parameters
filename (String)
The destination filename for your heightmap, the file extension determines the format to save in. Supported
extensions include: .r32 (RAW32) .f32 (RAW32) .ter (Terragen) .raw (LL/SL RAW) .jpg (JPEG) .jpeg (JPEG) .bmp
(BMP) .png (PNG) .gif (GIF) .tif (TIFF) .tiff (TIFF)
terrain fill
Parameters
value (Double)
The numeric value of the height you wish to set your region to.
terrain elevate
Parameters
amount (Double)
terrain lower
Parameters
amount (Double)
terrain multiply
Parameters
value (Double)
terrain bake
terrain revert
terrain newbrushes
Enables experimental brushes which replace the standard terrain brushes. WARNING: This is a debug setting and
may be removed at any time.
Parameters
Enabled? (Boolean)
true / false - Enable new brushes
terrain stats
Shows some information about the regions heightmap for debugging purposes.
terrain effect
Parameters
name (String)
The plugin effect you wish to run, or 'list' to see all plugins
show hyperlinks
Use Xloc and Yloc that make sense to your world, i.e. close to your regions, but not adjacent.
replace osl2.nac.uci.edu and 9006 with the domain name / ip address and the port of the region you want to
link to
This command will unlink the specified hypergrid linked region - be sure to use the exact local name as reported
by the "show hyperlinks" command.
Important Note
Due to a viewer bug (https://jira.secondlife.com/browse/SVC-2941) , you can only TP between regions that are no
more than 4096 cells apart in any dimension. What this means in practice is that if you want to link to OSGrid, you
must have your own regions reachable from the (10,000; 10,000) point on the map, which is where OSGrid is
centered. Place your regions somewhere in the 8,000s or the 12,000s.
link-mapping
Support
Help
Configuration
Getting Started
Development