Inactive [INFO] TimedMessages v1.1.1 - broadcast messages perodically [1.1-R6]

Discussion in 'Inactive/Unsupported Plugins' started by grandwazir, Dec 24, 2011.

  1. TimedMessages

    TimedMessage is plugin for the Minecraft wrapper Bukkit that provides a method for administrators to broadcast messages periodically to the players on their server. You could use these messages to broadcast hints or important news. Alternatively you could target them at specific players who have a specific permission node, for example giving new player tips for guests on your server.

    • Simple and easy to configure.
    • Broadcast a message from a predefined list periodically.
    • Can broadcast to just players in a specific world.
    • Messages support colour codes in either classic format or in the style of &RED.
    • Split long messages into multiple lines with `.
    • Optionally define a permission node a player must have to receive that message.
    • Define times using flexible human readable format: i.e 1h30m = 1 hour and 30 minutes.
    • Start, stop, reload and check the status of your messages in game.

    Ensure you are using the latest recommended build.

    Before installing, you need to make sure you are running at least the latest recommended build for Bukkit. Support is only given for problems when using a recommended build. This does not mean that the plugin will not work on other versions of Bukkit, the likelihood is it will, but it is not supported.

    Getting TimedMessages

    The best way to install TimedMessages is to use the symbolic link to the latest version. This link always points to the latest version of TimedMessages, so is safe to use in scripts or update plugins. Additionally you can to use the RSS feed provided by BukkitDev as this also includes a version changelog.

    Alternatively older versions are available as well, however they are not supported. If you are forced to use an older version for whatever reason, please let me know why by opening a issue on GitHub.


    Read the documentation

    All documentation for TimedMessages is available on the GitHub wiki, including example usage.
  2. Looks great, all you need is a changelog on the bottom and you've got all the necessary components for this to go into releases ;)
  3. Offline


    This plugin really helps me with periodic announcing. Thanks for creating it.
  4. Would it be acceptable to link to the change log on BukkitDev? I have quite a few plugins to maintain and I am trying to reduce the amount of time it takes me to administrate all these forum threads.
  5. Go ahead
  6. Offline


    i may ask stupid but, what colors do this plugin allow? i used &RED and &LIGHT_PURPLE and &LIGHT_GREEN purple and red works, NOT green :( any answer to this?
  7. Offline


  8. Still neeed that changelog
  9. Offline


    Why don't you make the newline character to '\r\n' instead of ` (\r\n is the Regex sequence for newlines on Windows).

    If you don't know what i'm talking about... read this:

    The character to make new lines on computers is actually not visible (obv. since its a 'new line' character) with a normal text reader.
    But that character can be read with Regex, or at least, identifiable.
    These character will be read normally with regex.
    Like this text:
    Hello my name is bob

    How are you today?
    Will appear as 'Hello my name is bob\r\n\r\nHow are you today?'

    The meaning of \r and \n:
    \r = Linebreak
    \n = Newline

    Macs uses \r
    Linux uses \n
    and Windows uses both (\r\n).

    I know it's stupid ._.

    Without a proper text editor, such as Notepad, if the lines are separated either by \r or \n it will show them all on the same line.

    So, if you wish to let admins put multiline messages (Which is great),
    You would either need to let users define the messages on multiple lines (not with the quote thing) or just make them type something like \r\n or \n to separate the text.

    Tip: \n should be alright for what you are trying to do. When your plugin tries to see if there's new lines, instead of using `, use \\n (\\n is a way to escape newline characters, so it won't read the \n as a newline char but as ... '\n')
  10. md_5

    There you go.


    I'm aware of the convention; there was a reason I did not use it when I made that part of the plugin, but I forget what it was now.

    In the mean time I am keeping an eye on this pull request which, when accepted, will add line splitting into .sendMessage itself saving plugins the trouble. If it isn't accepted I'll make the change in the next release.
  11. Approved
  12. Code (Text):
    1.  Error occurred while enabling TimedMessages v1.0.0 (Is it up to date?): while scanning an anchor; expected alphabetic or numeric character, but found ;(59)
    2. while scanning an anchor
    3. in "<string>", line 19, column 8:
    4. - '&DARK_GREEN;Our dedi specs : Int ...
    5. ^
    6. expected alphabetic or numeric character, but found ;(59)
    7. in "<string>", line 19, column 19:
    8. - '&DARK_GREEN;Our dedi specs : Intel Xeon E3- ...
    9. at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(
    10. ^
    11. at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAnchor(
    12. at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(
    13. at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(
    14. at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(
    15. at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(
    16. at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(
    17. at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(
    18. at org.yaml.snakeyaml.composer.Composer.composeNode(
    19. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(
    20. at org.yaml.snakeyaml.composer.Composer.composeNode(
    21. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(
    22. at org.yaml.snakeyaml.composer.Composer.composeNode(
    23. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(
    24. at org.yaml.snakeyaml.composer.Composer.composeNode(
    25. at org.yaml.snakeyaml.composer.Composer.composeDocument(
    26. at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(
    27. at org.yaml.snakeyaml.composer.Composer.getSingleNode(
    28. at org.yaml.snakeyaml.Yaml.loadFromReader(
    29. at org.yaml.snakeyaml.Yaml.load(
    30. at org.bukkit.configuration.file.YamlConfiguration.loadFromString(
    31. at org.bukkit.configuration.file.FileConfiguration.load(
    32. at org.bukkit.configuration.file.FileConfiguration.load(
    33. at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(
    34. at name.richardson.james.bukkit.util.configuration.AbstractConfiguration.load(
    35. at name.richardson.james.bukkit.util.configuration.AbstractConfiguration.<init>(
    36. at name.richardson.james.bukkit.timedmessages.MessagesConfiguration.<init>(
    37. at name.richardson.james.bukkit.timedmessages.TimedMessages.onEnable(
    38. at
    39. at name.richardson.james.bukkit.timedmessages.TimedMessages.loadMessagesConfiguration(
    40. at
    41. at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    42. at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    43. at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    44. at org.bukkit.craftbukkit.CraftServer.reload(
    45. at org.bukkit.Bukkit.reload(
    46. at org.bukkit.command.defaults.ReloadCommand.execute(
    47. at org.bukkit.command.SimpleCommandMap.dispatch(
    48. at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    49. at net.minecraft.server.NetServerHandler.handleCommand(
    50. at
    51. at net.minecraft.server.NetServerHandler.a(
    52. at net.minecraft.server.Packet3Chat.a(
    53. at net.minecraft.server.NetworkManager.b(
    54. at net.minecraft.server.NetServerHandler.a(
    55. at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    56. at net.minecraft.server.MinecraftServer.w(
    57. at

    Code (Text):
    1. [SEVERE] Error occurred while enabling TimedMessages v1.0.0 (Is it up to date?): while parsing a block mapping; expected <block end>, but found Anchor
    2. in "<string>", line 5, column 5:
    3. mode: rotation
    4. ^
    5. expected <block end>, but found Anchor
    6. in "<string>", line 19, column 8:
    7. - '&DARK_GREEN Our dedi specs : Int ...
    8. ^
    9. at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(
    10. at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(
    11. at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(
    12. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(
    13. at org.yaml.snakeyaml.composer.Composer.composeNode(
    14. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(
    15. at org.yaml.snakeyaml.composer.Composer.composeNode(
    16. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(
    17. at org.yaml.snakeyaml.composer.Composer.composeNode(
    18. at org.yaml.snakeyaml.composer.Composer.composeDocument(
    19. at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(
    20. at org.yaml.snakeyaml.composer.Composer.getSingleNode(
    21. at org.yaml.snakeyaml.Yaml.load(
    22. at org.yaml.snakeyaml.Yaml.loadFromReader(
    23. at org.bukkit.configuration.file.YamlConfiguration.loadFromString(
    24. at org.bukkit.configuration.file.FileConfiguration.load(
    25. at org.bukkit.configuration.file.FileConfiguration.load(
    26. at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(
    27. at name.richardson.james.bukkit.util.configuration.AbstractConfiguration.load(
    28. at name.richardson.james.bukkit.timedmessages.MessagesConfiguration.<init>(
    29. at
    30. at name.richardson.james.bukkit.util.configuration.AbstractConfiguration.<init>(
    31. at name.richardson.james.bukkit.timedmessages.TimedMessages.loadMessagesConfiguration(
    32. at name.richardson.james.bukkit.timedmessages.TimedMessages.onEnable(
    33. at
    34. at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    35. at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    36. at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    37. at net.minecraft.server.MinecraftServer.t(
    38. at net.minecraft.server.MinecraftServer.a(
    39. at
    40. at net.minecraft.server.MinecraftServer.init(
    41. at
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 23, 2016
  13. Offline


    Getting the same error, plugin won't even load. Developer?
  14. AliasXNeo Mrchasez

    Try using double quotes around your message and if that doesn't work avoid using : in your messages.
  15. Offline


    Code (Text):
    1. # You can find out more about these options by visiting the wiki at
    3. messages:
    4.   guest-hints:
    5.     mode: rotation
    6.     delay: 5s
    7.     permission: group.noob
    8.     messages:
    9.     - Welcome to our server
    10.     - We hope you enjoy your stay.
    11.     - If you wish to build, please sign up at <This is the site, but I'm not going to promote myself.>
    that's my messages.yml

    and the default group has the
    - group.noob
    perm, HOWEVER, no messages can be seen. I've had the timer set at 30s, 1m, and other times, but it wont show up.

  16. Try using the latest Bukkit recommended build and see if that fixes the problem.
  17. Offline


    Still no... I deoped/demoted myself to the right status, and it isnt going...
  18. Offline


    How do you reload the plugin without using /reload?
  19. Type /tm for a full list of commands which includes /tm reload.
  20. Please update:
    always having... [FINE] <name.richardson.james.bukkit.timedmessages.random.RandomMessage>
    when a message comes up
  21. Offline


    Download link for TimedMessages is broken.
  22. Offline


    im not seeing any messages in game
  23. Offline


    Does anyone else have the problem of the messages not sticking? I set up all of my messages and they disappear when my server restarts. (I have a daily restart) also when ever I reload the app I lose my messages again. What is the deal am I doing something wrong?
    Max Sentence likes this.
  24. Offline


    Hey, great plugin. But, it doesn't seem to be working? whats up? here is what is in my messages.yml plugin.
    mode: rotation
    delay: 30s
    - &2Type /help for details on all our commands.
    - &2Type /sethome to set your home.
    - &2You may not build near spawn.
    - &2Ask an op to help you protect your stuff in the Peaceful World!
    - &2No admins on and you need help? visit our website at &
    - &2Refer a friend to the server and your friend an you will recieve 300 bucks!
  25. Offline


    Where is the download?
  26. Offline


    Update it please!
  27. Add " to the start and end of those messages like this:

    Code (Text):
    1. - "&2Type /help for details on all our commands."
    See the 'Getting TimedMessages' section of the main post.

    It is now updated!

    Disable debugging in config.yml

    Code (Text):
    1. debugging: false
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 23, 2016
  28. Offline

    Max Sentence

    Yes this is a major pain in my bum at the moment and I don't know what I'm doing wrong. I've tried everything I could think of.
  29. Offline


    I had this too, it's because you did something wrong in the config.
    Did you 'Mark every sentence like this'
    For some more help, here is my config of my server's TimedMessages:

    # You can find out more about these options by visiting the wiki at

    mode: rotation
    delay: 20s
    - '&LIGHT_PURPLEWant your own server? For 3$ you can! Visit
    for more information!'
    - '&GOLDVisit our website at!'
    - '&AQUA[Invite-A-Friend] &GREENFor every invited friend you get 1 diamond, for
    every 5 friends 1 diamond block!'
    - '&RED[Vote] &GOLDPlease vote! It keeps the server online and it gives you diamonds!
    Visit for more information!'
    - '&GOLDWant your text here? Contact Reteckz for the price!'
    Also I would thank the creator of this plugin a LOT!
    Thanks to this plugin I dont have to repeat everything to new people etc, and my host pays me 6,50$ a month just to put their text in it that appears every 1 minute or so ;o
    When I get more donations, i'm sure going to donate to you!

Share This Page