|
Database Teleporter BRIGADOON-0009
An Open Simulator Teleporter using a central database.
|
The configuration options for the scripts running in the simulator are defined in notecards associated with the scripts. Apart from the database username and apsswords, the configuration options for the teleport.php script held in the web server are contained in the script itself.
Parameters are in the format "OPTION = value" where "OPTION" is the configuration option and is case-insensitive and "value" is the value to which the option will be set.
CAUTION: Some of the configuration information can make your system susceptible to attack by malicious actors and in production systems, any object holding this sort of information should not be readable by the general users.
The following configuration options are available:
DATABASE_INTERFACE
This parameter sets the address of the php script that controls the database being used to manage the teleporters and would be in the format "DATABASE_INTERFACE = https://www.whatever.com/directory/teleport_script_name.php". In the production version of this script, that address would be placed in the script and the script made unreadable. In this experimental model, it allows for an easy change between different versions of the script.
LOCATION_NAME
This parameter set the name that will be displayed for this teleporter when it is available for selection on other teleporters and has the format"LOCATION_NAME = Brigadoon Landing Location".
LANDING_OFFSET
This parameter sets how far the avatar should land away from the Teleporter device to prevent the avatar from overlapping the teleporter at the destination. If the number is positive, the landing point will be away from the front display of the teleporter. If it is negative will be away from the back of the teleporter. It has the format "LANDING_OFFSET = 3" where the the numeric value is the distance in metres from the teleport's location.
LOCATION_TYPE
Because the number teleporter destinations can become large when using an automatic inclusion system, the location type can be use to limit the number of teleport locations that will be known to a teleporter. There are four types of destination recognised. They can be used separately or inconjunction with each other.
The strength and weakness of this option is that the owner of the teleporter decides which groups this teleporter will be included in. Users can taylor where their teleports are displayed, but some egotistical users may want their teleports to show up everywhere, rather than targetting them appropriately. Addressing this is taken to be a management issue, not a technological one.
LOCALITY_GROUP This option is used to identify with which group this teleporter will be associated. Teleporters with the same "LOCALITY_GROUP" will be included when the LOCATION_TYPE includes the "GROUP" flag. NOTE: Any users can agree to have a "LOCALITY_GROUP" that they choose and form private teleport groups.
HEARTBEAT_PERIOD This option sets the time in hours between hearbeat signals being sent to the "teleport.php" script. It should be noted that the script monitoring of heartbeat periods is not affected by this setting. If this value is set too high, the teleporter will be removed between heartbeats if the period exceeds the "LIFE_TIME" define in that process.
The following configuration options are available: