Inactive [INFO] AutoMessage v1.5a - Broadcast Automatic Messages [1535]

Discussion in 'Inactive/Unsupported Plugins' started by RedFalKon, Jan 31, 2011.

  1. Offline

    RedFalKon

    AutoMessage (Version 1.5a)

    Attention: There is currently an issue with AutoMessage v1.5a on CB Build #1185 which causes duplicate console output, in-game messages are unaffected however, this will be fixed in v1.6.

    A Simple Automatic Message plugin developed upon request from:
    http://forums.bukkit.org/threads/tip-message.2933/

    This Plugin allows multiple messages to be broadcast serverwide at a set interval. The default time between messages is around 20 Seconds. This can be changed in the configuration file "automessages.properties".

    Installation
    1. Copy "plugins\AutoMessage.jar" to your CraftBukkit Server Plugins Directory.
    2. Copy "plugins\automessages.properties" to your CraftBukkit Server Plugins Directory.
    Commands

    • /reloadmsg - Reload the Message Configuration File (OPs Only)
    Adding Messages


    New Messages can be added by creating a new line in the properties file in the form of "msg=[message]".
    Code:
    msg=This is a Sample Message !
    Colours can now be used in messages with the $ prefix
    Code:
    msg=$cHello $eAll!
    Multiple Lines can now also be used in messages with $n

    Code:
    msg=Hello All!$nA New Line
    Colour Codes:
    Show (open)

    Black = $0
    Dark Blue = $1
    Dark Green = $2
    Dark Aqua = $3
    Dark Red= $4
    Dark Purple = $5
    Gold = $6
    Gray = $7
    Dark Grey = $8
    Blue = $9
    Green = $a
    Aqua = $b
    Red = $c
    Light Purple = $d
    Yellow = $e
    White = $f

    To-Do
    • Add Colour Code Support for Messages (v1.1+)
    • Add Per User Message Control (1.6)
    • Add YAML Configuration File Support (1.6)
    • Move Config File to Plugins/AutoMessage Directory (1.6)
    • Add In-Game Message Editing/Viewing Functionaility (1.6)
    • Add Group Permissions Support (1.7?)
    Change Log

    • Versino 1.5a
      • Moved Properties File to Plugins Directory
    • Version 1.5
      • Removed Prior Change (Disable Colour Option)
      • Removed Truncation of Messages (Requires CraftBukkit #406)
    • Version 1.4
      • Added option to disable Colour Codes in messages (allows for untruncated messages)
    • Version 1.3
      • Added Multi-Line Support with $n Delimiter
      • Implemented Fix to Prevent Client and Server Crashes
      • Fixed problem when reading the plugin tag after /reloadmsg
    • Version 1.2
      • Added Colour Code Support for Message Prefix
      • Allowed removal of Message Prefix
      • Added support for message shuffling
      • Added /reloadmsg command to reload config for Server OPs
    • Version 1.1
      • Added Colour Code Support with $ prefix
    • Version 1.0
      • Released AutoMessage 1.0
    Downloads:

    Current CraftBukkit Builds:
    [MC]AutoMessage.zip (Latest Version for CB RB and Current Builds)

    Donations:
    If you like the plugin please consider donating to help withthe production of new features and updates for this and other plugins I develop.

    Donate via PayPal
     
    Chillax_Team, DaEgo, tombik and 5 others like this.
  2. Offline

    RustyDagger

    any news on 1.6 the spam messages are really annoying :eek:
     
  3. Offline

    Pomme72

    Hi,

    Not working for me at all, I see the message in the console, but no message in-game.

    Please fix :p

    TY <3
     
  4. Offline

    Fr0zenfr0g

    can you add a line in the config so i can turn logging in console off?
     
  5. Offline

    JohnPulse

    I add to this request also.
    Regards,
    John
     
  6. Offline

    Fr0zenfr0g

  7. Offline

    FatesDemise

    so stop talking works perfectly for hours on end, and then every now and then freaks out and does this, For all Chat after.
    Code:
    06:05:02 [SEVERE] Could not pass event PLAYER_CHAT to StopTalkingAutoBan
    java.util.UnknownFormatConversionException: Conversion = 'l'
            at java.util.Formatter$FormatSpecifier.conversion(Unknown Source)
            at java.util.Formatter$FormatSpecifier.<init>(Unknown Source)
            at java.util.Formatter.parse(Unknown Source)
            at java.util.Formatter.format(Unknown Source)
            at java.util.Formatter.format(Unknown Source)
            at me.blackburn.STAB.stabPlayerListener.onPlayerChat(stabPlayerListener.
    java:70)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:279)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:727)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :500)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    06:05:02 [INFO] <Member><Alchazar> See the cathedral being built by that one mod
    ?
    06:05:07 [SEVERE] Could not pass event PLAYER_CHAT to StopTalkingAutoBan
    java.util.UnknownFormatConversionException: Conversion = 'l'
            at java.util.Formatter$FormatSpecifier.conversion(Unknown Source)
            at java.util.Formatter$FormatSpecifier.<init>(Unknown Source)
            at java.util.Formatter.parse(Unknown Source)
            at java.util.Formatter.format(Unknown Source)
            at java.util.Formatter.format(Unknown Source)
            at me.blackburn.STAB.stabPlayerListener.onPlayerChat(stabPlayerListener.
    java:70)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:279)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:727)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :500)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  8. Offline

    Buckethead

    is it possible for me not to see this in the console takes up much space. possible new option?

    Code:
    17:52:35 [INFO] For assistance type /helpop "msg" and /help for commands
    17:54:05 [INFO] Thank you for playing on JudasRose's server
    17:55:35 [INFO] For info and the basic commands see /info
    17:57:05 [INFO] Please obey rules or be banned /rules
    17:58:35 [INFO] Have a suggestion,complaint or idea? /sug "comment" to submit a
    suggestion
     
  9. Offline

    RedFalKon

    Hi All,

    It's not currently possible to prevent the messages from being logged within the console as they are registered as broadcast chat events and so Craftbukkit outputs them to the log/console automatically, I'll see about changing this but it if the only solution will impact on performance (as i suspect it will, albeit minimally) I will not release it.

    As for the output only being in the console I cannot determine why exactly that could be, it does indicate that the plugin is working correctly but you may have a chat plugin which is intercepting the messages in-game and as such preventing them from being displayed to players.

    This error does not appear to be related to this plugin, the log shows the "StopTalkingAutoBan" plugin is causing problems.

    The new version will make use of the YAML markup format and should natively support all UTF-8 Characters.
     
  10. Offline

    zOxigen

    Oh that would be great.
     
  11. Offline

    marvinej

    could you possibly help with this error?

    2011-10-16 04:00:13 [SEVERE] Error occurred while enabling AutoMessage v1.5 (Is it up to date?): 1
    java.lang.ArrayIndexOutOfBoundsException: 1
    at uk.co.mdtechnology.automessage.AutoMessage.loadData(AutoMessage.java:79)
    at uk.co.mdtechnology.automessage.AutoMessage.onEnable(AutoMessage.java:41)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  12. Offline

    Buckethead

    are u using older or newer version of bukkit?
     
  13. Offline

    Endimmion

    Soon planning to move on Bukkitdev?
     
  14. Offline

    marvinej

    newer version im on 1337
     
  15. Offline

    3ric

    Looks like you have a spam plugin conflicting with AutoAnnouncer.
     
  16. Offline

    formaldehyd

    Great! I can't wait for it. ;)
     
  17. Offline

    c0mp

    I know you specified duplicate console output above, which seems to have been fixed somewhere after 1185 and before 1337. It no longer logs duplicate messages to the console, but it does log the messages to the console, whereas it did not in earlier builds (pre 1.8.1, maybe? I don't recall).

    I know some have called this spammy, but I rather enjoy being able to see what auto-messages the players in the server are seeing. I can then reiterate them from the console, which gets people to pay more attention to them. IE, if a message appears reminding them to vote for our server, I find I get a lot more votes if I also type a message from the console telling everyone to read the message and GO VOTE NAO.

    If you do intend on fixing what some would consider to be a bug, do you have any plans on making it a configurable option to show or hide the auto messages in the console?
     
  18. Offline

    Domi381

    How can I write letters like ä,ö and ü? I'm from Germany so I have to write them verry often :D
     
  19. Offline

    RedFalKon

    It's not actually a bug in that the game is built to output the messages to the console, there's not much I can do to prevent that since I don't control the core of the chat system. What is a "bug" however is several of the same message appearing in the console or in-game, that is a problem which can be fixed. Although it may have simply been an error in the RB, it's not that easy to tell now.

    If you refer to previous posts, I intend to change the plugin over to using the YAML format instead of the existing properties file format which will allow all UTF-8 characters (all alphabets) to be displayed in-game.

    Thanks for your interest and feedback !
     
  20. Offline

    Domi381

    so now I cannot write them?
     
  21. Offline

    RedFalKon

    Not in the current version, sorry !
     
  22. Offline

    Domi381

    OK.
     
  23. Offline

    c0mp

    Ah, beautiful, I guess that settles it then. Thanks for the fast reply, and for the great plugin!
     
  24. Offline

    Melonking

    Could you add a feature to not run messages when no players are online?
     
  25. Offline

    tombik

    Running on CB 1337 and everything is fine. Update header.
     
  26. Offline

    Llamasquishy

    Just curious, what would be the point in that?
     
  27. Offline

    Melonking

    Less log spam.
     
  28. Offline

    Asphodan

    You should just get more people.
     
  29. Offline

    monir

    nice plugin works great!
     
  30. Offline

    Amrac

    Hi,
    Can i get the source? I want to do "Add MySQL Support for Messages in addition to the existing Flat File. (1.7?)"
     
  31. Offline

    nickstern

    I'm loving this plugin ;D
    Is there any way you could make it say a message at a specific time of day.
    Like at dawn, midday, sunset, midnight or custom times?
    Thanks so much if you do this :)
     

Share This Page