AutoMessager v2.6

A plugin for sending auto-messages from a custom file.

  1. Toldi
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    Source Code:
    https://github.com/montlikadani/AutoMessager
    Contributors:
    montlikadani
    AutoMessager
    Commands & Permissions | Config.yml | Placeholders | Symbols
    Bukkit Link: Click


    PLEASE DO NOT WRITE BUGS OR ERRORS IN THE REVIEWS!

    Features

    Bukkit
    • PlaceholderAPI support (optional)
    • Custom editable message file
    • Run commands after sent a message to chat
    • Minimum player to send the messages
    • Messages for time
    - Time setup (variables)​
    • JSON support (usage)
    • Broadcasting to console
    • Disabled worlds, where the messages will not sent
    • Sound when sent an auto message
    • Disable messages when player afk (Requires EssentialsX)
    • Random broadcast messages (minimum 2 or more text needed), to randomize messages
    • 160+ symbols
    • Per-action messages (usage):
      • Per permission
      • Per player
      • Per group
      • Per world
    BungeeCord
    • 160+ symbols​
    • Custom editable message file​
    • Messages for time​
    - Time setup (variables)​
    • Broadcast to console​
    • Disabled servers, to prevent sending messages to given servers.​
    • Random broadcast messages, to randomize messages​
    • Sending messages to another server
    Commands
    ( ) = command abbreviations

    < > = required arguments
    [ ] = optional argument

    Bukkit
    - /automessager (or /am) - Main plugin info
    - /am reload - Reloads the plugin
    - /am clearall - Clear all message from the file.
    - /am add <message> - Adds a message
    - /am remove <index> - Remove the text from the file
    - /am list [page] - List all messages per page
    - /am broadcast <message> - Broadcast a message
    - /am help - Help commands
    - /am toggle - Toggle auto messages for player
    - /am toggle <player> - Toggles the auto messages for given player.
    - /am toggle all - Toggle auto messages for all online players.
    - /am blacklist - List blacklisted players help message.​
    • /am blacklist add <playerName> - Adds a player to the list to not receive the auto-messages.
    • /am blacklist remove <playerName> - Removes the player from the list.
    • /am blacklist list - List the added players that is in the blacklist.
    Bungee
    - /am - Main plugin info
    - /am reload (or rl) - Reload the plugin
    - /am list - Lists all messages
    - /am add <message> - Adds a message
    - /am remove <index> - Remove the text from the file
    - /am broadcast (or bc) <text> - Broadcast a message to chat
    - /am toggle - Toggle auto messages for player.
    - /am toggle <player> - Toggles the auto messages for given player.
    - /am toggle all - Toggle auto messages for all online players.​

    Permissions
    Bukkit
    automessager.* - Allow all AutoMessager permissions.
    automessager.reload - You can use the "/am reload" command.
    automessager.help - You can use "/am help" command.
    automessager.add - You can use the "/am add" command.
    automessager.remove - You can use the "/am remove" command.
    automessager.clearall - You can use the "/am clearall" command.
    automessager.toggle - You can use the "/am toggle" command.
    automessager.seemsg - Enables you to print auto broadcast messages.
    automessager.broadcast - Allows the player to use the "/am broadcast" command.
    automessager.list - Allows the player to use the "/am list" command.
    automessager.blacklistedplayers - Allows the player to use the "/am bp" command.
    automessager.blacklistedplayers.add - Allows the player to use the "/am bl add" command.
    automessager.blacklistedplayers.remove - Allows the player to use the "/am bl remove" command.
    automessager.blacklistedplayers.list - Allows the player to use the "/am bl list" command.
    Bungee
    automessager.add
    - You can use the "/am add" command.
    automessager.remove - You can use the "/am remove" command.
    automessager.list - Allows the player to use the "/automessager list" command.
    automessager.reload - You can use the "/automessager reload" command.
    automessager.help - You can use "/automessager help" command.​

    Config
    Bukkit
    Code (Text):
    # Enables broadcasting messages
    enable-broadcast: true

    # Enable to use PlaceholderAPI for the plugin.
    placeholderapi: false

    # Save the toggled messages to a file to load after server restart.
    remember-toggle-to-file: true

    # Used for the /am list command.
    show-max-row-in-one-page: 8

    # In what worlds do NOT send a message?
    disabled-worlds:
    #- hubs

    # The file that will contain the messages to broadcast.
    # Supports custom file types, such as .yml or .txt
    message-file: "announces.yml"

    # The minimal amount of players that has to be online for a message to broadcast.
    # Set to 0 to disable this feature.
    min-players: 1

    # Disable sending auto-messages when the player afk?
    # Required Essentials plugin!
    disable-messages-when-player-afk: false

    # Placeholder formats
    placeholder-format:
      # %title% placeholder to show the title in a message.
      title: "&c[&aAuto&9Messager&c] "

      # %suffix% placeholder to show the suffix in a message.
      suffix: ""

      # Time settings
      time:
        # Time zones: https://www.mkyong.com/java/java-display-list-of-timezone-with-gmt/
        time-zone: "GMT0"

        # Use system default time zone instead of searching for that?
        use-system-zone: false

        # Formats/examples: https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
        # Used for %server-time% placeholder.
        time-format:
          format: "mm:HH"
        # Used for %date% placeholder.
        date-format:
          format: "dd/MM/yyyy"

    # Time interval for sending messages.
    time: 3

    # Time settings
    # Variables: ticks, second (or sec), minute (or min), hour (or h), custom
    # Example: 20 ticks = 1 second; 1 second = 20 ticks; 1 minute = 60 second; 1 hour = 60 minute
    # custom usage: "00:01:00" - this counts 1 minute and after it's taken then sending the message
    time-setup: min

    # Want to broadcast the messages in ordered or randomly?
    # Minimum 2 message needed to get a random message!
    random: false

    # Does the plugin send the sent auto-messages to console?
    broadcast-to-console: false

    # Run commands after sending auto messages.
    run-commands:
      # Usage: <commandSender>: <any command>
      commands:
      #- "player: baltop"
      #- "console: kit tools %player%"

    # Sound playback when broadcasting.
    # All sounds:
    # 1.9+: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
    # 1.8.x: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
    sound:
      enable: false

      # Example: 1.9+: ENTITY_EXPERIENCE_ORB_PICKUP; 1.8: ORB_PICKUP
      # Usage: SOUND_NAME, volume, pitch
      type: ENTITY_EXPERIENCE_ORB_PICKUP, 10, 1

    #=========================================#
    #             Plugin Settings             #
    #=========================================#
    # Check for updates.
    check-update: true

    # Download releases to \releases folder
    # This only works if the "check-update" is true.
    download-updates: true

    # Log plugin messages into console.
    logconsole: true

    # DO NOT CHANGE THIS!
    config-version: 6
    Bungee
    Code (YAML):
    # Enables broadcasting
    enable-broadcast
    : true

    # In what servers do NOT send a message?
    disabled-servers
    :
    #- testServer

    # The file that will contain the messages to broadcast.
    # Supports custom file types, such as .yml or .txt
    message-file
    : "messages.txt"

    # The minimal amount of players that has to be online for a message to broadcast.
    # Set 0 to disable this feature.
    min-players
    : 1

    # Placeholder formats
    placeholder-format
    :
      time
    :
       # Time zones: https://www.mkyong.com/java/java-display-list-of-timezone-with-gmt/
        time-zone
    : "GMT0"

        # Use system default time zone instead of searching for that?
        use-system-zone
    : false

        # Formats/examples: https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
        # Used for %server-time% placeholder.
        time-format
    :
          format
    : "mm:HH"
        # Used for %date% placeholder.
        date-format
    :
          format
    : "dd/MM/yyyy"

        # %title% placeholder to show the title in a message.
        title
    : "&c[&aAuto&9Messager&c] "

        # %suffix% placeholder to show the suffix in a message.
        suffix
    : ""

    # Time interval for sending messages.
    time
    : 3

    # Time settings
    # Variables: seconds, days, minutes, hours, milliseconds
    time-setup
    : minutes

    # Want to broadcast the messages in ordered or randomly?
    # Minimum 2 message needed to get a random message!
    random
    : false

    # Does the plugin send the sent auto-messages to console?
    broadcast-to-console
    : false

    # Plugin messages
    messages
    :
      index-start
    : "&cThe index number should be start from 0. You have to give a less number."
      added-text
    : "&aSuccessfully added:&r %text%"
      text-removed
    : "&cThe message successfully removed with index:&7 %index%"
      bad-number
    : "&cNumber must be 0 or higher!"
      reload-config
    : "&aThe plugin successfully reloaded!"
      no-permission
    : "&cYou don't have permission for this!"
      no-message-to-list
    : "&cThere is no message in the file."
      broadcast-message
    : "&a[&cBroadcast&a]&r %message%"
      toggle
    :
        enabled
    : "&aThe messages successfully turned on!"
        disabled
    : "&cThe messages successfully turned off!"
        no-players-available
    : "&cThere is no player available on the server."
        no-player
    : "&cThe player not found with this name."
        console-usage
    : "&cUsage:&7 /am toggle <player/all>"
      chat-messages
    :
     - "&8&l-----------"
      - "&7/&aautomessager reload&7 (or rl)&e -&6 Reloads the plugin and config."
      - "&7/&aautomessager toggle [player/all]&e -&6 Toggle auto message."
      - "&7/&aautomessager list&5 -&6 List messages."
      - "&7/&aautomessager broadcast&5 -&6 Broadcasting a message."
      - "&7/&aautomessager add <text>&5 -&6 Adds a text message to the file."
      - "&7/&aautomessager remove <index>&5 -&6 Removes a message by the given index."
      - "&8&l-----------"

    # DO NOT CHANGE THIS!
    config-version
    : 4
    What do these features mean in the configuration?
    Here you will find it. (Click)

    Sounds


    Dependencies

    - PlaceholderAPI (optional)
    • Adds ability to use placeholders, registered in this plugin.
    If you do not use PlaceholderAPI, here is the article about what it says: Click
    - Vault (optional)
    • Adds option to use per-group action messages.
    - Any permission plugin, including PermissionsEx (optional)
    • Adds ability to use perm: to send messages to player who have this permission.

    Does your JSON text not work? Check with this: https://codebeautify.org/jsonvalidator


    Todos
    - All file types support to be able to edit the file individually. (Not just a .txt file.) ✔ (Done)
    - Add BungeeCord support. ✔ (Done)
    - Add per world broadcast messages. ✔ (Done)
    - Add JSON text. ✔ (Done)

    Currently there is no idea what can be to add to the plugin. Maybe you have? Suggest it!
    PlaceholderAPI usage
    You must first enable the placeholderapi boolean in the plugin configuration to use.
    /papi ecloud download Player - Enables %player_name%,%player_displayname% etc. placeholder.
    /papi reload - Reloads the plugin and the cloud.
    More help: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
    Fhocus likes this.

