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

    Landmine

    See, RedFalKon is taking care of us and our crazy demands!
     
  3. Offline

    kronflux

    and what I'm saying is, I've never had a problem with crashing in the past. Personally.
    So again, I'm not asking that you change anything for -everyone- I'm asking that you simply release the source code(which is very easily attainable regardless, I just suck at rewriting actionlisteners after they get screwed up after decompiles)
    I'm not asking you to concern yourself with crashes. Let me deal with my own server and it's potential crashes.
    I ask again, can you please release the source code officially?
     
  4. I will release the source for this plugin once I'm sure that every feature works flawlessly and without potential for client crashes. Surely it is my responsibility to respond to these crashes as most users of the plugin will not be able to fix such a problem on their own. I really hate not covering every potential need and requirement which users request, some of which simply aren't possible without problems, as in this case the very fact is that at some point at which the client encounters a malformed colour code, it will crash and so will the server. This in my opinion is a huge flaw and must be fixed regardless of it's implications, I don't care if some users are fine with the plugin how it is, I won't allow for errors in any of my work.
     
  5. Offline

    Binaryclock

    Seems that it wants to auto-wrap lines more than 53 characters, even if those characters are color codes that are not displayed on the screen. Therefore it wraps prematurely.
     
  6. The limit includes the prefix on the first line of the message, anyway the preemptive truncating is all security to prevent a client and server crash.
     
  7. Offline

    Binaryclock

    Also, if you put an = sign in the msg, it parses it wrongly.

    msg=Griefing = destroying any block

    Will display "Griefing"
     
  8. This is because the parser I have written uses '=' as the split point from the key e.g. 'msg=A Message' produces 'A Message', you can't use an '=' in a message as this will cause the rest of the message to be lost. There's a limitation to which characters I could use because most would be used in messages. Sorry about this, I may re-write the data loader some time in the future to allow the use of '='.
     
  9. Offline

    SweetCraft Girl

    When we run this at SweetCraft it completely stops ALL ability to send any text to chat, or any commands at all except direct server commands from client login. Cannot figure out why, however, also cannot use this if I or the GM accounts can do next to nothing while it is active.

    Perhaps there is something we missed on install? We have quite a few plugins running because of the nature of the World we wish to bring our residents, so i understand that this is our issue as well. It seems also that after installing auto-message, and pulling it out, we still cannot achieve functionality and at the moment our World is down. Restoring from the backup beta-server at the moment. :(
     
  10. I've tested the plugin against CB#326 and I'm still able to utilise other commands, the server remains stable. It's most likely that the plugin is interfering with another plugin running on your server. Do you recieve any exceptions in the server console when the plugin loads or is running, this would be useful as I cannot help you without more information. As far as world corruption, this plugin has no reason to do so, the plugin does not interact with the world in any way. This may be the result of another plugin as aforementioned.
     
  11. Offline

    SweetCraft Girl

    We suspect it was a number of plugins messing up at the same time. But when that happens oddly enough, removing just one fixes things.

    Tomorrow we will put it on the test-server and see what happens now that we have all our plugins sorted without conflicts. Then i will come back and give you a report. If it doesnt work i will take pics of the console output.

    Thanks for your efforts Red, whether or not it works for me matters not so much that it works for many many more and that they are happy. I appreciate you!
    Sweet!
     
  12. Offline

    enkryptor

    A feature request — let users turn off these messages for their chat only.
     
  13. The plugin is designed to broadcast to the entire server, not per player, to incorporate this I would have to change how messages are sent. I may add this to a future release.
     
  14. Offline

    enkryptor

    Just thinking about a plugin to make ingame "hints".

    (for instance "type /sethome to change your current home location", etc.)
     
  15. Offline

    Kainzo

    Any chance at updating this for the new bukkit?
     
  16. Yes, the new CraftBukkit builds support full length colour messages (without the possibility for client/server crashes), I'll remove the truncation code as well as the colour code setting (it's now pointless). I'll also be addressing the TSLPC change in the next version.
     
  17. Offline

    M1sT3rM4n

    Good to know, I was wondering why my messages were cut to the 2nd line prematurely, but too lazy to fix it xD
     
  18. Offline

    Kainzo

    Thanks for the update!
     
  19. Offline

    NickBrahz

    I keep on running into this when i start my server,
    Code:
    SEVERE: Could not load plugins/AutoMessage.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:79)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.NoSuchMethodException: uk.co.mdtechnology.automessage.AutoMessage.<init>(org.bukkit.plugin.PluginLoader, org.bukkit.Server, org.bukkit.plugin.PluginDescriptionFile, java.io.File, java.io.File, java.lang.ClassLoader)
            at java.lang.Class.getConstructor0(Class.java:2723)
            at java.lang.Class.getConstructor(Class.java:1674)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
            ... 8 more
    
     
  20. Offline

    RustyDagger

    A build for 53 would be nice as it is the highest RB And PLugin Devs Should be Jumping On Board the system to make it better for all of us (i see that it needs things from a higher build while its good to have things ready its even nicer to have things we need.
     
  21. For Version 1.5 Please ensure that you are running a CraftBukkit Build greater than #406.

    I will make Version 1.4 available again which supported the RB, however I will no longer be making changes to support older builds (Version 1.4 has the same functionality as the latest build), I have no obligation to do so as Bukkit/CraftBukkit has not yet reached a fully stable release. Version 1.5 and above will require a later CraftBukkit Build. The main reason for this is that there is a fundemental problem with prior builds which causes client and server crashes with full length colour messages, this was fixed in the latest builds. Version 1.5 supports and benefits from this change. Version 1.4 implemented a fix to prevent the crash on the RB and greater builds, this however causes forced truncation of messages.

    Update: I've added the DL Link for Version 1.4 which supports builds prior to CB#406. Sorry for the Inconvenience.
     
  22. Offline

    Mathman200

    ok, i can't find this out (stupid of me) weres the latest download place??
     
  23. Check the OP under the Download Section for the latest build and RB compatible build. Here's the link to the latest release anyway,

    [MC]AutoMessage.zip (Latest Version for CB#406+)
     
  24. Offline

    nothigh

    How would I use the dollar sign in my actual message without triggering a color code?
     
  25. This is not currently possible, the dollar sign is a reserved character in this plugin so you can't use it in messages. Sorry about this but it's one of the few characters I can use to allow colour codes to be used easily.
     
  26. Offline

    M1sT3rM4n

    Outdated for CB 456 :p
     
  27. Fixing it right now.
     
  28. Offline

    M1sT3rM4n

    Thanks! But I was just messing around with 456 and actually use 440, the recommended version :D
     
  29. Offline

    Kainzo

    2011-02-27 15:55:54 [SEVERE] PLAYER_COMMAND loading AutoMessage v1.5 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_COMMAND
    at uk.co.mdtechnology.automessage.AutoMessage.onEnable(AutoMessage.java:43)
    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:83)
    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)

    Getting this message on 458
     
  30. I patched the current version, please read the OP and re-download it, thanks.
     
  31. Offline

    Kainzo

    yeah - we're sticking to 448 (though its not recommended) just wanted to drop you a reply :)
     

Share This Page