2: 2011-09-03 (土) 23:32:43 iseki |
現: 2020-03-01 (日) 16:26:50 iseki |
| **** [MoneyServer] [#kb5749c2] | | **** [MoneyServer] [#kb5749c2] |
| - ''DefaultBalance'' : Initial money that new avatar has. | | - ''DefaultBalance'' : Initial money that new avatar has. |
- | - ''HostName'' : Name of Money Server Machine. | + | - ''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. |
| -- ''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 = "" |