Reminders
Reminders nudge players about things they can act on right now. There are two:
- Available Contracts: the player has a free contract slot and at least one contract they could accept right now.
- Unclaimed Rewards: the player holds an unclaimed contract reward or an unclaimed objective reward.
A reminder only sends when its condition is true at that moment, and only to players with permission to use the plugin.
{ "Reminders": { "Available Contracts": { "Enabled": true, "Trigger": "Awake", "Interval": null, "Amount": 5, "Cooldown": 300, "Method": "Chat" }, "Unclaimed Rewards": { "Enabled": true, "Trigger": "Awake", "Interval": null, "Amount": 5, "Cooldown": 300, "Method": "Chat" } }}Fields
Section titled “Fields”Both reminders take the same fields:
| Setting | Type | Default | Description |
|---|---|---|---|
Enabled |
bool | true |
Whether the plugin ever sends this reminder. false turns it off for everyone. Enabled reminders can still be turned off by players individually. |
Trigger |
enum | Awake |
What makes the plugin try to send the reminder. One of Time, Awake, MenuClose (see below). |
Interval |
number | null |
Seconds between sends for the Time trigger. The other triggers ignore it, so leave it null for them. |
Amount |
number | 5 |
How many reminders of this type a player gets without acting on them before the plugin stops sending this one to them. -1 means never stop. |
Cooldown |
number | 300 |
Minimum seconds between sends of this reminder, so two quick triggers don’t double up. Has no effect on the Time trigger, which paces itself with Interval. |
Method |
enum | Chat |
How the reminder shows. Chat sends a chat message. Toast shows the game’s blue toast at the top of the screen. |
Triggers
Section titled “Triggers”Timesends the reminder everyIntervalseconds to connected, awake players. If you pickTimewithout a positiveInterval, the plugin warns on load and uses3600(one hour).Awakesends it when the player wakes from sleep: after connecting, after death, after teleporting.MenuClosesends it when the player closes the Contracts menu.
Whatever the trigger, the reminder only sends if its condition is true at that moment, its cooldown
has passed, and its Amount is not used up. Triggers on cooldown don’t count toward Amount.
When the plugin stops reminding
Section titled “When the plugin stops reminding”Amount caps how much a player gets nagged. Every sent reminder of a type counts toward it, and
when the cap is reached that reminder goes quiet for that player. Acting on the reminder resets the
count to zero:
- Accepting a contract resets Available Contracts reminders.
- Claiming a reward resets Unclaimed Rewards reminders.
Acting also starts the cooldown, so a player who just accepted or claimed gets quiet time instead of an instant follow-up.
Counts and cooldowns live in memory only. A player who disconnects starts fresh, and a server restart or plugin reload resets everyone.
Players can turn reminders off
Section titled “Players can turn reminders off”A player can silence all reminders for themselves with /contracts reminders or with the toggle in
the preferences menu. That is their preference and it applies to them only. If reminders are turned off (Enabled is false) in the config, the plugin never sends them to anyone, regardless of their personal preference. So it’s recommended to leave reminders on and let players turn them off if they want.
