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

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

  1. 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

    __Brian__

    Work in 935?:rolleyes:
     
  3. As far as I am aware yes Build 935 is supported.
     
  4. Offline

    RustyDagger

    once more M8 win plugin still going strong Never a problem :D
     
  5. Offline

    Reazem

    Been using this pluggin for a while now, it's awesome, thank you.
    Free bump.
     
  6. Offline

    Damien711

    Great plugin. Im wondering if there is anyway to exempt certain groups from getting these messages? I only want them to goto certain groups but not all. Any help would be great. Thanks :)
     
  7. Offline

    Starrk

    Is there anyway to change "$" to "&"?
     
  8. Not currently, the next release will feature a escape character combination to allow the use of $ and & in all messages.
     
  9. Offline

    fffizzz

    anyway to set permissions nodes so you can set the groups to receive the broadcast?
     
  10. Not in the current release, permissions may be added to the next release of the plugin.
     
  11. Offline

    SkullM4sher

  12. Hi, It appears that you have a malformed config file, try redownloading the plugin and editing the config file once again with a better text editor such as Notepad++.
     
  13. Offline

    SkullM4sher

    Don't worry I using Notepad ++ for a while.
    I figure it out by myself by just putting a space after "prefix=" I unfortunately deleted it.

    Also thanks for your replies and for this awesome plugin.
     
  14. Offline

    flyinggoatman

    Colour codes do work but you need to use "$" insted of "&"

    examples:
    &4=$4
    &F=$f
    (letters like "$f" may not work)
     
  15. Offline

    marinesleep


    it does but you have to put a $ instead of &
     
  16. Offline

    RealMinecraftTV

    Hey when I try to type /reloadmsg in game, or in the console, I get an internal error. Here's what the server log has to say:
    2011-08-01 19:18:50 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'reloadmsg' in plugin AutoMessage v1.5
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:312)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at uk.co.mdtechnology.automessage.AutoMessage.loadData(AutoMessage.java:79)
    at uk.co.mdtechnology.automessage.AutoMessage.onCommand(AutoMessage.java:108)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 6 more
     
  17. Offline

    RealMinecraftTV

    I got it working. How do you make it where it doesn't have a prefix before the message?
     
  18. Offline

    Buckethead

    still working in bukit 1000

    just erase the suffix line.
    # time - Set the time between messages in Seconds
    # prefix - The text in the tag before an Auto Message (Now Supports Colour Codes) Remove the tag for No Message Prefix
    # random - Choose if the message list should be shown in order or shuffled (true or false)
    time=300
    random=false
    # Message List
    # -----------------------------------------------------
    # All Messages Should Start With msg=

    and so on.....

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 7, 2016
  19. Offline

    RealMinecraftTV

    Ok thanks!
     
  20. Offline

    fatmarley

    @RedFalKon would you consider spout support and use the achievement boxes to send the auto-messages to players?
     
  21. I've been looking into Spout as a possible option to allow server-admins to add/remove/organise messages on their servers, changing how they're broadcast may be something I'll look into as well.

    Thanks for your Suggestion !
     
  22. Offline

    gyoloco

    I run on bukkit 1000, but automessage does not work:

    [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:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    Thx already.
     
  23. Offline

    tiger545454

    idk why but this random thing dont work
     
  24. Offline

    imoneofthem

    How about a command for individual users to prevent these messages from being sent to them.
     
  25. This is planned for the next release of the plugin.

    Try using a new .properties file from the zip, you appear to have a error in the configuration file, if you've set the plugin prefix to nothing or deleted it, re-add it and just put a space as the value, this will be fixed in the next release.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 7, 2016
  26. Offline

    gyoloco

    Ok thx, gonna try it :p
     
  27. Offline

    novs12

    how do you use a $ symbol in this
    I want to say like for $5 you can get bla bla it will just turn colors, wont it?
     
  28. Yes, currently $ is reserved for colour code use, this has been changed for the next release, the only way to use the $ symbol is if it is followed by a space.
     
  29. Offline

    Jonchun

    Lol this is beautiful. My members will never forget to vote again >:]
     
  30. Offline

    Haribo98

    Neither will Mine!

    Tip for the plugin though:
    Can you add permissions support?
    Eg. to receive the messages, you would need the AutoMessage.receiver node :D.
    And other perm nodes, so it's not just OP
     
  31. Offline

    Jonchun

    Maybe permissions like:

    Permissions:
    - AutoMessage.nodename

    and in the config file
    Message: "message here "
    Node: nodename

    and the message is sent to only people with the node.

    edit: Then you can have different broadcasts for different groups.

    e.g. Donators don't receive the "Donate to help our server!" message
     

Share This Page