AutoMessager v1.9

A plugin for sending auto-messages in custom file. (Per-world, 130+ symbols, json text)

  1. Toldi
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Contributors:
    montlikadani
    AutoMessager
    Version: 1.7.x-1.13.x
    Commands & Permissions | Config.yml | Placeholders | Messages.yml | Issues | Symbols
    Bukkit Link: Click


    I ask everyone to use the latest version, because I may have fixed that bug.

    Overview
    This plugin may be useful because it automatically sends messages from a specified file and can also set a specific time when to send the messages.​

    PLEASE DO NOT WRITE BUGS OR ERRORS IN THE REVIEWS!

    Currently under repair:
    - 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)

    Features

    Bukkit
    • PlaceholderAPI support (optional)
    • Custom editable message file
    • Run commands after send auto message (console & player) - v1.5
    • Minimum player to send the messages
    • Messages for time
    • JSON support (usage) - v1.8
    • Broadcast to console - v1.3
    • Unlimited messages
    • Per world messages (usage) - v1.9
    • Disabled worlds - v1.2
    • Sound in auto broadcast message
    • Disable messages when player afk - v1.9 (Requires Essentials or EssX)
    • Random broadcast messages
    • 130+ symbols - v1.7
    • Time setup (variables) - v1.2
    BungeeCord
    • 130+ symbols
    • Custom editable message file
    • Unlimited messages
    • Messages for time
    • Broadcast to console
    • Disabled servers
    • Random broadcast messages
    • Time setup (variables)
    Commands
    ( ) = command abbreviations

    < > = required arguments
    [ ] = optional argument
    ; = writes more to one place

    Bukkit
    - /automessager (or /am) - Main plugin info.
    - /am reload (or rl) - Reload the plugin.
    - /am disable - Disable the plugin.
    - /am clearall - Clear all message from the file. - v1.7
    - /am add <message> - Adds a message. - v1.5
    - /am remove (or rem) <file line number> - Remove the text from the file. - v1.6
    - /am list - List messages. - v1.2
    - /am broadcast
    (or bc) <message> - Broadcast message. - v1.2
    - /am help - Help commands.
    - /am toggle - Toggle auto messages. - v1.8

    Bungee
    - /automessager - Main plugin info.
    - /automessager reload (or rl) - Reload the plugin.
    - /automessager list - List messages.
    - /automessager disable - Disable the plugin.
    - /automessager toggle - Toggle auto messages.​

    Permissions
    Bukkit
    automessager.* - Allow all AutoMessager permissions. - v1.6
    automessager.reload - You can use the "/am reload" command. - default: op
    automessager.help - You can use "/am help" command. - default: varied
    automessager.plugindisable - You can use the "/am disable" command. - default: op
    automessager.add - You can use the "/am add" command. - default: false - v1.5
    automessager.remove
    - You can use the "/am remove" command. - default: false - v1.6
    automessager.clearall
    - You can use the "/am clearall" command. - default: false - v1.7
    automessager.plugininfo
    - You can use "/am" command. (This can be disabled in config.) - default: varied
    automessager.toggle - You can use the "/am toggle" command. - default: op - v1.1
    automessager.cmd.tabcomplete
    - You can use [TAB] after the command. - default: false - v1.1
    automessager.seemsg
    - Enables you to print auto broadcast messages. - default: true
    automessager.broadcast - Allows the player to use the "/am broadcast" command. - default: false - v1.2
    automessager.list
    - Allows the player to use the "/am list" command. - default: false - v1.2
    Bungee
    automessager.list
    - Allows the player to use the "/automessager list" command. - default: false
    automessager.reload - You can use the "/automessager reload" command. - default: op
    automessager.help - You can use "/automessager help" command. - default: varied
    automessager.disable - You can use the "/automessager disable" command. - default: op​

    How to install
    1. Open the plugins folder on your server.
    2. Put the AutoMessager.jar file into the plugins folder.
    3. Restart or reload the server.​

    Config
    Bukkit
    Code (Text):
    #=================================OOO====================================#
    #                   AutoMessager Configuration File                      #
    #=================================OOO====================================#
    # config.yml file. Plugin version: 1.9                                   #
    # Author, created by: montlikadani                                       #
    #=================================OOO====================================#
    # [Default configuration]                                                #
    # https://github.com/montlikadani/AutoMessager/blob/master/config.yml    #
    #                                                                        #
    # [Placeholders]                                                         #
    # https://www.spigotmc.org/wiki/placeholderapi-placeholders/             #
    #                                                                        #
    # [Other placeholders]                                                   #
    # https://github.com/montlikadani/AutoMessager/wiki/placeholders         #
    #                                                                        #
    # [Tips]                                                                 #
    # - Use color coding '&' character, on this page:                        #
    # http://minecraft.gamepedia.com/Formatting_codes                        #
    # # - If you find a bug, send here:                                      #
    # https://github.com/montlikadani/AutoMessager/issues                    #
    # - Use symbols in messages, on this page:                               #
    # https://github.com/montlikadani/AutoMessager/wiki/Symbols              #
    # - If the string is empty does not send the message.                    #
    #=================================OOO====================================#

    #=========================================#
    #         AutoMessage Settings            #
    #=========================================#
    # Enables broadcasting.
    enable-broadcast: true

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

    # Use JSON message in file?
    # Usage: https://github.com/montlikadani/AutoMessager/wiki/File-usage#json-message
    use-json-message: false

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

    # The messages.txt (you have entered here) can use special characters here:
    # https://github.com/montlikadani/AutoMessager/wiki/Symbols
    # The file that will contain the messages to broadcast.
    message-file: 'messages.txt'

    # 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

    # The %title% placeholder. You can enter this in the file.
    # Use %newline% placeholder.
    title: '&c[&aAuto&9Messager&c] '

    # The suffix of the sender. You can enter this in the file.
    # Use %suffix% placeholder in the file.
    suffix: ''

    # Time is the time between each message.
    time: 3
    # Time settings.
    # Variables: ticks, sec, second, min, minute h, hour
    # Example: 20 ticks = 1 second; 1 second = 20 ticks; 1 minute = 60 second; 1 hour = 60 minute
    time-setup: min

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

    # Broadcast to console.
    # WARNING! It does not show symbols and JSON message in the console.
    broadcast-to-console: false

    # Run commands after sending auto messages.
    run-commands:
      # Player commands.
      player:
        enable: false
        # Use %player%, %player-displayname%, %world% placeholder.
        commands:
        - 'baltop'
      # Console commands.
      console:
        enable: false
        # Use %player%, %player-displayname%, %world% placeholder.
        commands:
        - 'kit tools %player%'
        - 'bal %player%'

    # Sound playback when broadcasting.
    # All sounds:
    # 1.9.x-1.13.x: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
    # 1.8.x: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
    # 1.7.x: https://jd.bukkit.org/org/bukkit/Sound.html
    sound:
      enable: false
      # Example: 1.9.x: ENTITY_EXPERIENCE_ORB_PICKUP; 1.8: ORB_PICKUP
      type: ENTITY_EXPERIENCE_ORB_PICKUP
      volume: 10
      pitch: 1

    #=========================================#
    #             Plugin Settings             #
    #=========================================#
    # The AutoMessager plugin is disabled (false) or enabled (true).
    enabled: true

    # bStats Metrics.
    metrics: true

    # Check for updates.
    check-update: true

    # Log plugin messages into console.
    logconsole: true

    # Logging to file plugin messages.
    log-to-file: true

    # Plugin enable/disable messages in console.
    # Use %prefix%, %newline% placeholder.
    # >> NO supported the PlaceholderAPI! <<
    plugin-enable: '%prefix%&a The plugin successfully enabled&6 v1.9&a!'
    plugin-disable: '%prefix%&c The plugin successfully disabled!'

    # The default is allowed to see the plugin information.
    # Permission: automessager.plugininfo
    default-can-see-plugin-information: false

    # DO NOT CHANGE THIS!
    config-version: 3
    Bungee
    Code (YAML):
    #=========================================#
    #         AutoMessage Settings            #
    #=========================================#
    # Enables broadcasting.
    enable-broadcast
    : true

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

    # The messages.txt (you have entered here) can use special characters here:
    # https://github.com/montlikadani/AutoMessager/wiki/Symbols
    # The file that will contain the messages to broadcast.
    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

    # The %title% placeholder. You can enter this in the file.
    # Use %newline% placeholder.
    title
    : '&c[&aAuto&9Messager&c] '

    # The suffix of the sender. You can enter this in the file.
    # Use %suffix% placeholder in the file.
    suffix
    : ''

    # Time is the time between each message.
    time
    : 3
    # Time settings.
    # Variables: SECONDS, DAYS, MINUTES, HOURS, MILLISECONDS
    time-setup
    : MINUTES

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

    # Broadcast to console.
    # WARNING! It does not show symbols in the console.
    broadcast-to-console
    : false

    # Used for %time% placeholder.
    # Formats/examples: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
    time-format
    : 'dd/MM/yyyy'

    # Plugin messages.
    messages
    :
      reload-config
    : '&aThe plugin successfully reloaded!'
      no-permission
    : '&cYou don''t have permission for this!'
      plugin-disabled
    : '&cThe plugin successfully disabled!'
      no-message-to-list
    : '&cThere is no message in the file.'
      toggle
    :
        enabled
    : '&aThe messages successfully turned on!'
        disabled
    : '&cThe messages successfully turned off!'
        no-player
    : '&cThere is no player available on the server.'
      chat-messages
    :
     - '&8&l-----------'
      - '&7/&aautomessager reload&7 (or rl)&e -&6 Reloads the plugin and config.'
      - '&7/&aautomessager toggle&e -&6 Toggle auto message.'
      - '&7/&aautomessager disable&e -&6 Disable the plugin.'
      - '&7/&aautomessager list&5 -&6 List messages.'
      - '&8&l-----------'

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

    Placeholders
    Bukkit
    Config.yml file
    %prefix% - Plugin prefix
    %newline% - Adds a new line.
    %player% - Player name - v1.5
    %player-displayname% - Player display name - v1.5
    %world% - World name - v1.5
    Messages.yml file
    %prefix% - Plugin prefix
    %command% - What you type is a command, it will write.
    %newline% - Adds a new line.
    %subcmd% - Sub command
    %word% - Removed word - v1.6
    %args% - Sub command argument
    %message% - Broadcast message - v1.2
    %perm% - Permission
    Messages.txt (or other)
    %title% - Prefix title that in the config set. - v1.1
    %prefix% - Plugin prefix
    %suffix% - Suffix that in the config set. - v1.6
    %newline% - Adds a new line. - v1.6

    Bungee

    bungeeconfig.yml file
    %newline% - Adds a new line.

    Messages.txt (or other) file
    %time% - Current server time
    %server% - Current server name
    %server-online% - Online player on server
    %title% - Prefix title that in the config set.
    %suffix% - Suffix that in the config set.
    %ip% - Player IP address
    %player-language% - Player current language
    %player-name% - Player name
    %newline% - Adds a new line.
    %display-name% - Player display name
    %ping% - Current ping of player
    %ram-used% - Server ram used
    %ram-free% - Server ram free
    %ram-max% - Server ram max
    %player-uuid% - Player UUID
    %game-version% - Current game version
    %bungee-online% - Bungee online
    %bungee-motd% - Current bungee motd
    %player-country% - Player country

    PlaceholderAPI placeholders: https://www.spigotmc.org/wiki/placeholderapi-placeholders/
    These placeholders are not for all of the features!

    Sounds

    Dependencies
    - PlaceholderAPI (optional)
    If you do not use PlaceholderAPI, here is the article about what it says: Click


    More
    Minecraft 1.7.x-1.8.x-1.9.x-1.10.x-1.11.x-1.12.x-1.13.x versions, 1.6.x Does not work anymore!
    1.7.x version bug: Console does not display colors.
    View full changes log: Click

    You can not download it? Here is the link to download: Click

    Images
    [​IMG]
    PlaceholderAPI usage
    /papi help - PlaceholderAPI help.
    /papi ecloud list all <page number> - Lists all the plugins for downloadable plugins.
    /papi ecloud download Player - Enables %player_name%,%player_displayname% etc. placeholder.
    /papi reload - Reloads the plugin and the cloud.
    More help: https://www.spigotmc.org/wiki/placeholderapi-placeholders/

