Placeholders
AstralVote registers two ComplexPlaceholders: the votes namespace (always available) and each configured vote service, which is itself a ComplexPlaceholder under the service namespace but only resolves where a service instance has been placed into the placeholder context (e.g. rendering VOTE_AVAILABLE). For the placeholder syntax itself (%a_b_c%, $e(...)) see Placeholders.
votes namespace
Placeholder | Description |
|---|---|
| The player's cached unclaimed-vote count ( |
| The player's cached weekly vote count since the most recent Monday, |
| Whether the player currently has vote reminders enabled ( |
service namespace
Each entry under services in config.yml implements ComplexPlaceholder directly, so wherever a service instance is registered into a placeholder context (only VOTE_AVAILABLE, today), its fields resolve as sub-keys:
Placeholder | Description |
|---|---|
| The service's |
| The service's |
| The service's |
| The service's |
See also
Configuration — the
servicesmap these placeholders read from.Overview — how the unclaimed/weekly caches are populated.
Actions — the action
%votes_remindersEnabled%reflects.