43 lines
1.4 KiB
INI
43 lines
1.4 KiB
INI
; Rename me to config.ini and put your values in here
|
|
[application]
|
|
; Comma separated list of fedi handles for any administrator users
|
|
; More can be added through the application
|
|
DefaultAdmins = ["@localadmin", "@remoteadmin@example.tld"]
|
|
; SQLite Database location
|
|
DatabaseLocation = ./gacha_game.db
|
|
; Web server port (default: 5000)
|
|
WebPort = 5000
|
|
; Web server bind address (default: 127.0.0.1, set to 0.0.0.0 to listen on all interfaces)
|
|
BindAddress = 127.0.0.1
|
|
|
|
; Whether to lmit access to the bot via an instance whitelist
|
|
; The whitelist can be adjusted via the application
|
|
UseWhitelist = False
|
|
|
|
[gacha]
|
|
; Number of seconds players have to wait between rolls
|
|
RollInterval = 72000
|
|
; Rarity drop weights (1 to 5 stars)
|
|
; Format: rarity=weight per line
|
|
; In order: common, uncommon, rare, epic and legendary (Example values below)
|
|
Rarity_1 = 0.7
|
|
Rarity_2 = 0.2
|
|
Rarity_3 = 0.08
|
|
Rarity_4 = 0.015
|
|
Rarity_5 = 0.005
|
|
|
|
[notification]
|
|
; Number of seconds to sleep while awaiting new notifications
|
|
PollInterval = 5
|
|
; Number of notifications to process at once (max 100)
|
|
BatchSize = 10
|
|
|
|
[credentials]
|
|
; Fully qualified URL of the instance hosting the bot
|
|
Instance = http://example.tld
|
|
; Full fedi handle of the bot user
|
|
User = @bot@example.tld
|
|
; API key for the bot
|
|
; Generate one by going to Settings > API > Generate access token
|
|
Token = abcdefghijklmnopqrstuvwxyz012345
|
|
|