Gloebit Developer Logo

Blog

Sandbox

Main Site

OpenSim Gloebit Money Module Beta - Configuration Instructions for Diva Distro

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. 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.

  1. Request account permission to create apps
  2. Create a Gloebit app

Once you've created an app, move on to the Diva configuration instructions below..

Configuration for Diva

If you are not running the Diva distribution of OpenSim, please follow our standard configuration instructions instead of the instructions below.

  1. Install:
  2. edit MyWorld.ini located in the bin/config-include/ directory
    • In the [Startup] section
      • add the line ConfigDirectory = "."
      • add the line economymodule = Gloebit
    • In the [LoginService] section
      • add the line Currency = "G$"
    • 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 this: economy = http://127.0.0.1:9000/ 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.
  3. 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: GLBSpecificConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=mysecurepw;Old Guids=true;"
    • You can also make these additional edits for some improved user-friendly behavior, but they are not required for the module to function.
      • 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.
  4. Restart your sim so that these changes take effect
  5. Update your Grid Info in your viewer so land sales and buy-currency functionality will work.
  6. Log in and try out your new commerce functionality.