Announcements is a modern reworked version of my old ServerAnnouncements plugin.
Commands
/createannouncement <id> <target(s)> [target] <text>
This will create an announcement to be broadcast later.
/announce <preset>
This announces the previously made announcement (preset).
/previewannouncement <preset>
Broadcasts this announcement to you in a way that it'll be presented to the targets.
/scheduleautoannounce <id> <condition>
Schedules an auto-announce trigger for an announcement.
/resetautoannounce <id>
Resets the active auto-announce trigger set from the announcement.
/editannouncement <id> <property> <newValue>
Edits a property of this preset. Same as setting it using config.yml, but with commands.
Permissions (a lot of them)
"
announcements.general"
The default permission, allows everything the plugin has to offer. Operators are the default targets for this permission.
The plugin also supports a handy Global Placeholder System. This allows you to use global placeholders in any announcement you create.
Placeholders There are a total of 8 global and one function specific placeholders.
#
%playerCount% = Replaced by the amount of players currently online.
#
%today% = Replaced by the current timestamp.
#
%divider% = Replaced by the divider value in the customization section.
#
%footer% = Replaced by the footer value in the customization section.
#
%header% = Replaced by the header value in the customization section.
#
%maxPlayers% = Replaced by the server's maximum amount of players.
#
%bannedPlayers% = Replaced by the amount of banned players.
#
%motd% = Replaced by the server MOTD.
#
%player% = Replaced by the current player.
| - This placeholder can only be used when the correct context is used by the announcement.
| - For the record, the only context that supports
%player% is
CONTEXT_SPECIFIC_PLAYER.
Customization
This plugin also supports a (tiny, little) bit of customization.
Reusable divider, footer and header - By modifying the config's customization section, you can create your own divider, footer and header to reuse in your announcements. - Placeholders are also supported, just in case it's needed.
That's, uhh... that's the end of the section for now. Suggestions are advised.
# I hope this plugin will be a better alternative for the previous generation of it.