Announcer
Announcer
Description:
Announcer loads simple text files and broadcasts them in a configured interval.
Usage:
Simply create some plain text files (*.txt) inside the announcements folder of the plugin.
In the configuration file you can specify which of those announcements should be automaticly announced and in which order.
You can also specify the time between two announcments and whether it should start delayed.
Features:
- Announce txt files automaticly to the server
- Announce files manually
- Supports color codes (&0, &1, &3, ..., &e, &f)
- Interval can be set in Ticks (t), Seconds, (s), Minutes (m), Hours (h), Days (d)
Commands:
- /announce -- Manually announces an announcement
- /reloadannouncer -- reloads the configuration and announcements
Installation:
- Just put the Announcer.jar into you plugins folder
- create you messages as *.txt files in the specific folders
- restart/reload your server
- The configuration file will be auto-generated on the first start.
Permissions:
-
announcer.*
- Announcer.announce - allows the player to announce messages
- Announcer.reloadannouncer - allows the player to reload the plugin
Operators and the console have all permissions
README
Plugin developed by Quick_Wango - Parallel Universe
- You want new features?
- You want the plugin to be always up to date?
- You want good support?
I'm doing this for literally nothing in my freetime, so keep me interessted in my plugins and help pay my bills by simply donating a few bucks.
Thanks in advance!
Talk to the developer (#code-infection on EsperNet)
An advanced replacement for this plugin would be the Shout module of the CubeEngine. That modules solves all problems Announcer has and adds some interesting features.
yeah as many have already noticed, I won't update Announcer anymore. It still works most of the time, but I guess there are already better plugins out there, so use those instead
yep, this plugin is mostly inactive, but it still works. the bug you see can be fixed by reloading or restarting the server again. I may search a working commit and release a build that works around this problem.
Plugin still active?! I often get this in the server log message:
@lavistus
You will need to show the config.yml and what your folder looks like.
so hi there!
i recently got this plugin, i got it installed and reloaded my server. i added a few announcements and everything worked fine!
however, all of a sudden i am getting a message saying no announcements scheduled, yet i have like almost 10 in the list. also, all my code is presumably correct, since i get no console errors!
i am using PEX as my permissions, yet that is disabled in the config!
thanks for any help in advance, phil
@RevoMods
I have started working with QuickWango on this, so there will be a new version fixing the issues presented and new features being added, such as multi-world and permission support.
@QuickWango
What new version...
@wlyshas
known problem. just reload again or restart your server.
this won't happen with the new version
Time to update :D
[SEVERE] Could not pass event PlayerJoinEvent to Announcer org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:132) at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:129) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:94) at net.minecraft.server.Packet1Login.handle(SourceFile:68) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:48) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.IllegalArgumentException: Delay cannot be less than 0 at org.bukkit.craftbukkit.scheduler.CraftScheduler.scheduleAsyncRepeatingTask(CraftScheduler.java:223) at de.codeinfection.quickwango.Announcer.AnnouncerTask.start(AnnouncerTask.java:69) at de.codeinfection.quickwango.Announcer.AnnouncerPlayerListener.onPlayerJoin(AnnouncerPlayerListener.java:29) at sun.reflect.GeneratedMethodAccessor195.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ... 12 more
could you post the config.yml i accidentally deleted it... lol
@wlyshas
not a Announcer bug, I blame PEX
08:47:00 [SEVERE] java.lang.NullPointerException 08:47:00 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.performCheck(PermissiblePEX.java:127) 08:47:00 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:110) 08:47:00 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:102) 08:47:00 [SEVERE] at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102) 08:47:00 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:962) 08:47:00 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:322) 08:47:00 [INFO] NC: doomplayer failed moving.nofall: tried to avoid fall damage for 30.21 blocks. VL 30 08:47:00 [SEVERE] at de.codeinfection.quickwango.Announcer.AnnouncerTask.run(AnnouncerTask.java:133) 08:47:00 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
this is working fine on bukkit build 1.2.3-R0.3! But an update would be nice.
Updated the description!
Chat with me: #code-infection on EsperNet
@retricide
I'm not yet sure on how to implement it properly.
It will definitly take a few days. Maybe a pre-release on the next weekend.
@QuickWango
When can we expect to see a working product? I've really been aching for an Announcer plugin since MC1.2.
I am currently rewriting the plugin to support both group announcements and a more accurate timer
Could you possibly add per group/permission node announcements? So I can send one announcement to guests and another to players etc. Would be awesome!
Thanks! FerkSwe
@creeperrape Holy turtle p*enis. Use pastebin dude xD
@QuickWango Can you add some in-game commands to add/remove announcements, set intervals, reload, randomize and change tag settings?
Thanks