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!
@pilotdan85
Update. I was doing all of this from my console. I logged on to the server and did /announce list, then /announce broadcast 1 and it worked! Then I did /announce broadcast 3 and it worked.
Then I tried the same thing from the console again, and this time it worked. WEIRD... Any explanation to this?
Something very strange just happened to me with this plugin. I configured it and it was working successfully for 5 days. I wanted to add a message and change the time and edit the original message that I had configured. As soon as I did that, it quit working. If I try announce reload then announce list it shows the correct messages. But if I do announce broadcast 1 (or another index number) it stays blank, doesn't broadcast the message or do anything at all, even display an error... it does nothing. It acts like its not working.
So I said, ok, maybe I messed up the config. I stopped the server, renamed my config to "config old.jar" and restarted the server. A new "default" config was generated. I tried getting it to broadcast some of the default messages in the config and nothing.
I know the current plugin version I am using (v2.5.2) is for CB 1.4.5-R0.2... I was using Bukkit-1.4.6-R0.2 the entire time it was working, and when it was not working. I thought maybe it could be bukkit, so I updated to Bukkit-1.4.6-R0.3 and its still not working.
Also. I have very few plugins on this server: essentials, PermissionsEx, and this one. (its a temp server)
I have not made any other changes other than the above stated.
Could you change the "New Line" feature to something else because &n is underline. Maybe make it adjustable in the config file?
@dotapurex1
the 1.4.5 version should work fine on 1.4.6
Please update to 1.4.6 Thanks!
@EmpiricalDepth
Like the idea, finally a way to stop my server at an specific time
is there no way to make an announcement happen at say 1PM EST? so if someone does a reload the announcement still happens at that time? I havent found an announcer that can do that yet.
I seem to still get the same error as HitmanPL47, has this been fixed yet? TY
@HitmanPL47
Sorry, that is my fault. Will fix that now.
@HitmanPL47
Same with me except the only thing it says is can't load config. How to you fix it?
The default generated config from version 2.5.1 causes errors. Appears to work fine still, but annoying.
http://pastebin.com/AesRX1F6
nevermind that was a stupid question haha
does this have custom prefix?
@aus_aima
That's not a bad idea, though I don't see the need for MySQL support without some sort of online admin area. Which also doesn't make much sense. I'll think about it though.
@niknea
You can do what timtower said, or you can also use the command for adding new announcements.
had an Ideas for future features and i don't think will apply to many users but add MySQL support so we can update messages from websites for future announcements schedule
e.g i log into my admin panel and can add new announcements and will add to the database as the last entries and can be called out in later time or delete some entries from the database. Not saying you should have to make the admin panel just the ability to do so with the maximum amount of flexibility with the data and should add multi world support as well
that what i would like to see
@niknea
Just add new lines in the config, make sure you don't use tabs!
@Proeliumm
Thank you very much Proeliumm, that worked perfectly
@ajack38
You need to have 's around the lines. Just like the other settings.
Is there a way to send more then 3 messages?