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

    chernobyl360

    [​IMG]
    --- merged: Mar 1, 2011 9:16 PM ---
    Plugin null error
     
  3. Hi, I've just checked the plugin with CraftBukkit #462 as you appear to be running this build, I do not recieve an Invalid Plugin Error, can you please re-download the Current Version for CraftBukkit #406+ and try the plugin again.
     
  4. Offline

    chernobyl360

    Still Recieve the error. so i tried the newest... 484. still errors.
    --- merged: Mar 1, 2011 11:50 PM ---
    Woops read that wrong. yes ive re downloaded automessage for #406. Thought maybe it was the craftbukkit. so i updated to 484 and still errors
     
  5. Offline

    Sparrow

    Is there a way we can do like;
    msg=These players are currently online $n {PLAYERLIST}
    Or
    msg={PLAYER} is awesome!

    Thanks in advance,
    Daniel~
     
  6. Offline

    misterbob

    I'm receiving an error too.

    Code:
    2011-03-02 17:42:08 [SEVERE] 1 (Is it up to date?)
    java.lang.ArrayIndexOutOfBoundsException: 1
        at uk.co.mdtechnology.automessage.AutoMessage.loadData(AutoMessage.java:74)
        at uk.co.mdtechnology.automessage.AutoMessage.onEnable(AutoMessage.java:40)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:117)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:80)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    Running Craftbukkit #456, Permissions 2.5.1 (Phoenix), WorldGuard [4.0-alpha1], WorldEdit 4.0-beta8, Essentials (Main Jar) + EssentialsSpawn

    Dunno if this helps :S
     
  7. This would suggest that you have a malformed automessage.properties file, could you try running the server with the provided (un-modified) properties file and see if you encounter the error again.

    This is not currently possible however I may add it in a future release, the possibility of {PLAYERLIST} is certainly an option however as the plugin broadcasts to the server and not per player I don't see how {PLAYER} would work unless it randomly picks a player who is online.
     
    Sparrow likes this.
  8. Offline

    misterbob

    Thanks it worked :)
    Seems like I just failed editing the properties file! :D
     
  9. Offline

    Sparrow

    Ah cool, that would be great if you could.
    With {PLAYER}, I understand yeah, a random player would be cool too but if it's too hard then don't worry.

    Thanks,
    Daniel
     
  10. Offline

    Mazer

    Thanks for this plugin! Works great
     
  11. Offline

    M1sT3rM4n

  12. Offline

    daveGeiss

    Please update so this can work with build 527
     
  13. Offline

    dslip

    Author,

    Please support the auto-updating plugin CraftBukkitUpToDate. To do so please provide a permanent direct link to the author of CraftBukkitUpToDate.

    The below is information they provide
    Show Spoiler

    My Plugin didn't supported, how i get it to work with CButD?
    Give me a permanent link to your Plugin, i will add it. That's all no changes at your SourceCode or something else, all I need is a permanent link to the newest version of your Plugin. A good place for this is http://www.dropbox.com/ or for OpenSource https://github.com/.


    I really enjoy using your plugin and would like to see it work well with the above listed 'updater' plugin.
     
  14. Offline

    M1sT3rM4n

    Works fine for me.
     
  15. Offline

    darkwarriors

    cool if can add a support for Permissions 2.5 so we can sent certain message to a specific group if is he online!
     
  16. Offline

    Oscarius

    Thank you so much for this plugin. Very useful.
     
  17. Offline

    zipfe

    Works great with #531. Thanks for this plugin, RedFalKon.
     
  18. Offline

    Lookatmego

    works awesome with 533
     
  19. Offline

    Minyo

    How exactly do you set the time for the message to display. FOr instance, I want the message to say "Bed time" when it gets dark. I know how to set the time in between but when is the message displayed originally?
     
  20. The plugin is not designed to read the time from the game server, the plugin uses real-time e.g. a true 20 second period. The plugin can only display messages at regular intervals not based upon events fired within the server e.g. night time.
     
  21. Offline

    Kainzo

    Love the plugin - use it every single DAY!
     
  22. Offline

    M1sT3rM4n

  23. Offline

    Weust

  24. Offline

    Techcuron

    :(

    Code:
    21:36:17 [SEVERE] java.io.FileNotFoundException: automessages.properties (The sy
    stem cannot find the file specified)
    21:36:17 [SEVERE]      at java.io.FileInputStream.open(Native Method)
    21:36:17 [SEVERE]      at java.io.FileInputStream.<init>(Unknown Source)
    21:36:17 [SEVERE]      at java.io.FileInputStream.<init>(Unknown Source)
    21:36:17 [SEVERE]      at uk.co.mdtechnology.automessage.AutoMessage.loadData(A
    utoMessage.java:69)
    21:36:17 [SEVERE]      at uk.co.mdtechnology.automessage.AutoMessage.onEnable(A
    utoMessage.java:40)
    21:36:17 [SEVERE]      at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:118)
    21:36:17 [SEVERE]      at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:451)
    21:36:17 [SEVERE]      at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:217)
    21:36:17 [SEVERE]      at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:92)
    21:36:17 [SEVERE]      at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:70)
    21:36:17 [SEVERE]      at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:204)
    21:36:17 [SEVERE]      at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:191)
    21:36:17 [SEVERE]      at net.minecraft.server.MinecraftServer.d(MinecraftServe
    r.java:131)
    21:36:17 [SEVERE]      at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:246)
    21:36:17 [SEVERE]      at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
     
  25. Offline

    ichingpow

    Did you put the automessages.properties file included in the download in the same folder as craftbukkit.jar?

    My own problem:

    I'm running craftbukkit 556 on windows 7 64 bit. This error message doesn't appear until I edit the automessages.properties file.

    My automessages.properties file contains the following:
    Code:
    # AutoMessage Configuration
    # -----------------------------------------------------
    # General Config
    # This config can be reloaded in game with the '/reloadmsg' command (OPs Only)
    #
    # 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=120
    prefix=
    random=true
    # Message List
    # -----------------------------------------------------
    # All Messages Should Start With msg=
    # Colour Codes can also be added to messages with the $ prefix e.g. msg=$cHello $eAll!
    # Add a new line to a message with $n
    msg=Donate and you can become a V.I.P. with extra features.
    # -----------------------------------------------------
    Never mind, I found the fix for my problem. You MUST have a prefix D:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 7, 2016
  26. Just remove the entire prefix tag e.g. "plugin=", then you'll be able to use the plugin without one. Sorry for the confusion.
     
  27. Offline

    ichingpow

    Okay, thanks a lot for the speedy reply :D
     
  28. Offline

    DannyCare

    Any chance of moving the AutoMessages.properties file into the plugin folder, rather than in the root server folder? I can't access this through my current Minecraft server host.
     
  29. I'll see about changing this.

    Update: I've patched Version 1.5 to allow for this change, the properties file is now located within the plugins folder. Thanks for your interest in this plugin.
     
  30. Offline

    DannyCare

    Fantastic! You're the first dev to listen to me :) Thank you! Feel free to join my server any time: mc1866.servercraft.co:8487

    Danny
     
  31. Offline

    TuRmoiLxx

    Loving it. Thanks, I need some explanation regarding time, how does it work? I want a message to appear every one hour, how can I do that?
     

Share This Page