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

    Nader

    i assume not since i tried this plugin on earlier version 556 i beleive and it failed to do its role xP
     
  3. Offline

    Pomme72

    This plugin's not working for me :( I installed it and I /reloadmsg, and I restarted my server but... That don't work, no messages in the chat. :(

    Maybe help ? :)
     
  4. For all of you who cannot use the plugin please post the output from the server console on start up so I can investigate the problem. I have tested the plugin with the latest CraftBukkit build and it works as intended for me. I cannot help you if you do not provide adequate information, simply stating that the plugin "does not work" won't enable me to help you.
     
  5. Offline

    Prime


    Here you go:

    Code:
    11:18:45 [SEVERE] Could not load plugins\AutoMessage.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:105)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:158)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:106)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:63)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.NoSuchMethodException: uk.co.mdtechnology.automessage.AutoM
    essage.<init>()
            at java.lang.Class.getConstructor0(Unknown Source)
            at java.lang.Class.getConstructor(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:100)
            ... 8 more
     
  6. Thanks Prime, could you re-download the plugin again from this URL and try it again. Please ensure that the automessage.properties file is located within the plugins directory. You appear to be running the older version of the plugin.

    [MC]AutoMessage.zip

    Thanks.
     
  7. Offline

    Prime

    Loaded perfectly with that new version you suggested. And, messages work as expected as of Build 617! Thanks!
     
  8. Glad to hear that it's working now, if you have any further issues please don't hesitate to ask !
     
  9. Offline

    PatrickFreed

    You should update your title to show the latest RB.
    Thanks for this awesome plugin :D
     
  10. Offline

    Latros

    2011-04-04 06:15:39 [SEVERE] Could not load plugins/AutoMessage.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:105)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:63)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.NoSuchMethodException: uk.co.mdtechnology.automessage.AutoMessage.<init>()
    at java.lang.Class.getConstructor0(Class.java:2706)
    at java.lang.Class.getConstructor(Class.java:1657)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:100)
    ... 8 more

    Most recent AutoMessage
    CraftBukkit b617
     
  11. Please re-download the plugin from here: [MC]AutoMessage.zip
     
  12. Offline

    Jack Bartlett

    Well, I put my time to 600 (10mins) yet it still goes at 20secs...Here is my Properties
    time=600
    prefix=$5[$5Server$5]
    random=false
    msg=Welcome to the Mine-Mainia server! To register $n$5[$5Server$5] Go to www.******.com (Testing) $n$5[$5Server$5] Ask KravenT0xic if he is online for $n$5[$5Server$5] Permissions to build!
     
  13. Could you download this properties file and replace the one in the plugins directory, I've set it up as you say you have yours, don't modify it, just run the server with it and see if it works.

    http://dl.dropbox.com/u/2054335/CraftBukkit/AutoMessage/automessages.properties
     
  14. Offline

    Jack Bartlett

    Thanks alot! i'm glad to have a Plugin developer who can interact with the people needing help!
     
  15. Offline

    BioRage

    Awesome plugin,!
     
  16. Offline

    vander_fr

    Could you please move the properties file into a proper directorie /plugins/automessage/ ?
     
  17. Offline

    THEK

    I like this plugin but I do have one request. MySQL support :) Then I can easily make a web page for my CoFounders to update the messages with.
     
  18. Offline

    dominixise

    Hi is it possible to have your automesssage to be configured to each of a "group" , so that I can tell each group of players like Admin, Moderators, Mayor, Affiliate, Default, different things. I am using permissions. After reading this forums I guess its not coded yet.
     
  19. If an official Permissions system is released with CraftBukkit, I will likely support it, however for now this plugin will remain independant from other plugins, I don't want to force people to use a particular plugin with this one.

    I don't plan to add MySQL support as I don't believe that it's necessary for such a simple plugin. You, in theory, could create a PHP page which can read the properties file and save it back out for online editing.

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

    vander_fr

    It's the only plugin I know who place his configuration file in/plugin/...
    All other plugins place there configurations files into /plugin/PluginName/...
     
  21. Offline

    dominixise

    Hi also I have a neat idea about the message system. If you have a long message it ususally blocks the half the screen so I was wondering if you could make it so the messages loop on the top of the screen from one side to the other in one line contiuously like they have on the news on tv? It would be way cool and also if you could make a diagram in minecraft text that shows a bigger area of the message that would be cool too. Is this even possible to do in minecraft?
     
  22. This is not currently possible to do, AutoMessage can only broadcast messages via in-game chat, scrolling messages are not yet possible through this method. Also, I cannot change the position of the chat messages.

    I will see about moving the properties file for the next release.
     
  23. Offline

    ichingpow

    Any chance to test on latest RB and maybe the latest test builds and make any neccesary changes?
     
  24. The plugin should work as intended on all new builds regardless of game changes, only basic aspects of Bukkit are used in conjunction with some custom code and these core CraftBukkit features are unlikely to change. However I'll test the plugin on the latest when I have the chance but it should work as intended.
     
  25. Offline

    Yuki_Nagato

    Hello,
    I attempted to load this plugin, but there was an error:
    I am using Bukkit #715, downloaded the link on the first post that said to download 1.5a

    Thank you for your help.

    Code:
    2011-04-24 18:00:14 [SEVERE] 1 loading AutoMessage v1.5 (Is it up to date?)
    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:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:584)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  26. It appears that you have a malformed automessages.properties file, try and remove "plugin=" from the file if you have set or want the prefix to be nothing.
     
  27. Offline

    Yuki_Nagato

    Thank you for your quick response! I assumed by "plugin=" you meant "prefix=" so I removed that and it worked.

    Thanks.

    Edit: Is there a way to implement smart auto wrapping into this plugin for long messages? So words don't split?

    Thanks.
     
  28. Offline

    ichingpow

    Oh yeah, I forgot to mention, can you change the colour symbol to ` or & because I am messages about our economy which is E$T and it doesn't show the dollar sign. Thank you for all your work and effort!
     
  29. I may add the ability to change the colour code prefix in the properties file in a future release as I did foresee this problem but the "$" Dollar Sign Symbol was the best choice at the time.

    I did indeed mean the "prefix=" tag, sorry for the confusion. As for the word-wrapping feature this is indeed possible but I don't know if this is something which people would want as I was once forced to use message truncation a while ago due to an error which occurred in the Minecraft Client and people were generally unhappy about the change, therefore it may be wise to include it as an option if I do implement it. Thanks for your interest and input to the matter.
     
  30. Flawless on CB733 it seems!
     
  31. Offline

    gigagames

    Work et whit bukkit 733 ?
     

Share This Page