Predictions Configuration
When dashboard-backed configuration is enabled, use the Predictions dashboard first because live settings may be stored in MongoDB instead of reading only the local JSON5 file.
Config Files
- Runtime config:
configuration/predictions.json5 - English template:
plugins/predictions/data/configs/en-predictions.json5 - German template:
plugins/predictions/data/configs/de-predictions.json5
General And Prediction Settings
| Field | Type | Default | Notes |
|---|---|---|---|
enabled | boolean | true | Enables creation, voting, management, and automatic locking. Stats remain available. |
allow_vote_changes | boolean | true | Lets a member replace an existing vote. |
auto_lock_interval_ms | integer | 60000 | How often the plugin checks timed predictions. |
prediction.min_choices | integer | 2 | Minimum accepted answer count. |
prediction.max_choices | integer | 10 | Maximum accepted answer count. |
prediction.max_question_length | integer | 200 | Maximum question length. |
prediction.max_choice_length | integer | 80 | Maximum length for one answer. |
prediction.default_lock_after_ms | integer | 0 | Default delay before locking. 0 means manual lock. |
prediction.show_vote_counts_before_resolve | boolean | false | Shows live vote totals before resolution when enabled. |
prediction.delete_buttons_when_locked | boolean | true | Removes vote buttons after locking. |
Wagers
| Field | Default | Behavior |
|---|---|---|
wagers.enabled | true | Enables Athena coin wagers. |
wagers.allow_zero_wager | true | Allows votes without coins. Required for zero-wager buttons. |
wagers.min_wager | 0 | Minimum positive wager. |
wagers.max_wager | 1000 | Global maximum. 0 means no global cap. |
wagers.default_max_wager | 0 | Default per-prediction cap. 0 uses the global cap. |
wagers.require_economy_balance | true | Rejects wagers above the member’s available coins. |
wagers.refund_wager_on_vote_change | true | Credits the previous wager before charging the replacement. |
wagers.refund_losers_on_cancel | true | Returns wagers when a prediction is cancelled from the dashboard. |
When both global and per-prediction caps are positive, the lower value wins.
Rewards
| Field | Default | Behavior |
|---|---|---|
rewards.xp_enabled | true | Pays XP to winners. |
rewards.base_xp | 25 | Default winner XP. |
rewards.coins_enabled | true | Pays coins to winners. |
rewards.base_coins | 50 | Default winner coins. |
rewards.default_roles | [] | Role IDs awarded to winners by default. |
rewards.return_wager_on_win | true | Returns the winning member’s original wager. |
rewards.wager_profit_multiplier | 1 | Additional coin profit based on the wager. |
Creation and reward-management commands can override XP, coins, and roles for
the whole prediction. choice_rewards can assign different rewards to each
answer using syntax such as:
1:xp=100,coins=250,roles=123+456|2:roles=789Streak Bonuses And Milestones
rewards.streak_bonus controls the bonus per consecutive correct prediction,
the maximum multiplier, and whether it applies to XP, coins, or wager profit.
Each rewards.milestone_roles entry can require a total number of correct
predictions, a current streak, or both. Set remove_when_streak_lost when a
streak role should be removed after an incorrect result.
Vote Buttons
| Field | Default | Notes |
|---|---|---|
interactions.enable_vote_buttons | true | Adds vote buttons to eligible prediction messages. |
interactions.max_button_choices | 5 | Maximum answer count displayed as buttons. |
interactions.button_style | blue | Style used for vote buttons. |
Permissions And Language
permissions sets the Athena levels for the base command, creation, closing,
resolution, and reward management. The lang section controls all slash names,
responses, status labels, button text, audit reasons, and embeds.
Command and option names must follow Discord’s lowercase slash-command naming rules. Restart AthenaBot after changing them.
Predictions ships English and German config and dashboard templates.