Economy

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
 
Line 43: Line 43:
  
 
https://github.com/ManfredAabye/opensimcurrencyserver-dotnet
 
https://github.com/ManfredAabye/opensimcurrencyserver-dotnet
 +
 +
This MoneyServer is designed to be used only for gaming as a points system, please do not confuse it with real currency.
  
 
=References=
 
=References=
 
* http://opensim-users.2152040.n2.nabble.com/Buying-and-Selling-Land-What-module-is-needed-td7578626.html - A mailing list thread on getting landtool.php working.
 
* http://opensim-users.2152040.n2.nabble.com/Buying-and-Selling-Land-What-module-is-needed-td7578626.html - A mailing list thread on getting landtool.php working.

Latest revision as of 11:27, 30 November 2024

Contents

[edit] Introduction

Note: this page is in development. Additions welcome.

Two major aspects relating to currency are buying and selling money units (i.e. by clicking the currency display in the top-right hand corner of most viewers) and buying and selling land.

These involve calls to a pair of external PHP scripts. The names of these scripts (currency.php and landtool.php) are actually hard-coded (!) in the viewer source. However, third-party viewers will allow the path to be changed if we specify it in the economy parameter of the [GridInfo] section of Robust.ini (or Robust.HG.ini, config-include/StandaloneCommon.ini).

[edit] Buying and selling money

OpenSimulator does not come with a working currency implementation, though there is a very limited sample money module that works in standalone mode only.

You can find third party currency implementations on the Related Software page. The OpenSimulator project cannot supply any support for these modules.

Clicking the currency display in a viewer generates a request to currency.php following whatever path has been set up in the economy [GridInfo] section of Robust.ini.

[edit] Buying and selling land

Buying and selling land also requires the grid to have a landtool.php page that services a preflightBuyLandPrep XMLRPC call.

For an OpenSimulator standalone installation, the SampleMoneyModule will supply the required minimal functionality (TODO: properly document this.).

Unfortunately, this is not available in ROBUST at this time. A grid installation will need to supply an external implementation of the preflightBuyLandPrep XMLRPC function.

There is a very minimal version of this (with installation instructions) at https://github.com/justincc/opensimulator-helper. This allows $0 transfers.

For newer php version after 7.x and for newer viewer versions a different version of landtool.php may be required: https://gist.github.com/Tampa/af55bb150f423e78bfa3d144bf98bc85

A slightly more fleshed out example can be found at https://download.osgrid.org/helper_tools_opensim_2024.zip.

Both these files ultimately derive from an original implementation at:

https://sourceforge.net/projects/opensimwi/

https://sourceforge.net/projects/opensimwiredux/

[edit] Buying land and money

Buying money and land without PHP is now possible with OpenSim Currency Server for OpenSim 0.9.3.

original DTL/NSL Money Server by Fumi.Iseki and NSL http://www.nsl.tuis.ac.jp

Here is a revision for DotNet6 & DotNet8:

https://github.com/ManfredAabye/opensimcurrencyserver-dotnet

This MoneyServer is designed to be used only for gaming as a points system, please do not confuse it with real currency.

[edit] References

Personal tools
General
About This Wiki