- Project URL: https://github.com/magicoli/opensim-helpers
- Donate: https://w4os.org/donate/
Helpers required to enable common functionalties like search, currency, events in OpenSimulator grids.
They were initially based on a collection of different projects (see Credits below), but were entirely rewritten to use an unified code and set of parameters, as well as for integration in larger projects like w4os OpenSim WordPress Interface.
Formerly known as Flexible Helper Scripts.
- In-world Search: enable standard search in the viewer for places, land for sale, events and classifieds.
- Events: sync events from HYPEvents server
- Currency: provide helpers for currency (MoneyServer, Gloebit and Podex)
- Offline messaging: add mail forwarding option to offline IM (according to user viewer settings)
- Multi-grid: can be used for standalone or closed grid as well as to provide a cross-grid search engine
- Unified library: rewritten to allow easier integration in bigger projects
Yes, my first suggestion is not to install this, funny, isn't it? Relying on an external search engine may have advantages:
- For small grids and standalone, it can be confusing to install the whole package, while it's easy to benefit of its main advantage.
- An external engine can collect and distribute data from several grids, which is good for an hypergrid-enabled installation.
2do directory provides a cross-grid search engine. This is the easiest solution if you don't have specific needs (and you don't need classifieds, which require access to both Robust and search databases).
-
Download OpenSimSearch.Module.dll and put it inside your OpenSim bin/ folder.
-
Add the following settings to each simulator OpenSim.ini file. Replace "Your Grid" and "yourgrid.org:8002" with your own values.
[Search]
SearchURL = "http://2do.directory/helpers/query.php?gk=http://yourgrid.org:8002"
[DataSnapshot]
index_sims = true
gridname = "Your Grid"
snapshot_cache_directory = "./DataSnapshot"
DATA_SRV_2do = http://2do.directory/helpers/register.php
;DATA_SRV_OtherEngine = http://example.org/helpers/register.py
- Restart the simulators.
If you have a WordPress website, we suggest you to install W4OS Plugin instead. It includes these helpers and a lot of other cool features like avatar registration, web profiles, web assets server, grid info (...), along with documented admin pages.
If you want to keep the control, or combine with a wider range of services, here is how to setup your search engine.
- Copy the needed modules, according to your OpenSim version from this bin/ directory to your OpenSim bin/ directory. Copy only the ones you need, as OpenSim loads them all and will trigger errors if they are not properly configured. (e.g. do not copy MoneyServer if you use Gloebit and vice-versa, do not copy any of those if you don't plan to use currency.)
- Copy the content of this directory on your web server, in a folder named "helpers" (or anything you want, adjust your settings accordingly). It should be reachable as something like http://yourgrid.org/helpers/
- Rename includes/config.example.php as includes/config.php and edit with your grid and database settings
- Edit your OpenSim config file for search (adjust your grid name, server url and login uri). Edit MoneyServer.ini or Gloebit.ini according to their instructions.
[Search]
SearchURL = "http://yourgrid.org/helpers/query.php?gk=http://yourgrid.org:8002"
[DataSnapshot]
index_sims = true
gridname = "Your Grid"
snapshot_cache_directory = "./DataSnapshot"
DATA_SRV_YourGrid = http://yourgrid.org/helpers/register.php
;DATA_SRV_2do = http://2do.directory/helpers/register.php
(you can add several DATA_SRV_* lines if you want to register on multiple search engines)
If you have trust issues with Gloebit (I mean seriously, if your console shows errors about Trust Failures), see README-Gloebit.md for instructions.
Use a task scheduler to parse data regularly. It's useless to parse data too often, as they don't change that fast, it's better to keep both search and opensim servers load low and avoid triggering spam reject. With cron, it could be something like this.
0 * * * * curl -s http://2do.directory/helpers/parse.php
30 */2 * * * curl -s http://2do.directory/helpers/eventsparser.php
Version 2.x is This is a complete rewrite. The initial project was basicly a meta installer, combining several other projects repositories. It has been completely rewritten to ease installation, as well as ease inclusion in other projects like W4OS OpenSim Web Interface.
While most of the code is new or rewritten from scratch, portions of code may remain from the original projects, including:
- OpenSimSearch
- DTL/NSL Money Server for OpenSim
- DTL/NSL Helper scripts
- OpenSimMaps
- Offline Messaging
- w4os OpenSim Web Interface
- 2do HYPEvents
- Speculoos' Flexible helper scripts
Unless otherwise specified, code is distributed as part of Flexible Helper Scripts package, under Affero GPL v3 license.