Enabling Gloebit on your Diva distribution of OpenSim is quick and simple. Add commerce in minutes.
These instructions are for enabling Gloebit on diva-r08210 built on the 0.8.2.1 release of OpenSim and diva-r09000 built on the 0.9.0.0 release of OpenSim. They assume that you have already downloaded and configured Diva following their instructions.
If you have not already done so, you'll need to follow the steps to create a Gloebit app before you can enable and configure the Gloebit Money Module. Click the links below and follow the instructions on our standard configuration instructions page and then return here for the diva specific configuration instructions.
edit MyWorld.ini located in the bin/config-include/ directory
In the [Startup] section, add the following lines
In the [LoginService] section, add the following line
In the [GridInfoService] section
add the line economy = http://<IP or Domain of Grid>:<Port of Region with Gloebit enabled>
replace the values with your grid's domain/IP and region's port number.
It will look something like the following and will probably be the same as some of the other values in the section
In the [DatabaseService] section
Copy the value that ConnectionString is set to. You'll need this when editing Gloebit.ini below.
edit Gloebit.ini located in the bin/ directory
set Enabled = true
set GLBEnvironment = production
set GLBKey and GLBSecret to the "OAuth Key" and "OAuth Secret" from the Gloebit application you created earlier.
Uncomment (by deleting the leading ';') the line GLBSpecificStorageProvider = OpenSim.Data.MySQL.dll and the line below it which starts with GLBSpecificConnectionString =
set GLBSpecificConnectionString to the value of ConnectionString you copied above from MyWorld.ini.
If the ConnectionString does not have a section which says Old Guids=true; then make sure to add it.
It will look something like this:
You can also make these additional edits for some improved user-friendly behavior, but they are not required for the module to function.
You can configure what IMs are sent to avatars each session start. To turn off new session messages, set the following:
If you entered an "OAuth Key Alias" for your application, you can set GLBKeyAlias to this value.
Set GLBOwnerName and GLBOwnerEmail to the name and contact details of a manager of this OpenSim process. These are displayed with certain error messages if there is a configuration issue and user is asked to report this problem to this manager.
Restart your sim so that these changes take effect
Update your Grid Info in your viewer so land sales and buy-currency functionality will work.
Specifically, this is forcing your viewer to retrieve the new economy helper-uri you set in your MyWorld.ini file.
We have found this a little finnicky on FireStorm, but can't speak for all viewers. Here is what has worked on FireStorm
Select a different grid than the one for which you want to refresh the grid info
In the "Viewer" menu, select Preferences -> OpenSim
Select the Grid which you'd like to update and then click "Refresh"
Now reselect the grid you have refreshed and it should have the new economy helper-uri
Log in and try out your new commerce functionality.