Recent Updates

  1. v2.6
  2. Re-upload
  3. Improvements and additions

Recent Reviews

  1. Congress_
    Congress_
    2/5,
    Version: v2.6
    cool idea, the plugin was simple to use but one bug that irritates me is the fact that the plugin has issues with colors when using &. Also one mistake in the message file and you'll lose everything you type if you did not save it.
    1. Toldi
      Author's Response
      No support in the review section.
  2. Elguerrero
    Elguerrero
    5/5,
    Version: v2.5
    So good support and plugin :)
    -----------------------------------------------------------
  3. Emivg
    Emivg
    5/5,
    Version: v2.2
    Nice plugin working fine in 1.15!

    Author is nice and the support is really fast!
  4. Dogmaster6
    Dogmaster6
    5/5,
    Version: v2.1
    Amazing resource, perfect for my server. Keep up the good work! I don't see any problem with this plugin 10/10 would recommend.
  5. TheViperShow
    TheViperShow
    5/5,
    Version: v2.0
    Plugin has some potential, I hope author will keep updating it and if you want i can help you.
    1. Toldi
      Author's Response
      Do I make this plugin open-source?
  6. iceiceice
    iceiceice
    5/5,
    Version: v2.0
    The plugin has great potential. I was surprised that it fully meets my requirements! The plugin needs to be actively developed with the support of user reviews.
  7. Nacho4785
    Nacho4785
    1/5,
    Version: v2.0
    Lot of bugs, doesn't have per world option, works with delay on bungeecord, i do not recommend this, there are other plugins that can do better.
    1. Toldi
      Author's Response
      You're a man who don't know how to write to the Discussion menu. Lor of bugs? Just you don't know how to make per-world. On bungeecord the per-world not work? You don't know how works the bungee.

      Without joining my discord server or PM me, then you got problem and reviewing a bad review.
  8. Iwitrag
    Iwitrag
    1/5,
    Version: v2.0
    Very buggy
    - sometimes it doesnt show colors properly when using '&' symbol.
    - When using %newline% in suffix, it actually places new line but the text '%newline%' is still present.
    - Multiple newlines one after another are merged into one newline.
    - When reloading - it doesnt reload properly (only messages are reloaded, but not config.yml - like 'time' and 'time-setup' - they are not reloaded at all).

    Cannot recommend, there are better plugins than this.
    1. Toldi
      Author's Response
      Issues/suggestions may reported to GitHub.
  9. Alxen
    Alxen
    3/5,
    Version: v1.9
    I want to have multiple lines of information.
    What should I do?
    Can you update it?
    1. Toldi
      Author's Response
      Use \n placeholder
  10. Kaczuc
    Kaczuc
    5/5,
    Version: v1.9
    Hello, I have a question, how can I do a name that hides the link in itself after clicking on it opens the website?
    1. Toldi
      Author's Response
      Thanks for the review!
      Unfortunately, you can not hide the link from chat with JSON or anything.