37 lines
1.1 KiB
INI
37 lines
1.1 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 = ['admin@example.tld']
|
|
; SQLite Database location
|
|
DatabaseLocation = ./gacha_game.db
|
|
|
|
[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
|
|
|
|
; Instance type - either "misskey" or "pleroma"
|
|
InstanceType = misskey
|