TDXDevelopment
TDX VotePlusConfiguration

reminders

Periodic 'don't forget to vote' nudges.

reminders.yml controls the nudge sent to online players who have not voted for a while. It is one chat line on a timer, not a spam cannon.

The whole file

plugins/TDXVotePlus/reminders.yml
enabled: true
cooldown-hours: 24
scan-interval-seconds: 600
KeyTypeDefaultNotes
enabledbooleantrueMaster switch.
cooldown-hoursint24A player is only reminded when their last vote is older than this.
scan-interval-secondsint600How often online players are checked. This is also how often a player who is due gets the line.

The text itself is reminders.nudge in messages.yml.

How it behaves

Every scan-interval-seconds the plugin looks at each online player. Anyone whose last vote is older than cooldown-hours, or who has never voted, gets the reminder. Voting stops it until the cooldown has passed again.

With the defaults, a player who has not voted today sees the line every 10 minutes while they are online. If that is too much for your community, raise scan-interval-seconds to 1800 or 3600. Keep cooldown-hours close to the real cooldown of your vote sites, usually 24.

Changes apply on /voteplus reload, including the scan interval.

Who is never reminded

Players holding tdxvoteplus.reminder.bypass. Give it to staff, or to any group that should be left alone.

There is no command for players to switch reminders off themselves. The database has a per-player reminders_enabled flag and the reminder respects it, but nothing in the plugin sets it yet, so it is on for everyone. Use the bypass permission until a toggle ships.