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

    Frizkie

    Default time is 500 which = 5 minutes. Every hour would be that times 12, or 6000. Edit the values in the config file.
     
  3. Offline

    kahlilnc

    Could you please add permissions to this. So if the AutoMessage says - "Vip cost 5 dollars" or something like that and they did buy it and VIP states No more AutoMessage then is there a way to get rid of the messages for a certain Group.
     
  4. Offline

    Fob_Upset

    Code:
    12:40:45 [SEVERE] 1 loading AutoMessage v1.5 (Is it up to date?)
    java.lang.ArrayIndexOutOfBoundsException: 1
            at uk.co.mdtechnology.automessage.AutoMessage.loadData(AutoMessage.java:75)
            at uk.co.mdtechnology.automessage.AutoMessage.onEnable(AutoMessage.java:41)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            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)
    
    Ive installed the latest version and says that when i start my server

    Please help me as i really really want to use this plugin.
     
  5. The plugin does not currently use a permissions plugin as I aim waiting for the bukkit core implementation, this will be possible in future releases.

    It appears that the automessage.properties file is malformed, please use the provided file without modification and see if the problem persists, if it does not try editing the file with a more powerful text editor such as Notepad++.
     
  6. Offline

    Fob_Upset

    Where is the provided file?
     
  7. In the Zip Archive under the plugins folder, "automessages.properties".
     
  8. Offline

    Fob_Upset

    Same problem
     
  9. Offline

    Plasma_Jet

    i tweaked my automessages.properties file
    so i had colors to reference when i was editing it instead of looking at a webpage constantly.



    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=230
    prefix=[$2Console$f]
    random=false
    # 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=$dWelcome to the server, $c Dont greif !
    msg=$6OBEY MODS & ADMIN  !!!
    msg=$eMODS -x
    msg=$cADMIN -
    msg=$aWe have forums,
    msg=$fServer up
    msg=$fPortals !!
    msg=$fenjoy your time
    # -----------------------------------------------------
    #
    #
    #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
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
     
  10. Offline

    preaks

    Can we expect Support for 544 in the near future?
     
  11. I've just tested the plugin with the latest build and I can confirm that the current version already supports CraftBukkit Build 544.
     
  12. Offline

    WolwX

    Fine little plugin :)

    But can you put the properties file into a subfolder of Plugin directory ?
    Like other plugins, that's better for organisation of the files ^^

    And thanks for your work ;)
     
  13. Offline

    _knot_

    Code:
    2011-03-27 14:18:00 [SEVERE] Could not load plugins/AutoMessage.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:260)
        at com.earth2me.essentials.commands.Commandreloadall.run(Commandreloadall.java:27)
        at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:45)
        at com.earth2me.essentials.Essentials.onCommand(Essentials.java:588)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: uk.co.mdtechnology.automessage.AutoMessage.<init>()
        at java.lang.Class.getConstructor0(Class.java:2719)
        at java.lang.Class.getConstructor(Class.java:1672)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:108)
        ... 20 more
    This is what I get on CB 556 startup. I know the topic says 544 but I'm updated up to 556. I would really like to utilize this plugin! Thank you for developing this plugin. :D
     
  14. I'll look into this, Thanks for your interest in this plugin.

    Update: I've checked the plugin with CB#556 and I don't encounter the Invalid Plugin Error, please ensure that you are using the plugin build intended for current builds and the RB, from what I can tell you're using an older version. You can download the latest release here, [MC]AutoMessage.zip. The new version (1.4a) also requires the properties file to be moved into the plugins directory.
     
  15. Offline

    _knot_

    Code:
    2011-03-28 21:01:03 [INFO] ?9[PLAYER_COMMAND] _knot_: /plugin enable AutoMessage
    2011-03-28 21:01:03 [SEVERE] Exception in thread "Thread-87"
    2011-03-28 21:01:03 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 1
    2011-03-28 21:01:03 [SEVERE]     at uk.co.mdtechnology.automessage.AutoMessage.loadData(AutoMessage.java:79)
    2011-03-28 21:01:03 [SEVERE]     at uk.co.mdtechnology.automessage.AutoMessage.onEnable(AutoMessage.java:41)
    2011-03-28 21:01:03 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    2011-03-28 21:01:03 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    2011-03-28 21:01:03 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    2011-03-28 21:01:03 [SEVERE]     at com.earth2me.essentials.commands.Commandplugin$1.run(Commandplugin.java:116)
    2011-03-28 21:01:03 [SEVERE]     at java.lang.Thread.run(Thread.java:717)
    2011-03-28 21:01:11 [INFO] ?9[PLAYER_COMMAND] _knot_: /plugin enable AutoMessage
    2011-03-28 21:01:15 [INFO] ?9[PLAYER_COMMAND] _knot_: /plugin enable AutoMessage
    2011-03-28 21:01:23 [SEVERE] null
    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:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    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:96)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    Crashes when I use /reloadmsg more than once. Also will not enable again until I reboot server. Annoying. :/

    EDIT: I found it. I left the prefix= blank instead of deleting the whole line. /doh!
     
  16. Offline

    Kainzo

    Is this working/updated for rb602?

    Maybe I missed the latest zip ;) ill try that.
     
  17. I believe it is, however I have not been able to test it yet.
     
  18. Offline

    meee

    Is it possible to add a function to disable the message for some persons with a command?
    Like /disabletips or so, some people won't see the tips
    This would be nice :)
     
  19. Offline

    robberocker

    Very nice plugin works realy good
    Only there is no source added for update's (don't realy care but i will come in handy)

    Greetz. Robbe
     
  20. Offline

    NickBrahz

    Tested with 612, does not work
     
  21. Offline

    WolwX

    Fine 1.5a

    But just one thing, (I don't want to bother you) the way to use the "properties" file is into a subfolder of the name of the plugin into the plugin directory :s

    CraftBukkit AutoMessages 1.5a
    -------------------------------------

    Installation

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

    Pomme72

    Hi guys,

    I'm using this plugin for my server (I'm french ^^) and I just want to know when he'll be available for the new bukkit version (600+) ?

    Thank you !
     
  23. The current version 1.5a should work fine with the new Bukkit Builds.
     
  24. Offline

    Pomme72

    Ok, thank you very much ! :)
     
  25. Offline

    parker_digg

    /plugin load AutoMessage does not work. Restarting the server does not activate it either.
     
  26. This problem is not related to the plugin, If you are using another plugin to load and reload this plugin it will most likely not work. The plugin must be loaded from the plugins directory on startup and be reloaded with the "/reloadmsg" command in-game.
     
  27. Offline

    parker_digg

    Wait wait, how do we get this to enable? I've never had a problem loading in plugins. Plus, they should activate upon server start.
     
  28. The plugin does start upon server load just as any other plugin should, just ensure that the AutoMessage.jar is in the plugins directory relative to the server .jar.
     
  29. Offline

    parker_digg

    Well that was what I as saying, it doesn't start. Something is wrong with it.
     
  30. Offline

    Nader

    Is there any plans on updating this to work with bukkit #617? Its an awesome plugin and i've always used it up till now =P.
     
  31. Offline

    Prime

    I'm guessing it does not work for 617.
     

Share This Page