DragonAnnouncer
This project is no longer being maintained. While the latest release is (hopefully still) stable, please look at this link to see similar plugins like DragonAnnouncer - http://dev.bukkit.org/bukkit-plugins/bar-api/#w-plugins-using-bar-api
Dragon Announcer:
The plugin works just like you'd expect. Instead of having a message be broadcast to the chat (where it is soon covered in other messages), it'll appear on everyones screen, for a set amount of time, every set amount of time. You can add, remove, and edit messages in the configuration file (if you feel like it), or use commands in-game (meaning you don't have to reload the plugin every time).
Requirements:
At the moment, because I wanted to get this plugin ready for you guys a.s.a.p., I decided to make use of the BarAPI. Therefor, you will be required to download and install the BarAPI plugin. You will not have to configure anything, or do anything with the plugin though. Note that the requirement for the BarAPI plugin will be removed in an upcoming version!
Features:
- Broadcast per world on an easy-to-configure schedule
- Instantly announce a message to a world
- Edit information form the config with a simple command
- Color Code Support
- Metrics Support
- Updater Support (Coming Soon!)
Installation:
- Drag and Drop the plugin into your plugins folder
- Drag and Drop BarAPI into your plugins folder
- Start / Reload / Restart the server
- Edit the configuration file / use the in-game commands
- Reload / Restart the server if you edited anything in the configuration file
Commands:
Note, instead of /dragonannouncer you can also use: /dragon , /announcer , /announce , /da , and /dbroadcast
/dragonannouncer help
/dragonannouncer addmessage [duration] [world] [message]
/dragonannouncer addworld [id] [message]
/dragonannouncer delworld [id] [world]
/dragonannouncer editmessage [id] [message]
/dragonannouncer editduration [id] [duration]
/dragonannouncer getids
/dragonannouncer getduration [id]
/dragonannouncer getworlds [id]
/dragonannouncer worldannounce [duration] [world] [message]
Permissions:
dragonannounce.help
dragonannounce.addmessage
dragonannounce.addworld
dragonannounce.editmessage
dragonannounce.editduration
dragonannounce.getids
dragonannounce.getduration
dragonannounce.getworlds
dragonannounce.worldannounce
Example Configuration File:
# Main Configuration File # DragonAnnouncer by: AnUnknownMiner # Now for 1.7.9! # Interval (time to wait in between announcements (in seconds)!): interval: 60 # Startup Delay (time to wait before the plugin starts broadcasting (in seconds)!): # You might to have a bit of delay to help with lag. startup-delay: 2 # If a player joins when an announcement is already shown, should the player see it? show-on-join: true # Do you want DragonAnnouncer to send data to McStats? No personal information will be taken with it! Metrics: true # Announcements (duration = time it will stay on the screen, worlds = the worlds it will be visible in!): announcements: 0: message: 'DragonAnnouncer Plugin by AnUnknownMiner!' duration: 5 worlds: - world 1: message: '&4With &6colour &acode &9support&7!' duration: 10 worlds: - world 2: message: '&aSupport this server by becoming a &bDonor&a!' duration: 30 worlds: - world
This plugin uses Metrics, a free and open source statistics documenter, all the information gathered can be seen at http://mcstats.org/plugin/DragonAnnouncer
Feature Ideas:
- Remove BarAPI Requirement
- Ability to broadcast a specific message in the configuration file
- Ability to see the remaining time for a broadcast / break
Source Code:
https://github.com/AnUnknownMiner/DragonAnnouncer
Oops! I'll fix it when I have the time. Sorry about that!
doc perms are wrong dragonannounce. = dragonannouncer.
@lathame
I've been busy with making mini-games for another project. This on the last of my list. I may eventually, but not for a while.
Are you going to be adding anything to the plugin?
@Juanco1998
I can't do anything if I don't have a crash report. And I don't understand your second issue, please explain more detail if possible.
Hi, I've got a few problems with this plugin. First at all, when I use /dragonannouncer getids, My server crash. And second, When I try to config the plugin by editing it out of the game, the plugin crash. Thanks for u answer
@rayblon I was actually just tired and out of coffee ;)
Dev skim is basically frequently misreading things. It happens to lots of plugin devs, even the craft book devs.
@rayblon Must've misread. However, I am no longer developing this project, if you would read the Authors section of the plugin. I'm sure it'll be fixed in an upcoming version ;)
@TheMcScavenger
Another one afflicted with the dreaded dev-skim. -.-
Sinistxr said that he removed the two default config messages, but ONE of the two DEFAULT MESSAGES is still broadcasting along with the one message HE configured, even though he DELETED BOTH of the DEFAULT messages
@Sinistxr You can add and remove as many messages as you want. The two messages I've added in the default configuration are just for show, and can be removed at any time ;)
Hello,
Is the message "Plugin made by MCScavenger" always on?
I took the default ones out and just added one message, which works but somehow that other message keeps playing as well.
Thank you.
@rayblon
I agree with you, rayblon. I like the idea of the message system, because some players simply ignore chat. Also, on large servers, it it hard to see when somebody is messaging you because of all the other players chatting. The bar is extremely noticeable, so it guarantees the player seeing the message. The bar appearing upon joining is also very nice for things like "Welcome to [server name]!" or "There are 10 players online!" It might also be good to show the time before a restart, or other important events. One plugin would be very nice, so I don't have to spend even more time setting up plugins that do the same thing.
@TheMcScavenger "to offer all the features" refers to existing, conventional, and commonly used/useful features rendered using the dragon bar.
The messaging I made mention of shouldn't be used by players, it can be used by moderators and the like to warn players if their infractions don't warrant a kick or otherwise. It's much more noticeable than the average warning, no matter how flashy the warning in the chat gets. I wasn't referring to the BarAPI when I said sharing a seat, either. I'm stuck with two other plugins doing the same thing as this plugin in different ways. I have a plugin that only shows the boss bar to a player joining the game, and another one that only functions as a warning/staff PM system. the extra two plugins have a ton of redundant configuration that I could do without, and contribute to my ever growing stack of equally redundant commands.
Just so you know, I'm not trying to criticize your plugin. If I found the need to criticize it, I wouldn't have asked you to undertake this. Your plugin is the best out of the three in its' functionality, and I think expansion in those areas would make for a very popular plugin.
I've suggested this plugin to a few of my friends that are also server owners, but they shared my testiments. They had to supplement it with one or two other plugins to suit their needs(Which were more or less the same as mine). If you'd like, I can parlay a message to them and ask them to offer their input on the plugin.
Another idea: Make an option for a sound to be played when a player sees a dragon message/broadcast.
@rayblon With all due respect, it doesn't "share a seat" with a bunch of other plugins. It depends on one plugin at the moment, which, like I mentioned before, will be removed in the future. The plugin it depends on does not need to be configured, nor can it be, as it doesn't have a configuration file. If you find having one extra file in a folder too much, I'd advise you to burn your computer.
Next to that, I don't see the use of sending individual messages. It's a "broadcasting" plugin, meaning it's for letting all players on a server know something. It's not meant to be a second chat on the top of your screen. You can simply use /tell or /msg ;)
@TheMcScavenger With all due respect, I have nearly 80 plugins. Dealing with 80 config files, updating 80 plugins, performing diagnostic checks on 80 plugins... is a complete pain in the ass. A plugin that focuses on a feature like this shouldn't have to share a seat with a bunch of other plugins to offer all the features. I'd have 2 less plugins to deal with too. An all in one plugin for the boss bar is something everyone wants, I'd say.
Another idea: The ability to send messages to individual players using this.
@rayblon I don't see what that has to do with this plugin? There's other plugins to do that.
Display a message to a player that just joined like "There are 20/40 people online"
@frogman2019
Could you pastebin your configuration file?
I can't seem to get the color to work