0.4.0
This commit is contained in:
parent
eaddc06575
commit
3a1fb0ef7c
34
README.md
34
README.md
@ -62,6 +62,18 @@ These settings allow you to tailor the plugin's behavior to fit your server's re
|
|||||||
- **`PricePerCurrencyUnit`**
|
- **`PricePerCurrencyUnit`**
|
||||||
- The price (in satoshis) per unit of in-game currency.
|
- The price (in satoshis) per unit of in-game currency.
|
||||||
|
|
||||||
|
- **`MaxPurchaseAmount`**
|
||||||
|
- Maximum number of currency units a player can buy in one invoice. Set to 0 for no limit.
|
||||||
|
|
||||||
|
- **`MaxSendAmount`**
|
||||||
|
- Maximum number of currency units a player can send in one transaction. Set to 0 for no limit.
|
||||||
|
|
||||||
|
- **`CommandCooldownSeconds`**
|
||||||
|
- How many seconds a player must wait between repeat uses of any Orangemart command. Set to 0 to disable cooldowns.
|
||||||
|
|
||||||
|
- **`MaxPendingInvoicesPerPlayer`**
|
||||||
|
- How many outstanding (unpaid) invoices a single player can have at once. Set to 0 for no limit.
|
||||||
|
|
||||||
#### Discord Integration
|
#### Discord Integration
|
||||||
|
|
||||||
- **`DiscordChannelName`**
|
- **`DiscordChannelName`**
|
||||||
@ -93,12 +105,18 @@ These settings allow you to tailor the plugin's behavior to fit your server's re
|
|||||||
- **`MaxRetries`**
|
- **`MaxRetries`**
|
||||||
- The maximum number of retry attempts for checking invoice payments before considering them expired.
|
- The maximum number of retry attempts for checking invoice payments before considering them expired.
|
||||||
|
|
||||||
|
- **`UseWebSockets`**
|
||||||
|
- Set true to enable WS-based invoice updates; false to always fall back to HTTP.
|
||||||
|
|
||||||
|
- **`WebSocketReconnectDelay`**
|
||||||
|
- How many seconds to wait before retrying a failed WebSocket connection.
|
||||||
|
|
||||||
#### VIP Settings
|
#### VIP Settings
|
||||||
|
|
||||||
Configure the VIP status purchase and permissions.
|
Configure the VIP status purchase and permissions.
|
||||||
|
|
||||||
- **`VipPermissionGroup`**
|
- **`VipCommand`**
|
||||||
- The Oxide permission group that players are added to upon purchasing VIP status.
|
- The Oxide console command template to grant VIP status.
|
||||||
|
|
||||||
- **`VipPrice`**
|
- **`VipPrice`**
|
||||||
- The price (in satoshis) for players to purchase VIP status.
|
- The price (in satoshis) for players to purchase VIP status.
|
||||||
@ -121,7 +139,11 @@ Here's how the configuration might look in your `config.json`:
|
|||||||
"CurrencyName": "blood",
|
"CurrencyName": "blood",
|
||||||
"CurrencySkinID": 0,
|
"CurrencySkinID": 0,
|
||||||
"PricePerCurrencyUnit": 1,
|
"PricePerCurrencyUnit": 1,
|
||||||
"SatsPerCurrencyUnit": 1
|
"SatsPerCurrencyUnit": 1,
|
||||||
|
"MaxPurchaseAmount": 10000,
|
||||||
|
"MaxSendAmount": 10000,
|
||||||
|
"CommandCooldownSeconds": 0,
|
||||||
|
"MaxPendingInvoicesPerPlayer": 1
|
||||||
},
|
},
|
||||||
"Discord": {
|
"Discord": {
|
||||||
"DiscordChannelName": "mart",
|
"DiscordChannelName": "mart",
|
||||||
@ -134,10 +156,12 @@ Here's how the configuration might look in your `config.json`:
|
|||||||
"InvoiceTimeoutSeconds": 300,
|
"InvoiceTimeoutSeconds": 300,
|
||||||
"LNbitsApiKey": "your-lnbits-admin-api-key",
|
"LNbitsApiKey": "your-lnbits-admin-api-key",
|
||||||
"LNbitsBaseUrl": "https://your-lnbits-instance.com",
|
"LNbitsBaseUrl": "https://your-lnbits-instance.com",
|
||||||
"MaxRetries": 25
|
"MaxRetries": 25,
|
||||||
|
"UseWebSockets": true,
|
||||||
|
"WebSocketReconnectDelay": 5
|
||||||
},
|
},
|
||||||
"VIPSettings": {
|
"VIPSettings": {
|
||||||
"VipPermissionGroup": "vip",
|
"VipCommand": "oxide.usergroup add {player} vip",
|
||||||
"VipPrice": 1000
|
"VipPrice": 1000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user