5: 2011-09-12 (月) 00:17:13 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. |
| | | | |
| | - ''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. |
| | -- ''BalanceMessageRollBack'' : when roll back ocuurred | | -- ''BalanceMessageRollBack'' : when roll back ocuurred |
| | | | |
| - | - ''ServerCertFilename'' : [[pfx File>pfx]] for HTTPS. default is "SineWaveCert.pfx" | + | **** [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" | | - ''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 [#oafb1534] | + | **** Sample [#oc4845b4] |
| | [Startup] | | [Startup] |
| | + | ; |
| | ; Place to create a PID file | | ; Place to create a PID file |
| | ; PIDFile = "/tmp/money.pid" | | ; PIDFile = "/tmp/money.pid" |
| | + | |
| | + | |
| | [MySql] | | [MySql] |
| | + | ; |
| | ;Connection parameters of MySQL | | ;Connection parameters of MySQL |
| - | hostname = localhost | + | hostname = localhost ; Name of MySQL Server |
| | database = opensim_db | | database = opensim_db |
| | username = opensim_user | | username = opensim_user |
| | password = opensim_pass | | password = opensim_pass |
| | + | |
| | pooling = false | | pooling = false |
| | port = 3306 | | port = 3306 |
| | + | |
| | ; | | ; |
| | ; Max DB connections kept by money server. | | ; Max DB connections kept by money server. |
| - | MaxConnection = 20 | + | MaxConnection = 10 |
| | + | |
| | + | |
| | [MoneyServer] | | [MoneyServer] |
| | + | ; |
| | ; If the user is not found in database,he/she will be created with the default balance. | | ; If the user is not found in database,he/she will be created with the default balance. |
| | DefaultBalance = 1000 | | 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 "00000000-0000-0000-0000-000000000000" is specified, all avatars can get money from system. |
| | ; If "" is specified, nobody can get money. | | ; If "" is specified, nobody can get money. |
| | BankerAvatar = "" | | BankerAvatar = "" |
| | + | |
| | ; | | ; |
| | ; If you want to use llGiveMoney() function normally even when payer doesn't login to OpenSim, | | ; If you want to use llGiveMoney() function normally even when payer doesn't login to OpenSim, |
| | ; please set true to this valiable | | ; please set true to this valiable |
| | EnableForceTransfer = true | | EnableForceTransfer = true |
| | + | |
| | ; | | ; |
| - | ; send money to avatar by MoneyScript (for Bonus) | + | ; Send/Move money to/from avatar by Money Script |
| - | EnableScriptSendMoney = true | + | ;EnableScriptSendMoney = false |
| - | MoneyScriptAccessKey = "123456789" ;; specify same secret key in include/config.php or WI(XoopenSim/Modlos) | + | ;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 | + | ;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. | | ; Message that displayed in blue dialog, when balance is updated. |
| | ; If "" is specified, blue dialog is not displayed. | | ; If "" is specified, blue dialog is not displayed. |
| | ; You can use {0} and {1} in message string. | | ; You can use {0} and {1} in message string. |
| - | ; {0} means amount and {1} means avatar name or object owner name | + | ; {0} means amount and {1} means avatar name or object owner name. |
| - | ;BalanceMessageLandSale = "Paid the Money L${0} for Land." ;; for buy the land | + | ;BalanceMessageSendGift = "Sent Gift L${0} to {1}." ;; for send gift to other avatar |
| - | ;BalanceMessageScvLandSale = "" ;; for get the money of the sold land | + | ;BalanceMessageReceiveGift = "Received Gift L${0} from {1}." ;; for receieve gift from other avatar |
| - | ;BalanceMessageSendGift = "Sent Gift L${0} to {1}." ;; for send gift to other avatar | + | ;BalanceMessagePayCharge = "" ;; for upload and group creation charge |
| - | ;BalanceMessageReceiveGift = "Received Gift L${0} from {1}." ;; for receieve gift from other avatar | + | ;BalanceMessageBuyObject = "Bought the Object {2} from {1} by L${0}." ;; for buy the object |
| - | ;BalanceMessagePayCharge = "" ;; for upload and group creation charge | + | ;BalanceMessageSellObject = "{1} bought the Object {2} by L${0}." ;; for sell the object |
| - | ;BalanceMessageBuyObject = "Bought the Object L${0} from {1}." ;; for buy the object | + | ;BalanceMessageLandSale = "Paid the Money L${0} for Land." ;; for buy the land |
| - | ;BalanceMessageGetMoney = "Got the Money L${0} from {1}." ;; for get the money from object by llGiveMoney() | + | ;BalanceMessageScvLandSale = "" ;; for get the money of the sold land |
| - | ;BalanceMessageBuyMoney = "Bought the Money L${0}." ;; for buy the money from system | + | ;BalanceMessageGetMoney = "Got the Money L${0} from {1}." ;; for get the money from object by llGiveMoney() |
| - | ;BalanceMessageReceiveMoney = "Received L${0} from System." ;; for receive the money from system by send_money() script | + | ;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 | | ;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" |
| | + | |
| | ; | | ; |
| - | ; for HTTPS | + | ; XML RPC to Region Server (Client Mode) |
| - | ServerCertFilename = "SineWaveCert.pfx" | + | ;;CheckServerCert = false ;; check Region Server |
| - | ServerCertPassword = "123" | + | ;;ClientCertFilename = "client_cert.p12" |
| | + | ;;ClientCertPassword = "" |