flagflag  
1: 2011-09-03 (Sat) 14:26:06 iseki source Cur: 2020-03-01 (Sun) 16:26:50 iseki source
Line 15: Line 15:
**** [MoneyServer] [#kb5749c2] **** [MoneyServer] [#kb5749c2]
- ''DefaultBalance'' : Initial money that new avatar has. - ''DefaultBalance'' : Initial money that new avatar has.
 +- ''EnableAmountZero'' : zero amount transaction enable? Default is false.
- ''BankerAvatar'' : UUID of Banker Avatar. Banker Avatar can buy money from system with no cost. If 00000000-0000-0000-0000-000000000000 is specified, all Avatars are Banker Avatar. - ''BankerAvatar'' : UUID of Banker Avatar. Banker Avatar can buy money from system with no cost. If 00000000-0000-0000-0000-000000000000 is specified, all Avatars are Banker Avatar.
-- ''enableForceTransfer'' : If this is true, llGiveMoney() function works normally even if payer doesn't login to Opensim. default is false+- ''EnableForceTransfer'' : If this is true, llGiveMoney() function works normally even if payer doesn't login to Opensim. default is false
-- ''enableScriptSendMoney'' :  If this is true, send_money() script can send money to any avatars. default is false.+- ''EnableScriptSendMoney'' :  If this is true, send_money() script can send money to any avatars. default is false.
- ''MoneyScriptAccessKey'' : Secret key of Helper Script. Specify same key in include/config.php or WI(XoopenSim/Modlos) - ''MoneyScriptAccessKey'' : Secret key of Helper Script. Specify same key in include/config.php or WI(XoopenSim/Modlos)
- ''MoneyScriptIPaddress'' : IP address of server that Helper Script execute at. Not use 127.0.0.1 - ''MoneyScriptIPaddress'' : IP address of server that Helper Script execute at. Not use 127.0.0.1
 +
 +- ''EnableHGAvatar'' : Allow connection from HyperGrid avatar. default is false.
 +- ''EnableGuestAvatar'' : Allow connection from Guest avatar. default is false.
 +- ''HGAvatarDefaultBalance'' :  Initial money of  new HyperGrid avatar.
 +- ''GuestAvatarDefaultBalance'' :  Initial money of  new Guest avatar.
 +-- HyperGrid avatar and Guest avatar were defined at each Region Server's OpenSim.ini
- Messages that displayed in blue dialog, when balance is updated. - Messages that displayed in blue dialog, when balance is updated.
Line 38: Line 44:
-- ''BalanceMessageReceiveMoney'' : for receive the money from system by send_money() script -- ''BalanceMessageReceiveMoney'' : for receive the money from system by send_money() script
-- ''BalanceMessageRollBack'' : when roll back ocuurred -- ''BalanceMessageRollBack'' : when roll back ocuurred
 +
 +**** [Certificate] [#ofe181eb]
 +- ''CACertFilename'' : CA (Certificate Authority) cert file. Required for ''CheckClientCert'' or  ''CheckServerCert''.
 +
 +- ''ServerCertFilename'' : [[pfx File>pfx]] for HTTPS (Server certificate). default is "SineWaveCert.pfx"
 +- ''ServerCertPassword'' : Password of [[pfx File>pfx]] . default is "123"
 +
 +- ''CheckClientCert'' :  Check Client certificate (Region Server authentication) using ''CACertFilename''. Refuse connection from Region server without client certificate.
 +- ''ClientCrlFilename'' : CRL (Certificate Revocation List) of Region servers.
 +
 +- ''CheckServerCert'' :  Check Server certificate (Region Server authentication) using ''CACertFilename'', when to use XML RPC to Region server.
 +- ''ClientCertFilename'' : If Region server checks client authentication, set file here.
 +- ''ClientCertPassword'' : Password of ''ClientCertFilename''
#br #br
 +
 +**** Sample [#oc4845b4]
 + [Startup]
 + ;
 + ; Place to create a PID file
 + ; PIDFile = "/tmp/money.pid"
 + 
 + 
 + [MySql]
 + ;
 + ;Connection parameters of MySQL
 + hostname = localhost        ; Name of MySQL Server
 + database = opensim_db
 + username = opensim_user
 + password = opensim_pass
 + 
 + pooling  = false
 + port = 3306
 + 
 + ;
 + ; Max DB connections kept by money server.
 + MaxConnection = 10
 + 
 + 
 + [MoneyServer]
 + ;
 + ; If the user is not found in database,he/she will be created with the default balance.
 + DefaultBalance = 1000
 + 
 + ;
 + ; Is amount==0 transaction enable? Default is false.
 + ;EnableAmountZero = false
 + 
 + ;
 + ; If "00000000-0000-0000-0000-000000000000" is specified, all avatars can get money from system.
 + ; If "" is specified, nobody can get money.
 + BankerAvatar = ""
 + 
 + ;
 + ; If you want to use llGiveMoney() function normally even when payer doesn't login to OpenSim,
 + ; please set true to this valiable
 + EnableForceTransfer = true
 + 
 + ;
 + ; Send/Move money to/from avatar by Money Script
 + ;EnableScriptSendMoney = false
 + ;MoneyScriptAccessKey  = "123456789"            ;; Specify same secret key in include/config.php or WI(XoopenSim/Modlos)
 + ;MoneyScriptIPaddress  = "202.26.159.139"      ;; Not use 127.0.0.1. This is used to generate Script key
 + 
 + ;
 + ; for HG/Guest Avatar. Foreign Avatar is always false
 + ;EnableHGAvatar = false
 + ;EnableGuestAvatar = false
 + ;HGAvatarDefaultBalance = 0
 + ;GuestAvatarDefaultBalance = 0
 + 
 + ;
 + ; Message that displayed in blue dialog, when balance is updated.
 + ; If "" is specified, blue dialog is not displayed.
 + ; You can use {0} and {1} in message string.
 + ; {0} means amount and {1} means avatar name or object owner name.
 + ;BalanceMessageSendGift    = "Sent Gift L${0} to {1}."                      ;; for send gift to other avatar
 + ;BalanceMessageReceiveGift  = "Received Gift L${0} from {1}."                ;; for receieve gift from other avatar
 + ;BalanceMessagePayCharge    = ""                                            ;; for upload and group creation charge
 + ;BalanceMessageBuyObject    = "Bought the Object {2} from {1} by L${0}."    ;; for buy the object
 + ;BalanceMessageSellObject  = "{1} bought the Object {2} by L${0}."          ;; for sell the object
 + ;BalanceMessageLandSale    = "Paid the Money L${0} for Land."              ;; for buy the land
 + ;BalanceMessageScvLandSale  = ""                                            ;; for get the money of the sold land
 + ;BalanceMessageGetMoney    = "Got the Money L${0} from {1}."                ;; for get the money from object by llGiveMoney()
 + ;BalanceMessageBuyMoney    = "Bought the Money L${0}."                      ;; for buy the money from system
 + ;BalanceMessageRollBack    = "RollBack the Transaction: L${0} from/to {1}." ;; when roll back ocuurred
 + ;BalanceMessageSendMoney    = "Paid the Money L${0} to {1}."                ;; for sender of sending the money
 + ;BalanceMessageReceiveMoney = "Received L${0} from {1}."                    ;; for receive the money
 + 
 + 
 + [Certificate]
 + ;
 + ; Certification Configuration
 + ;
 + 
 + ; CA Cert to check Client/Server Cert
 + ;CACertFilename = "cacert.crt"
 + 
 + ;
 + ; HTTPS Server Cert (Server Mode)
 + ;ServerCertFilename = "SineWaveCert.pfx"
 + ;ServerCertPassword = "123"
 + ServerCertFilename = "server_cert.p12"
 + ServerCertPassword = ""
 + 
 + ; Client Authentication from Region Server
 + ;CheckClientCert = false                                                ;; check Region Server
 + ;ClientCrlFilename = "clcrl.crt"
 + 
 + ;
 + ; XML RPC to Region Server (Client Mode)
 + ;;CheckServerCert = false                                              ;; check Region Server
 + ;;ClientCertFilename = "client_cert.p12"
 + ;;ClientCertPassword = ""


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Today

Who's Online

49 user(s) are online (4 user(s) are browsing xpwiki)

Members: 0
Guests: 49

more...

Access Counter

Today : 8702870287028702
Yesterday : 1889718897188971889718897
Total : 2342229923422299234222992342229923422299234222992342229923422299
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com