Wednesday, 8 October 2008

Diary: 8th October 2008

Deleting a Region
In Article 9 I bemoaned the fact that there was no OpenSim command to delete a region. Fortunately, with the latest release of OpenSim, Version 0.5.11. 6676, we now have a new command, delete-region. This command deletes a region and its associated region file.

Just in case the command was introduced earlier, and I have been lacking in observation, it might be a good idea to benchmark the current commands in release 6676, so I can tell at a glance if they are changed in future.

Current OpenSim Console Commands
alert - send alert to a designated user or all users.

alert [First] [Last] [Message] - send an alert to a user. Case sensitive.

alert general [Message] - send an alert to all users.

backup - persist simulator objects to the database ahead of the normal schedule.

clear-assets - clear the asset cache.

create-region - create a new region.

change-region - select the region that single region commands operate upon.

command-script [filename] - Execute command in a file.

config set section field value - set a config value.

config get section field - get a config value.

config save - save OpenSim.ini

create user - adds a new user.

debug - debugging commands.

debug packet 0..255 - print incoming/outgoing packets (0=off).

debug scene [scripting] [collision] [physics] - Enable/Disable debug stuff, each can be True/False.

delete-region [name] - delete a region and its associated region file.

echoTest - this echos your command args to see how they are parsed.

edit-scale [prim name] [x] [y] [z] - resize given prim.

export-map [filename] - save image of world map.

force-update - force an update of prims in the scene.

kickuser - kickuser [first] [last] - attempts to log off a user from any region we are serving.

load-xml2 [filename] - load prims from XML using version 2 format.

load-oar [filename] - load an OpenSimulator region archive. This replaces everything in the current region.

quit - equivalent to shutdown.

restart - disconnects all clients and restarts the sims in the instance.

remove-region [name] - remove a region.

reset user password - reset a user's password.

save-oar [filename] - Save the current region to an OpenSimulator region archive.

save-xml2 [filename] - save prims to XML using version 2 format.

script - manually trigger scripts? or script commands?

set log level [level] - change the console logging level only. For example, off or debug.

set-time [x] - set the current scene time phase.

show assets - show state of asset cache.

show info - show server information (e.g. startup path).

show stats - show statistical information for this server.

show threads - list tracked threads.

show uptime - show server startup time and uptime.

show version - show server version.

show users - show info about connected users (only root agents).

show users full - show info about connected users (root and child agents).

show modules - shows info about loaded modules.

show regions - show running region information.

shutdown - shutdown the server.

terrain help - show help for terrain commands.



If you have any comments on any of the above commands, or if any do not operate as expected, please feel free to post a comment, which I will be sure to pass on to the developers.

Rock