ScheduledAnnouncer
Please use the ticket link to the right for issues! ->
Accepting new feature requests! Please use the ticket link to the right! ->
Scheduled Announcer is a very simple tool, which only does what's its name told us. It automatically sends a broadcast out of a list controlled by a scheduled.
Features:
- Sends Scheduled Broadcast to all Players
- Easy to configure by 'config.yml' or ingame with the '/announce' command.
- Supports colors (&1, &2... &9, &a, &b... &f) and newlines with &n.
- Supports executing commands inside Announcements. (Like "Now it will become day!&n/time day")
- Supports newest Bukkit permissions system!
Setup:
- Download the latest Release
- Upload it into your plugin/ directory
- Restart or reload your server
Or have a look at the Video Tutorial by BrandonHopkins
Configuration:
# # ScheduledAnnouncer Configuration File # ===================================== # # Don't use tabs in *.yml file! # # Please note that there is a 85 (with the default prefix) character # limit on announcements. # # If you mess this config up, feel free to delete this one, and let # the plugin create you a new one! # announcement: # Use this flag to temporary disable the announcements. # enabled: false, means that there wouldn't be any announcements. enabled: true # Set this to true will announce in random order. # 'false' will announce in sequential (one after another) order. random: false # Defines the prefix for the announcement. Use & + hex char for color codes. prefix: '&c[Announcement] ' # The time of one interval in seconds. interval: 100 # List of messages to announce. You could use color codes by using & + hex chars too. messages: - 'This is the first default announcement!' - 'Use /announce help to get info how to config this plugin.' - 'You can also configure this plugin with its config.yml too!' # Use to enable or disable the motd. motdEnabled: true # Use to define the motd. motd: 'Test announcement.'
Commands:
/announce add <message>
Needed Permission: announcer.add
Adds a new announcement with the Message: <message>
/announce broadcast [<index>]
Needed Permissions: announcer.broadcast
Broadcast an existing announcement NOW.
/announce delete <index>
Needed Permissions: announcer.delete
Removes the announcement with the passed index.
/announce enable [true|false]
Needed Permissions: announcer.moderate
Enables or disables the announcer.
/announce interval <seconds>
Needed Permissions: announcer.moderate
Sets the seconds between the announcements.
Calling it without an interval to set will return the current interval.
/announce list
Needed Permissions: announcer.moderate
Lists all announcements.
/announce random [true|false]
Needed Permissions: announcer.moderate
Enables or disables the random announcing mode.
Only calling /announce random without true or false, will return current mode.
/announce setmotd [motd]
Needed Permissions: announcer.moderate
Sets the MOTD
Only calling /announce motd without string will return current motd.
/announce motdenabled [true|false]
Needed Permissions: announcer.moderate
Enables or disables the motd
Only calling /announce motdenabled without true or false, will return current mode.
/announce say [message]
Needed Permissions: announcer.moderate
Announces a message to the server without saving it to the config.
/announce reload
Needed Permissions: announcer.admin
Reloads the config.yml.
/announce prefix <prefix>
This sets a new prefix. Note that you need to place the ['s in there again. Color codes also work.
Permissions:
Only people with the permissions announcer.receiver will receive announcements, but everybody owns the permissions by default.
Source can be found at https://github.com/mjoell/ScheduledAnnouncer
Supported Color/Formatting Codes:
http://mcstats.org/plugin/ScheduledAnnouncer2
Added Metrics 4 days ago, and already that many servers. I see it in the top 100 soon!
Nice plugin! Would it be possible to add a command to enable or disable a particular announcement? Sometimes I have to remove a plugin until it is updated or fixed, so I want to shut off hints and announcements related to that plugin for awhile, but I might be putting that back in and would rather not have to redo the entire announcement if I can just disable it temporarily. If this could be done I would be very grateful. Thanks for your hard work, and I will be recommending this plugin to other server admins.
Is this an improved FrogAnnounce? =)
Yep, I think everyone took my suggestions...
a) Stop the Console spam (My idea is to have it broadcast only if it senses a player online. Once someone logs in, the timer to broadcast will start.) b) Broadcasts per rank (So, if they're ranked 'Moderator' in PEX, then they'll get the Announcements for Moderators. Maybe make a "global" and "per-rank" broadcast section?, with overrriding options and stuff?)
Can't wait for the release :D
@sleite
1. I could add a feature for that. 2. I will have that in the next release. It should have been in the current releases, but after pulling an outdated repo from github, I accidentally lost that code. 3. I have been thinking about this. It will be added to the "todo" list.
Any way to add a feature so that this plug-in doesn't spam the console with announcements?
Feature Request: Possible to make an allias '/announce' instead of '/announcer'? I know .. I'm being nit-picky. :-)
And as someone else already suggested, 1 vote for adding messages to different groups. For example if someone is in the 'newb' group, they get messages/tips for newbs, and if someone is in the 'admin' group, they get messages relating to admin stuff.
Great plug-in.
Tonight's release brings the following:
A optional MOTD. Many bug fixes. Better config.
I'm going to try to get line wrapping in tonights release, but if I don't get it in tonight, this week for sure.
@huntsclan
I know right :D
-=-=-=-=-
Also, I figured out how to do apostrophes finally!!! :D
@Whisk1
OH PLEASE! Word wrapping would be the best thing ever!
@Whisk1
Also, one of the "known caveats" is the "'s". Isn't this because java thinks of this as the end of a string? I don't know java whatsoever, so I'm probably wrong, or you already know this...
Well, I haven't tried (because I don't know), but isn't there supposed to be some "escape" thing you can do to add apostrophes?
I dunno... I'm probably rambling on about wrong stuff, but yeah :P
@Whisk1
Yay! :D
@np98765
I could fix the newline issue and add word wrapping :)
Can word wrapping be implemented? I don't like new lines because it adds the [Announcer] or whatever tag again and breaks up sentences.
Automatic word wrapping would be nice, or even a new line that DOESN'T start with the prefix.
@Recolance
Don't you need to escape the apostrophe?
@Recolance
Hmm. Thats odd. I'll take a look at that tonight!
One issue. The plugin doesn't like appostrophies (if i spelt that right) and it gives a server error.
@mdcollins05
Not using the &n should do it.
Is there the ability to display the command instead of executing the command? Possibly by escaping the /?
Thanks!
cool, thanks!
@floh22
This seems to be on signs... Edit: Nevermind! Ill look into it asap