AutoBroadcaster
== AutoBroadcaster ==
The newest simple auto-broadcaster! Has no (recorded) lag!
Versions:
v1.5 (Current):
- Broadcasts Messages to server (Messages specified in messages.txt)
Features:
[Current]:
- Broadcasts messages to server.
- Can be turned on and off through command.
- Has full color capability!
- Messages.txt file to hold your messages.
- Underline, and slashed through.
- Works for Minecraft 1.4.6
- Has config.yml
[In-Progress] :
- Suggestions?
Commands:
[Current]
- /broadcast (Starts/Stops Broadcasting)
Known Bugs:
- Doesn't repeat for some.
I would love to take over this plugin, I am starting to make my own plugin show i would love to have this to work on it will give me something else to do. pm if you will let me take over this. i would love to add new stuff to it
Hi, I get this error once I try doing the /broadcast to get this working:
15:32:53 [WARNING] Unexpected exception while parsing console command "broadcast " org.bukkit.command.CommandException: Unhandled exception executing command 'broa dcast' in plugin AutoBroadcast v1.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 9) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServe r.java:523) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchServerCommand(Craf tServer.java:512) at net.minecraft.server.v1_5_R3.DedicatedServer.an(DedicatedServer.java: 262) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:2 27) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:4 77) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java :410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:5 73) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R3.command. ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at broadcast.Main.onCommand(Main.java:204) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
I would happily help being a developer of this plugin but I do not have any experience at making plugins or coding so any help would be appreciated and I may be able to help a bit.
Thanks
IMPORTANT
Dear users of this plugin,
I am sorry to tell you this but I do not have time to keep up a small plugin like this alone while I'm still in high school and while I'm trying to develop a new larger plugin. If anyone would like to help me keep this project alive by being a developer I would gladly let you keep this updated and add new things for everyone. If I do not find anyone in the next week or two this project will shut down.
Sincerely,
MrNINJA07
You should add capibility to be able to make broadcasts in game and also tell when it will broadcast like every hour it broadcasts this and every 20 min it broadcasts this!
broadcast
12:26:17 [WARNING] Unexpected exception while parsing console command "broadcast " org.bukkit.command.CommandException: Unhandled exception executing command 'broa dcast' in plugin AutoBroadcast v1.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 6) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer .java:510) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchServerCommand(Craft Server.java:502) at net.minecraft.server.v1_4_6.DedicatedServer.al(DedicatedServer.java:2 60) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:22 5) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:49 4) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java: 427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:84 9) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_4_6.command.C olouredConsoleSender cannot be cast to org.bukkit.entity.Player at broadcast.Main.onCommand(Main.java:204) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
I think you may support multi world, maybe cool.
@CD3
I think I know how to do this easily, so I'll try now.
@skookiesprite
You must have another Autobroadcaster. Since mine does not generate a warning saying "Task #" and this broadcaster is v1.5 not v0.2
Hi. Is there any way to make it repeat from the start of the list of messages in an endless loop? I keep getting the following exception after which the plugin no longer seems to run:
2012-12-31 18:18:41 [WARNING] [AutoBroadcaster] Task #36 for AutoBroadcaster v0.2 generated an exception java.lang.NullPointerException at com.github.skipperguy12.autobroadcaster.autobroadcaster.broadcastMessages(autobroadcaster.java:166) at com.github.skipperguy12.autobroadcaster.autobroadcaster$1.run(autobroadcaster.java:103) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:530) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Thanks for all your hard work; great plugin if it could only loop over the messages.
Happy New Year!
Please add Multiworld support, as im looking for a plugin that can broadcast different messages in the same server, but in different worlds.
I'm not getting a config.yml either.
It should have that, I'll doublecheck and edit the code tomorrow.
It's work but no fine becouse the file messages.txt don't genertate but a config.yml generate but... empty. And you must put a relay time for the broadcast messages in the config.yml and a default example messages.txt
Anyone able to tell me if each update works right? Because I can't test since my Minecraft is stupid.
@siemaeniu500
Added.
@Zilacon
Fixed in the new download
Sorry, that was for my server. I will fix that now.
This is what its doing for me: http://prntscr.com/kswcv
Whats with the huge INFO line!?
Sorry it is taking a while, I am trying to reform my code too, so that it'll create less lag, if it has any.