Recent Reviews

  1. 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.
  2. agentcru
    agentcru
    4/5,
    Version: v1.6
    Only one thing you could do better:
    Add letters that exist only in certain languages such as ä, ö, ü, ß ...
    If you would do this the Plugin will be perfect!!!

    Best regards
    agentcru
    Oriam Owner
    1. Toldi
      Author's Response
      I will not do this because it is very simple to copy or enter the ALT code and complete.
  3. agentcru
    agentcru
    3/5,
    Version: v1.5
    Hey the plugin is good, but I would like to have the placeholder %newline% in the messages.txt file too.
    1. Toldi
      Author's Response
      I'll update the plugin soon and it'll be there.
  4. -BeefSoup-
    -BeefSoup-
    5/5,
    Version: v1.5
    Amazing plugin but there are some bugs, The toggling of messages does not seem to be working great atm but im sure over a few more updates it will be fixed!

    Highly recommend this plugin though!
    1. Toldi
      Author's Response
      Thanks for the review!
      Thank you for reporting it! I'll see what I can do.
  5. Ricozaur
    Ricozaur
    5/5,
    Version: v1.3
    Really good and easy to use plugin, but very underrated.
    This plugin deserves more attention, it's better then any other AutoMessage plugin i found!
    Using this on my minecraft server right now and it works perfectly.
    1. Toldi
      Author's Response
      Thanks for the review!
      There will be an error with the list command, but I have already fixed it and will soon be upgraded.
  6. AztecWalker
    AztecWalker
    5/5,
    Version: v1.2
    What a great plugin!!
    Works perfectly on 1.12 !!!
    No bugs founded..
    The autor is fast responding to help..